I need exactly this also!
I have some files in the /uploads folder that I need to protect.
I’m currently using the members plugin and that does OK for protecting the landing page and posts.
I tried this /protected-site/ plugin and it also allowed visitors to get to the file without being logged in.
Can anyone suggest a plugin or code edit to achieve this?
?? Thanks!