- If I choose to leave this up to WP, what should I actually put in wp-config.php?
Sounds like something you can easily find out. My guess: if you don’t have the define('AUTH_KEY', ..)
etc. statements, the system will not work.
- Some sources (this SO answer, for example) appear to state that putting the keys and salts in wp-config.php is “more secure” than using the database version.
With clever SQL injections it is possible to read data from the DB, even if I don’t have direct access to it. So all I need to get the keys is one plugin that has a SQL vulnerability and I can get them.
If I store part in the filesystem and part in the DB, just access to information from the DB is not sufficient anymore.
As suggested in the other answer, just use WP’s generator or any of the other ones (e.g. this from roots.io) and supply these keys differently for each site that you spin up.
Related Posts:
- Is moving wp-config outside the web root really beneficial?
- Prevent access or auto-delete readme.html, license.txt, wp-config-sample.php
- Where to securely store API keys and passwords in WordPress?
- Why are passwords exportable as plain text in WordPress?
- How is password strength calculated?
- Generate WordPress salt
- Make password invalid once logged out of password-protected page
- Garbage in beginning of wp-config.php – was this WP installation compromised?
- Can’t reset WordPress password
- Is the “lost password” feature truly a vulnerability?
- Frontend Password change
- Is it possible to reduce the minimum character length for passwords?
- How does the “authentication unique keys and salts” feature work?
- Securing wp-config leads to sensitive information leak on wp-settings
- What’s the point of forbidding access to wp-config.php?
- Where to store OAuth 2.0 client id and secret?
- When is wp_set_password() called or how to capture a password
- Moving away from MD5: Where to declare the custom global $wp_hasher?
- How to get WordPress to send Password Reset Link Email instead of New Password?
- Config file with no Keys..?
- Basic password protection without using users and roles
- White screen of death on admin pages after moving wp-config up two levels for security
- How can I force a specific password?
- Storing FTP details in wp-config.php
- Can a WordPress administrator see other users’ passwords?
- My Site keeps crashing due to the wp-confg file being deleted
- Moving wp-config.php outside root folder where we have multiple wordpress websites for enhanced security [duplicate]
- How to change location of wp-config.php to folder or 2 folders up?
- Adding Security Keys?
- Remove hacked code – out of ideas! [closed]
- Secret keys in SCM
- After limiting the access to my wp-login.php by IP through .htaccess, all my password-protected posts stopped working. What’s the best solution now?
- wp-config.php moved above root results in no plugin updates
- Password-protect feed and make it usable in major aggregators
- wp-config.php file and code injection
- Malware/Permission bug removal?
- Could a user account with a stolen password compromised entire WP site?
- How to set custom validation for WordPress Passwords?
- Default installation permissions for wp-config.php
- Is my WP site being hacked?
- How to get real password (before encrypt) when register a user?
- Move data from wp-config to another file
- Directory to store secure file
- Can you alter the default wordpress strong password requirements?
- what is a auth_user_file.txt?
- Best way to eliminate xmlrpc.php?
- If a hacker changed the blog_charset to UTF-7 does that make WordPress vulnerable to further attacks?
- Which KSES should be used and when?
- Disable comment windows for all existing posts (pages/blogposts)
- Stop wordpress automatically escaping $_POST data
- how can i embed wordpress backend in iframe
- Handling nonces for actions from guests to logged-in users
- Can I force a password change?
- What is pclzip.lib.php file that wordfence think it’s a malicious code
- How to disable XML-RPC from Linux command-line in a total way?
- How to remove javascript malware in wordpress site [closed]
- Completely remove the author url
- Securing my WordPress Files and Directories
- Single sign-on: wp_authenticate_user vs wp_authenticate
- How to allow internal links using wp_kses filtration
- How does Cross Site Scripting (XSS) work exactly? [closed]
- Password protect a specific category page/post
- vs WordPress Security
- esc_html__ security : what for in this example?
- Using HTACCESS for Secret Access
- Definitive wordpress directory ownership and permissions on linux
- How do I protect user_activation_key?
- wordpress website host price and security [closed]
- Are there security risks in working directly in the themes folder that builds into a theme folder?
- how much information can we hide when using wordpress cms?
- System setting changed by system user
- Does meta-data need to be sanitized?
- Need help for WordPress User Session Management?
- Specific way to allow WordPress users to view their current password? And edit it?
- Are SVG image files safe to upload? Why WP defines them as a security risk? [duplicate]
- Security issue with ‘paged’ and ‘posts_per_page’ parameters taken directly from a POST request?
- How to prevent to direct access of my custom plugin folder/files
- Checking for origin of a xmlrpc request
- RESTRICT EDIT of PHP files?
- wp-content – permissions for files/folders created by apache
- How can I restrict access to specific parts of a page, not just the page itself?
- Using password protection to load different page elements?
- User generated content and security
- Monitor wordpress all external calls
- Securing WordPress running on Azure platform
- Spam Registrations
- How can I have more confidence that WP plugins aren’t getting and storing user data?
- Standard Method for Securing a WordPress Site
- Avoid ‘uploads’ 777 permissions: Potential threat or clean solution?
- Any way to disable /wp-login.php redirecting to the site folder?
- Folder Permissions + Security Concerns
- Step by Step Instructions for Making Media/Uploads Private to Only Logged-In Users
- Secure a WordPress website in 2019: one plugin or a combinations of them?
- What are the different types of firewall protections available for a WordPress website?
- Is this a WordPress security bug?
- Competitor is somehow accessing MetaData on a hidden WordPress site
- WordPress Hacks/Defacing [closed]
- SSH keypair generation: RSA or DSA?
- How do I protect my company from my IT guy? [closed]
- Does changing default port number actually increase security? [closed]