I want to restrict the uploads and only be visible to logged-in users. But the PDF's or images files always are visible and also to un-logged users. You can imagine that this WP would be completely private. Only for logged-in users.
Is there any way to fix that? Can be solved without .htaccess file?
In folder that I am using there is a
.htaccess with the following:
deny from all but don't works.