Restricted image attachment viewable
-
Recently installed this plugin, and noticed something that I’m not sure is expected behaviour. It seems odd to me.
I have both restricted & unrestricted categories, and on the whole this is working fine. A restricted post is only viewable by someone logged in, as set up. Also, if someone not logged in goes direct to the URL, they cannot see the post.
However, if a person not logged in goes direct to the URL of an image attachment, they can see that image. Examples URLs for clarification are:
example.com/2018/11/12/post_title/ – cannot be viewed (error message instead of post contents)
example.com/2018/11/12/post_title/img_0236/ – image attachment is shown to someone not logged inIn Ultimate Member -> Settings -> Access, I have all the options selected to restrict access to posts (Post, Page, Media).
Is the above expected behaviour, and is there any way to restrict the image attachments page from people not logged in when they directly access the URL?
- The topic ‘Restricted image attachment viewable’ is closed to new replies.