Forum Moderators: phranque

Message Too Old, No Replies

Deny from certain ISP but let password in

         

donnalorr

10:30 pm on Jan 29, 2006 (gmt 0)

10+ Year Member




I have created a password-protected area using htaccess. I am denying all access except for one certain ISP, however, I want to allow access to those having have a password. Is there a way to do this using the htacess file? I have poured over forums and help files on htacess, but can't figure it out. Thanks for the assistance...

jdMorgan

10:59 pm on Jan 29, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



donnalorr,

Welcome to WebmasterWorld!

The key elements are:


Require valid-user
Deny from 192.168.0.1
Satisfy any

See "Access control" in Authentication, Authorization, and Access Control [httpd.apache.org].

Jim