A user is accessing our website and we'd like to block this user as they continue to submit fraud orders, or steal graphics etc. While we're at it, how do we block an entire IP Range to prevent other users in the same IP Block?
To block an IP number you will need to edit the .htaccess file on your site. If you do not have an .htaccess file created, you can create one by making a text file and uploding it to your /public_html folder in your site.
In the file you will place the following information
order allow,deny
deny from 66.98.125.225
allow from all.
In this example we are blocking the IP number 66.98.125.225
If you want to block a RANGE of IP numbers, you can use the following:
order allow,deny
deny from 66.98.125.222-240
allow from all.
This will DENY access to anyone with the IP numbers 66.98.125.222 through 66.98.125.240. You can also do a "deny from 66.98.125" and don't put the 4th set of numbers. This will block 66.98.125.1-255 Likewise you can do 66.98 or just 66.
Please be careful on the blocking of IP numbers as you can block out whole countries by setting up a range of IP numbers. Many times it's best to post individual IP numbers, but if you require a range, the above example would be how to accomplish it.
- Home
-
Store
- Browse All
- MLH-Share
- Shared Hosting
- USA Shared Hosting
- Clustered Hosting
- Cloud Vps Hosting
- Cloud Reseller
- Reseller Hosting USA
- Germany-Reseller
- Uk Reseller Hosting
- Hong Kong Reseller
- Singapore Reseller
- AUSTRALIA RESELLER
- JAPAN RESELLER
- SOUTH AFRICA
- NetherLand
- KVM VPS server
- OpenVZ VPS Server
- VPS-Cloud
- WINDOWS VPS Server
- Windows Remote - Desktop
- USA-Remoted-Desktop
- Uk Cpanel Vps
- Singapore Cpanel Vps
- VPS Reseller
- USA Dedicated Server Plans
- Canada Dedicated Server
- Germany
- Server bidding
- Uk Europe Dedicated Servers
- Singapore Dedicated Servers
- Unmanaged Server
- Special Offer
- Order Dedicated IP
- 1 days trial vps
- Web Design
- WordPress Hosting
- SSL Certificates
- Email Spam Filtering
- HK-VPS Server
- PHP scripts licensed
- hasnatint
- mlh-share-usa
- SSL Certificates
- Website Security
- Website Backup
- VPN
- SEO Tools
- Register a New Domain
- Transfer Domains to Us
- Announcements
- Knowledgebase
- Network Status
- Affiliates
- Contact Us
-
More