I do not like to allow visitors to my website to download .swf, eot, .ttf etc. files. Visitors use link like: http://mywebsite.com/files.eot to get the file, though I have no direct donload link for them. How can I block them?
mizanbdit said:I do not like to allow visitors to my website to download .swf, eot, .ttf etc. files. Visitors use link like: http://mywebsite.com/files.eot to get the file, though I have no direct donload link for them. How can I block them?
Ian Cunningham said:You can create ".htaccess" rules if you are using linux hosting, which can deny people who try to hotlink to files. You'll need to google for htaccess for more information though, as it's quite complex
Madxgraphics said:Google is always a good place to start....
http://httpd.apache.org/docs/1.3/howto/htaccess.html
http://www.htpasswdgenerator.com/apache/htaccess.html
http://www.reallylinux.com/docs/htaccess.shtml