· Show all categories
· New Customer FAQs
· FTP - File Transfers
· SSH and Telnet
· Scripting Languages
· Password Protection
· Power Tools
· FAQ Home
· EchoEcho+ Support
Password Protection: Deny access from certain IP's
You can deny certain IP's from accessing your pages.
This is done with a .htaccess file like this:
deny from 188.8.131.52
deny from 012.34.5.
allow from all
You can deny access based upon IP address or an IP block. The above blocks access to the site from 184.108.40.206, and from any sub domain under the IP block 012.34.5. (012.34.5.1, 012.34.5.2, 012.34.5.3, etc.)
A .htaccess file is a plain text file named ".htaccess".
Create the file using a very simple editor that doesn't add any formatting to the file.
Do not use complex editors like "MS Word" but rather a simple editor like "NotePad" available on most Windows systems.
Make sure that you transfer the .htaccess file in ASCII mode (or "plain text" mode) when you upload it with FTP.
Last update: 12.07.2009, 21:18
Author: EchoEcho Support
You cannot comment on this entry | Content Overview: Password Protection