VoodooJai Posted November 30, 2009 Share Posted November 30, 2009 Hi all I am trying to hide the location of my files so they cannot be downloaded by unauthorised people. I had a thought that may be I could .HT access a folder and then copy the appropriate file to a temp public folder and then destroy the file and its folder once it has been downloaded. Does this sound like a good solution. Any ideas appreciated. VoodooJai Quote Link to comment https://forums.phpfreaks.com/topic/183490-hide-a-files-location-for-downloading/ Share on other sites More sharing options...
trq Posted December 1, 2009 Share Posted December 1, 2009 The best solution is to store your files outside of the servers document root then use a force download script (there is an example in the FAQ/Snippet board) to have authorized users download them. Quote Link to comment https://forums.phpfreaks.com/topic/183490-hide-a-files-location-for-downloading/#findComment-968811 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.