The Little Guy Posted April 6, 2007 Share Posted April 6, 2007 I would like to not allow access to files in the folder users, and below. I would however, like to allow people to be able to connect to the files from other sites, or from files within my site, but not if they go through the url. I don't think that made much sense, so here is some more: My site is a file hosting site, users can if they choose allow people to view there files, or make them private. so... if they use <img src="http://tzfiles.com/users/joe/123.jpg"> the image will display on the page, but if they type the link in the url, access should be denied. Does that make sense? if so.. is that possible? Quote Link to comment Share on other sites More sharing options...
michaellunsford Posted April 13, 2007 Share Posted April 13, 2007 sounds like you want the reverse of prevent hotlinking. Search google for "htaccess prevent hotlinking" then tweak it to only allow hotlinking. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.