wpexpertsio / password-protected

Password protect your WordPress site quickly and simply
https://wordpress.org/plugins/password-protected/
69 stars 63 forks source link

Protect uploaded files if password is not entered #157

Open ghost opened 4 years ago

ghost commented 4 years ago

Being the only plugin that protects a whole WordPress site, it would be incredible that it also protects uploaded files.

There is a brilliant solution here: https://gist.github.com/hakre/1552239

But unfortunately, the dl-file.php workaround doesn't work with this plugin. Entering the correct password in the password-protected home page doesn't count for this script as a logged-in user.

Any ideas? Thanks for reading!