htaccess - Allow IP AND password?

Discussion in 'Apache' started by xxKillswitch, Jan 31, 2008.

  1. #1
    Hello all,
    I am using htaccess to lock sensitive areas on my site down with htaccess allowing only my IP to get through...

    AuthUserFile /dev/null
    AuthGroupFile /dev/null
    AuthName "Example Access Control"
    AuthType Basic
    <LIMIT GET>
    order deny,allow
    deny from all
    allow from **.***.***.***
    </LIMIT>

    Can I also have it password protected so that even though my IP matches I still need to provide a username and password??

    Thanks.
     
    xxKillswitch, Jan 31, 2008 IP
  2. Dan-Brogan

    Dan-Brogan Peon

    Messages:
    59
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    have you tried password protecting the directory as well as only allowing your ip?
     
    Dan-Brogan, Jan 31, 2008 IP