Restricting direct access to pdf files located in a members only area
- intouchweb
- Topic Author
- Offline
- Elite Member
-
Less
More
9 months 1 week ago #167609
by intouchweb
Restricting direct access to pdf files located in a members only area was created by intouchweb
I know that Membership Pro can restrict access to menus, modules, articles, K2 items, urls, documents etc, to members only.
But can it restrict pdf files? or specific folders?
I find people with direct links to a pdf file are still able to view without requiring login.
I am mot sure if Joomla 4 has something new to handle this, but is there a Membership Pro option?
What I need is for a direct URL to a pdf file to prompt for login if it is in a restricted folder.
How do people manage this issue?
But can it restrict pdf files? or specific folders?
I find people with direct links to a pdf file are still able to view without requiring login.
I am mot sure if Joomla 4 has something new to handle this, but is there a Membership Pro option?
What I need is for a direct URL to a pdf file to prompt for login if it is in a restricted folder.
How do people manage this issue?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
9 months 1 week ago #167621
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Restricting direct access to pdf files located in a members only area
Hello
Is the file be accessible for all users or each user needs to access to his own files ?
Depends on your need, you can try to use one of the two plugins below:
- docs.joomdonation.com/membershippro/adva...loads-manager-plugin
- docs.joomdonation.com/membershippro/plugins/user-files
Regards,
Tuan
Is the file be accessible for all users or each user needs to access to his own files ?
Depends on your need, you can try to use one of the two plugins below:
- docs.joomdonation.com/membershippro/adva...loads-manager-plugin
- docs.joomdonation.com/membershippro/plugins/user-files
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- intouchweb
- Topic Author
- Offline
- Elite Member
-
9 months 1 week ago #167630
by intouchweb
Replied by intouchweb on topic Restricting direct access to pdf files located in a members only area
Thanks, both those options look good for individual downloads, however what I am wanting is a whole folder access to be restricted to members only, so that even if someone knows the direct URL of a pdf file in a members area it will require them to login to view. So if a member logs in and views
www.example.com/member-document.pdf
and then forwards that URL onto a non-member they will not be able to view unless they become a member.
Joomla allows easy control over URL access but pdf files are open to anyone, can;t believe this was not sorted in Joomla 4.
Is this achievable Tuan?
Joomla allows easy control over URL access but pdf files are open to anyone, can;t believe this was not sorted in Joomla 4.
Is this achievable Tuan?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
9 months 1 week ago #167631
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Restricting direct access to pdf files located in a members only area
It is unfortunately, not possible because when that file exists, it is not processed via Joomla but browser will have direct access to it
I think this could still be done using a .htaccess rule and some custom code development. But it will need to be discussed further if you really need it (as this will cost you some fee for the development)
Regards,
Tuan
I think this could still be done using a .htaccess rule and some custom code development. But it will need to be discussed further if you really need it (as this will cost you some fee for the development)
Regards,
Tuan
The following user(s) said Thank You: siptec
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.