- This topic has 16 replies, 6 voices, and was last updated 8 years, 10 months ago by .
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › eMember – Download Folder Protection not working
1) Why ask user name and password again
2) .pdf file not download, open borowser
Sample page
[http://www.sinavsimulasyonu.com/kartezyen-carpimi/]
login page (right)
[http://www.sinavsimulasyonu.com/site-uyelik-paketi/]
user
deneme / deneme
my .htacces
AuthUserFile /home/…../public_html/wp-content/uploads/emember/downloads/.htpasswd
AuthName “eMember Protected Folder”
AuthType Basic
require valid-user
1- Why ask user name and password again
The first time, the user name & password are being asked for by eMember for member login into your WordPress system. This is just a standard user login.
Every-time you go to download a static file, the server will ask for the username and password. This is how the .htaccess secure download works.
Due to the way server security works; there is no reasonable way to pass the user name & password, between the (WordPress) environment and the server environment.
2- .pdf file not download, open browser
Your browser is experiencing media disposition issues, when communicating directly with the server.