Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

allow access to admin directory by only 1 ip adress?


Berkz

Recommended Posts

Yes it is possible.

modify your httpd.conf file

add following lines:

 

<Directory "/var/www/html/catalog/admin/">

Order deny,allow

deny from all

allow from [single IP address here]

allow from aaa.bbb.ccc.ddd/24 [allowing a block of external IP address]

allow from 192.168.1.0/24 [allowing a block of internal IP address]

</Directory>

Joe

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...