swharrell Posted February 24, 2011 Share Posted February 24, 2011 OK. I know I will probably get slammed with links and "did you try Google?" but honestly, I have and I can not seem to find a solution. I have an .htpasswd protected directory that I would like to allow my users to access ONLY through a web page. I would like for this (Php) page to pass the username and password to the server without the user being prompted. This will allow them to view the files but, if they typed in the URL to a file in the directory they would be denied access directly to the file. How can I accomplish this and am I going about this the right way? Thanks Quote Link to comment Share on other sites More sharing options...
cssfreakie Posted March 8, 2011 Share Posted March 8, 2011 I would rather use a database, but this seems to be a solution http://tinyurl.com/4b9oc2m 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.