Link to home
Start Free TrialLog in
Avatar of cbccts
cbccts

asked on

.htaccess .htpasswd: Can you allow an ip range access w/o having to login, while everyone else will need to login?

I have a website that sits in our DMZ, i want to use a .htaccess file require username/passwd to view the site from the internet; however, if you are apart of our internal address scheme, I'd like it if you didn't have to login.

Is this possible?
ASKER CERTIFIED SOLUTION
Avatar of theShao
theShao

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You'll have to grad access for a specific ip address range like
Satisfy any
Order deny,allow
deny from all
allow from 192.168

Open in new window

Avatar of cbccts
cbccts

ASKER

Thanks a lot!