Skip to content

Commit

Permalink
Improvements to .htpasswd for wp-admin
Browse files Browse the repository at this point in the history
  • Loading branch information
dlh01 committed Sep 10, 2012
1 parent 13b40e0 commit e16ea02
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion wordpress/wp-admin/.htaccess
Expand Up @@ -14,9 +14,15 @@

# Optionally require a second username and password to access the Dashboard
# http://blog.sucuri.net/2012/07/wordpress-and-server-hardening-taking-security-to-another-level.html
# http://build.codepoet.com/2012/07/10/locking-down-wordpress/
# learn more: http://httpd.apache.org/docs/2.2/howto/auth.html#gettingitworking

# AuthUserFile /var/www/mysite/.htpasswd
# AuthName "Restricted area"
# AuthType Basic
# require user myuser2
# require valid-user
# <Files admin-ajax.php>
# Order allow,deny
# Allow from all
# Satisfy any
# <Files>

0 comments on commit e16ea02

Please sign in to comment.