I'm trying to avoid direct links from other sites to my site's downloadables.
My exe,zip and msi files are under /files directory. How can I avoid direct links to them?
Thanks in advance...
I'm trying to avoid direct links from other sites to my site's downloadables.
My exe,zip and msi files are under /files directory. How can I avoid direct links to them?
Thanks in advance...
Add the following to a .htaccess file in your /files directory
Change "mysite.com" to your domain and /images/nohotlink.jpg to an image you wish to display telling users hotlinking is not allowed.
For more detailed information check out:
http://altlab.com/htaccess_tutorial.html