I have the plugin working fine with V1.2.3 on WPEngine (nginx). When I update to 1.2.4 I recieve a 401 unauthorised error for all media files in the frontend and in the wp media library. These are of type jpg/png/pdf and some are restricted to logged in users only but others (eg. site logo) are unrestricted.
Any suggestions on what needs to be updated to get this working again?
When I add the .htaccess redirect the site CSS is broken to such a state that it appears to be non-existent. The files seem to transfer correctly but the page displays as if there is no CSS. The file protection works correctly but the page display is broken. The protected file isn’t even displayed on the broken page.
]]>We want to upload some pdfs and protect them using your plugin. However, this is what the hosting provider says:
We use nginx to provide the media elements. I am going to use some code to serve the elements via apache. However, if I set this rule for all the content of wp-content/uploads/ to go through apache and apply the rules that you include via .htaccess, you may experience two issues:
First, it will most likely affect the proper functioning of your website, which depends on being able to access these resources without interference in order to display its contents correctly to visitors.
Secondly, it will increase the consumption of your hosting resources on the server: it is not the same for only members to access a folder external to the CMS with this configuration as it is for any visitor accessing the public part of the website.
So in this case, the best thing is that all .pdfs could be in the same folder, so if it is possible to unify them, for example in “wp-content/uploads/pdfs” would be a more optimal way to apply this configuration, which was contemplated.
Can you ask the creators of the plugin aam-protected-media-files, if a folder such as wp-content/uploads/pdfs can be created to upload the files?
]]>Hi,
I’m trying to hide all the media urls for a multisite for visitors.
/wp-content/uplaods/sites/2/*
But can’t understand how it worksd ??
Please helps ?? ! Thank youuuuuuu
Edit : I tried for visitor in URL access to add the url below but still can access to all files with URL
]]>Hi,
in your plugin description you have links to guides like:
https://aamplugin.com/article/how-to-manage-access-to-the-wordpress-media-library
but your website never load.
Also you other domain https://vasyltech.com is never loading.
]]>When I use chinese file name upload into wordpress, this file will not link to download and show whole white page. If I disable this pluging, that file could link to download.
The file name is “滑鼠電子發票.pdf”
In this site, I’m using Elementor editor. It save css files in “/wp-content/uploads/elementor/css/” folder as this example:
/wp-content/uploads/elementor/css/post-955.css
When I change the “.htaccess” (as install instructions) file the css link is blocked. That is ok, as I tested with some media files showing to allow or deni. But I insert that and other URLs on the URI access panel (for all users) but I can’t access does files, and the layout is broken.
Can you help me?
]]>Hi!
Suddenly discovered that media files no longer are protected. Anyone can access them if they know the URL. It’s been a while since I last checked this, but suspect it has to do with WordPress last update to version 5.5.
Thx for a great plugin
Jack