Title: HTTP Authentication
Last modified: June 6, 2018

---

# HTTP Authentication

 *  [daveshawcios](https://wordpress.org/support/users/daveshawcios/)
 * (@daveshawcios)
 * [8 years ago](https://wordpress.org/support/topic/http-authentication-2/)
 * I have a development version of my main website that I want to conceal from the
   rest of the world. I have added the following to the head of my .htaccess file:
 * AuthName “dev”
    AuthUserFile “/home/somewebsite/.htpasswds/public_html/passwd”
   AuthType Basic require valid-user
 * However no challenge appears. If I remove the iThemes security section from .
   htaccess then the correct challenge appears.
 * It seems that the HTTP auth stuff conflicts with the following iThemes stuff :
 *  <IfModule mod_authz_core.c>
    <RequireAll> Require all granted
 *  <IfModule !mod_authz_core.c>
    Order allow,deny Allow from all
 * Is there a workaround ?
 * Thanks

Viewing 1 replies (of 1 total)

 *  [nlpro](https://wordpress.org/support/users/nlpro/)
 * (@nlpro)
 * [8 years ago](https://wordpress.org/support/topic/http-authentication-2/#post-10380505)
 * What happens when you put the ‘Require valid-user’ line inside the **RequireAll**
   container directive ?
 * Do note I’m assuming you are using Apache 2.4.x. If not please ignore this post.

Viewing 1 replies (of 1 total)

The topic ‘HTTP Authentication’ is closed to new replies.

 * ![](https://ps.w.org/better-wp-security/assets/icon.svg?rev=3529351)
 * [Kadence Security – Password, Two Factor Authentication, and Brute Force Protection](https://wordpress.org/plugins/better-wp-security/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-wp-security/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-wp-security/)
 * [Active Topics](https://wordpress.org/support/plugin/better-wp-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-wp-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-wp-security/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [nlpro](https://wordpress.org/support/users/nlpro/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/http-authentication-2/#post-10380505)
 * Status: not resolved