HostMonster anti-navigating to www.sina.com.cn. how are the job?

A: Under normal circumstances, you can set a password for the directory to prevent others from unauthorized access. If you do not want a folder of some documents directly invoked by others. Through Apache's. Htaccess to set up.

Typically, when the browser shows a picture, before it is sent to the web server request shows the request of the picture, and that this request may have come from a page in the picture link. By setting the environment variable, that is an extra tag, locally_linked, to permit the requested URL address. Popular understanding is that you give some authorized agents to sell your product. Which are authorized by URL, that can get your documents, such as pictures. Not in the list of the URL address of the request would not set the environment variable (locally_linked), and thus are not authorized to access the corresponding documents. Must be noted that the following example, when the direct URL access through the document, it will also set the environment variable, the majority of the proxy server will hide the original URL address of the request.

Quote:

SetEnvIfNoCase Referer "^ http://www.your-domain-name-here.com/" locally_linked = 1
SetEnvIfNoCase Referer "^ http://www.your-domain-name-here.com $" locally_linked = 1
SetEnvIfNoCase Referer "^ http://your-domain-name-here.com/" locally_linked = 1
SetEnvIfNoCase Referer "^ http://your-domain-name-here.com $" locally_linked = 1
SetEnvIfNoCase Referer "^ $" locally_linked = 1

Order Allow, Deny
Allow from env = locally_linked