Web Development Network  |  Sites:    Webmaster Resouces    Capital Tutorials    Arcade Games
Depiction- Webmaster Resources
Stock Image


Contributors: Free Flash Tutorials  |  Budget Web Hosting  |  Best SEO Company  |  BlueHost

Best Web Hosting  |  BlueHost Review  |  Best Web Hosting  |  Hosting Reviews


Misc Links: Submit Tutorials (Earn $$) l Advertising l Privacy Policy | Site Map

Tutorials > .htaccess > IP Banning

 

Ban a visitor from visiting your site by banning their IP address.


1. Make a new text file and name it .htaccess or open one you already have.

2. Find out the person's IP address and substitute it for 000.000.000.000.


To deny access..
deny from 000.000.000.000

To allow access..
allow from 000.000.000.000

To ban everyone..
deny from all

To add more press enter and copy the code and change the IP.

Then upload it to your root directory or the specific directory you want to use these settings for.


NOTE: Uploading to the root directory will override .htaccess files in specific folders.

 
 

Affiliates

Caged Flame Photoshop Tutorials
Tutorial Man Wallpaper Stock  More

Resources


Fluid Mask