Hi,
I found issue where image uploaded in unit and unit attachment are public and can be accessed by anyone. A new page is automatically generated linked to unit image or attachment. This is not secure, especially when sitemap is public.
I put the example of this case below.
Need solution to make them secure and can be accessed only by course student on unit, not on page.
Thank you.
This reply has been marked as private.
@hilmanf,
Okay, I will provide you the code for this.
@hilmanf,
Refer this article:
https://www.wpglobalsupport.com/restricting-media-library-access-users-uploads-wordpress/
Or another way to use any third-party plugin to restrict the access
Okay, thank you. I will follow the guide.
You may close the topic.
@hilmanf,
Thanks for confirming..!!