Your Ad Here

IP Banning


Image from Hosting Services: IP Banning

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.

Author's URL: Depiction.net
Thank you for voting.
Rate this Materials:
Bad 
1 2 3 4 5 Excellent
print this page subscribe to newsletter subscribe to rss

Read about the most important web services: web promotion, domain registration and website hosting. All web developers need this website maintenance stuff. More Site Maintenance: Most Popular Materials | Fresh Materials | Website Templates

Add comments to "IP Banning"

Only registered users can write comment

Reader's comments