Visitor IP Banning: How to using .htaccess
The below form generates the appropriate .htaccess code to ban visitor(s) from your site based on their IP address. You can enter a partial IP address (see “Valid Entries” below) to catch all IP addresses that contain the partial IP within it. Separate each IP address with a line break, so each IP occupies its own line.
Add the below code to your .htaccess file (blank or existing), and upload to your root web directory:
## USER IP BANNING
<Limit GET POST>
order allow,deny
deny from 42.12.5.34
deny from 193.110.145.185
deny from 212.173.53.
deny from 69.242.
allow from all
</Limit>
Deny browser access to generated .htaccess file. Not necessary unless .htaccess file is uploaded to a web accessible directory on your site AND server isn’t configured to disable browser access to it (most servers are).
Done !
Random Post
Related Articles
- Warning hack password Yahoo mail !
- Mechanisms against Spam Mail
- IPSEC - Public Key Infrastructor
- Tutorial: IPSec Security structure
- WordPress enhanced login security plugin
- How to protect login on Wordpress admin ?
- How to surf website by VPN
- Secure Sockets Layer (SSL)
- Secure Sockets Layer (SSL)
- Software for Virtual Private Network
Recent Posts
- Free Panda Internet Security 2010: Windows 7 Launch Party
- FREE 1-year license of Kaspersky Internet Security 2010!
- Warning hack password Yahoo mail !
- How to Use Western Union quick cash at Google Adsense ?
- Western Union available in VietNam
- Facebook for Nokia phones
- DailyMotion now offering Embed HD Video Players
- Free Adword voucher $50
- How to create Shortlinks with Google Apps
- Auto post to Blogger with PHP
- Free Auto Blogger: Auto post rss feed
- The Google Analytics API and PHP
- Using the Google Analytics API - getting total number of page views
- Google Analytics PHP API class
- Blogger team warning Spam posts
- Adsense launching “Category filter Beta”
- Alternatives to Google Adsense by other programs
- What is Adsense Smart Price ?
- How to avoid Adsense Smart Pricing ?
- How to use Adsense again if get banned
Recent Comments
- Patrik
in Warning hack password Yahoo mail ! - Nancy
in Auto post to Blogger with PHP - Tony M J
in DailyMotion now offering Embed HD V… - fonfenVak
in Enable Ping track in wordpress - DaiVyCorp - Int…
in My Google AdSense Account Is Disabl… - DaiVyCorp - Int…
in My Google AdSense Account Is Disabl… - AlexAxe
in VPN Protocols - jennefoh
in Make more money: YouTube Videos Com… - GlenStef
in VPN Protocols - DaiVyCorp - Int…
in Why should I use proxy servers ?
Most Commented
- Top 10 ways to boost alexa ranking (4)
- How to Boost Alexa Ranking (4)
- VPN Protocols (4)
- Make more money: YouTube Videos Coming to AdSense (2)
- My Google AdSense Account Is Disabled (2)
- Top 10 secrets success with business online (1)
- SEO with Site Address / URL (1)
- Free Ways to Increase Your Blog Traffic (1)
- How to SEO wordpress, The Complete Guide (1)
- Manual Unzip Server Command (1)
Most Viewed Post
- Top 10 ways to boost alexa ranking - 1,582 views
- Invalid Clicks Contact Form: How to contact to Google Adsense support Team - 1,184 views
- Adsense launching “Category filter Beta” - 1,177 views
- Auto post to Blogger with PHP - 1,146 views
- How to SEO Copywrite - 1,111 views
- Tutorial: IPSec Security structure - 1,108 views
- SEO with Site Address / URL - 1,009 views
- Free Auto Blogger: Auto post rss feed - 948 views
- How to Prevent Spam VBB with GeoIPCountry - 883 views
- How to Use Western Union quick cash at Google Adsense ? - 876 views
Categories
- How to (51)
- SEO (33)
- Google adsense (31)
- Business land (13)
- Security Policies (21)
- Tips (26)
- Technology news (7)
- Traffic guide (9)
- Top secrets MMO (6)
- Tutorials (10)










No Comment
Leave Your Comments Below