Welcome to WebmasterWorld Guest from 220.127.116.11 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
htaccess? showtime msg:1498399 9:58 pm on Sep 14, 2002 (gmt 0) Is it possible, using htaccess (or any other method), to require a valid user name/password for access to a page, unless the I.P address falls within a particular range, in which case the u/p requirement is bypassed?
txbakers msg:1498400 1:11 pm on Sep 16, 2002 (gmt 0)
I don't think you can have it both ways. I would experiement with placement of the htaccess file and set up a range to test. jatar_k msg:1498401 5:38 pm on Sep 16, 2002 (gmt 0)
you could do this with php. Check to see if the IP is in the given range and if not, send them to a login page or use $PHP_AUTH_USER and $PHP_AUTH_PASS to generate a htaccess type popup.