I have a folder containing PDFs that I would like to protect using .htaccess and, preferably, mod_auth_mysql. I already have a database of usernames and passwords, and have the user log in via PHP. I was wondering if I could use a posted variable instead of making the user log in through the .htaccess pop-up window. I appreciate any help!
Sincerely,
Jordan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry, no. While we have access to some of the information in the request, we don't have (AFAIK) the post data available.
BTW - using POST values isn't secure. For instance - I could save your page on my computer then download the files any time I wanted without signing in.
Jerry
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a folder containing PDFs that I would like to protect using .htaccess and, preferably, mod_auth_mysql. I already have a database of usernames and passwords, and have the user log in via PHP. I was wondering if I could use a posted variable instead of making the user log in through the .htaccess pop-up window. I appreciate any help!
Sincerely,
Jordan
Jordan,
Sorry, no. While we have access to some of the information in the request, we don't have (AFAIK) the post data available.
BTW - using POST values isn't secure. For instance - I could save your page on my computer then download the files any time I wanted without signing in.
Jerry