Sierra_8561 Posted June 3, 2004 Share Posted June 3, 2004 Is it possible to ban a IP from entering os commerce site?? I am totally a newbie at this please help Thanks Link to comment Share on other sites More sharing options...
peterr Posted June 3, 2004 Share Posted June 3, 2004 Hi, Is it possible to ban a IP from entering os commerce site?? I am totally a newbie at this please help Yes, simply add this line in the file .htaccess in your web root path deny from ip.add.re.ss where "ip.add.re.ss" is obviously the IP address you want to ban. However, be careful, if you are absolutely certain that the IP is an individual or only coming from (for example) one domain, then it is usually okay. But, if the IP is from an ISP, you may potentially block out thousands of people, for example dialup connections sharing the same IP address. Peter Link to comment Share on other sites More sharing options...
Jack_mcs Posted June 3, 2004 Share Posted June 3, 2004 Is it possible to ban a IP from entering os commerce site?? I am totally a newbie at this please helpThanks There is a contribution called BanIP that works for all hosts (only Apache servers use .htaccess). Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.