Comments (1)
I asked VIP, and this is what their support agent said:
Yes, the default post password function included in WordPress works as expected on VIP, as it sets a
wp-postpass_{hash}
cookie in the user's browser:https://codex.wordpress.org/Using_Password_Protection#Password_Protected_Posts
The
wp-postpass_*
is an insecure password stored in plain text in the database. It is meant to be shared with other users, retrievable, and modifiable. Post passwords are not intended to be secure authenticators; for that WordPress has private posts that require full authentication. While the post password is not stored in plain text in the cookie, a hashed version is.The password-protected content workflow looks like this:
WordPress serves the password form
Password is submitted via POST to/wp-login.php?action=postpass
WordPress talks to the DB and confirms the password matches
Thewp-login.php
page drops a cookie that starts withwp-postpass_
, which has a salted version of the post ID and the password, eg.wp-postpass_****=****
Thewp-login.php
request returns a 302 header which redirects back to the password-protected page
The cookie is what validates that they can access the content, and requests with a valid cookie get anx-cache: PASS
header for that password-protected page to prevent the content from being cached.
from 10up-experience.
Related Issues (20)
- Test against WordPress 5.9 HOT 2
- 10up SSO Button Doesn't Appear When 10up Exp Plugin Activated Per-Site HOT 1
- 10up-experience's SSO infinite redirect loop HOT 1
- 10up SSO button disappears after upgrading to PHP 8.1 HOT 3
- Bump version for plugin update checker dependency HOT 1
- Notification for Object Caching
- Incorrect Role Fallback HOT 1
- Fatal error on login screen: Uncaught TypeError: rawurlencode(): Argument #1 ($string) must be of type string, array given
- Autoloaded or big options can be problematic for Redis/Memcache object caches
- Provide more information in the Password Protected Posts warning
- PHP 8.1/8.2 Compat HOT 3
- Add more common usernames HOT 2
- 'Admin Color Scheme' for Production environments HOT 2
- How do I disable the 10UP login "enhancement"? HOT 1
- Update footer links to use https
- Feature Request - Disable comments and comments UI HOT 1
- When deployed on WordPress VIP, duplicate plugin update messages are visible in the network admin
- Define Support Monitor options with constants inside wp-config
- "Production" Warning Appearing in "Non-Production" Environment
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 10up-experience.