[Typo3-dev] restrict viewers by IP

Arne Skjaerholt skjaerho at cpi.no
Wed Oct 20 17:10:51 CEST 2004


> Is it possible to restrict who can view certain pages according to their 
> IP address/address range?
.htaccess is your best friend (assuming apache server). Stuff this in
the directory you want to restrict:

Order Deny,Allow
Deny $IP_net_or_hostname

See http://httpd.apache.org/docs/mod/mod_access.html for Apache-1.3 or
http://httpd.apache.org/docs-2.0/mod/mod_access.html#deny for Apache-2

Arne
:wq





More information about the TYPO3-dev mailing list