Hello to all. This is my issue: I created several directories with pictures in one domain. In another domain i created links pointing to my picture´s folders. I want to only allow access to those folders if the person comes from the links i mentioned. I don´t want type-in access to those folders. I tried some hotlink protection with .htaccess, but they don´t protect from type-in. Any suggestions? Thanks a lot guys.
my only suggestion would be to create a script that uses php to generate the image and add refferal if statements to it. And i believe u and do some crafty htaccess work to block all access except for ones with your specific refferal. Have u tried this? RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)?mydomain.com/.*$ [NC] RewriteRule \.(gif|jpg|js|css)$ - [F] Code (markup):
yea i think the best way to go is creating the php script that calls the images ... but if the refferer is not the one you want do something else.