Canman2005 Posted June 18, 2009 Share Posted June 18, 2009 Hi all We have a website and a folder of Word Documents that we don't want people to be able to access directly with a link, we dont mind people accessing the folders content once a SESSION ID has been created. Is there anyway to secure a folders contents so that the only people who can access the files in the folder would be those who have had a SESSION ID created already? Maybe using the .htaccess file somehow Thanks Link to comment https://forums.phpfreaks.com/topic/162736-securing-a-folder-with-sessions/ Share on other sites More sharing options...
Yesideez Posted June 18, 2009 Share Posted June 18, 2009 Create a .htaccess file inside the folder in question and have it contain this one line: deny from all Link to comment https://forums.phpfreaks.com/topic/162736-securing-a-folder-with-sessions/#findComment-858810 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.