Jump to content

What is the Anti Embedding code


Firewire

Recommended Posts

I came across link in a web page that when clicked it opened a Unauthorized Access warning that does not allow a url in a different page to show the image. But when I put the link directly in the browser, I could access the image.I would like to know what code that is to protect my images from being direct linked to other sites.

Link to comment
Share on other sites

You could also fiddle around with file permissions and the PHP $_SERVER['REFERRER'] variable.

Link to comment
Share on other sites

Does your Hosting service offer Hotlinking Protection? check the Hosting Control Panel for that feature, but all it does is write the information to your htaccess file, so learn that approach...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...