Restricting Access by Banning IP Addresses?
Date: 03/28/06
(WebDesign) Keywords: php, html
I have some server space on a shared server running PHP on a Unix server.
I can set up password-protected folders using the usual .htaccess files. I can also ban by IP address from within phpBB and vBulletin so that accessing the message boards is prohibited.
But what of blogs and other HTML pages on the site?
I'd like to be able to have open, unrestricted access for everyone apart from those using a specific set and range of IP addresses. Is there some way of accomplishing this without requiring everyone else to somehow authenticate themselves?
Source: http://community.livejournal.com/webdesign/1085757.html