BareMetal.com

Baremetal
My Account
Domain Registration Management Services
Web Services
Rates and Specs
Bulk Rates
CGI Library
FAQ
Order Form
Tech Support
Billing Info
Company Info
Charities
Legal Info
Employment
Privacy Statement

BM


Web Services

.htaccess Access Control;

Return to CGI Library
Return to htaccess

Sad but true: There often comes a time when the "open" nature of internet becomes a problem. This can be by accident (a badly behaving robot) or on purpose (someone attacking a banner network). In either case, the first level response is the same: block access with your .htacccess file :-).

This isn't meant to be a full fledged tutorial, but a quick example of the more common needs.

The most common scenario is where you want everyone except a few visitors to be able to get to your site. Your .htaccess file would start like this:

	order allow,deny
	allow from all

Then you follow that with lines to specify the addresses that you want to block:

	deny from 192.168.128.14

	deny from 192.168.128.

	deny from somehost.example.com

	deny from .example.com


 
Home Page    Domain Registration Services    Web Services    Technical Support
About Baremetal    Privacy Statement    Billing Info    Charities
My Account    Legal Info    Search BareMetal

Copyright © 1996-2012, BareMetal.com Inc.
Last updated: Thursday, 28-May-2015 16:15:04 PDT
Last Accessed from: 5.181.190.175
Questions and comments to support@baremetal.com