LAPS Posted February 12, 2018 Share Posted February 12, 2018 Hi, I have a page for which I manage access so that guest users can not view it. This page has attached an image. Of course, the basic page access settings works as expected for guests by denying them to view the page. However, when I, as a guest user, access directly the attached image via its URL then I can view the image! How can I deny access also to the image? Link to comment Share on other sites More sharing options...
teppo Posted February 12, 2018 Share Posted February 12, 2018 You need to add pagefileSecure-setting to your /site/config.php file, and set it to "true": $config->pagefileSecure = true; More details here. 4 1 Link to comment Share on other sites More sharing options...
LAPS Posted February 12, 2018 Author Share Posted February 12, 2018 Hi @teppo, thank you. It works. However, I had to edit and re-save the page. 1 Link to comment Share on other sites More sharing options...
kongondo Posted February 12, 2018 Share Posted February 12, 2018 Would field level access work as well? Access tab when editing a field Link to comment Share on other sites More sharing options...
Klenkes Posted February 12, 2018 Share Posted February 12, 2018 Field level access only protects the field from being shown on the frontend. The file is still accessable through an URL. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now