Restrict access to folders based on subscription status (for pdf files)
- intouchweb
- Topic Author
- Offline
- Elite Member
Less
More
6 years 8 months ago #111065
by intouchweb
Restrict access to folders based on subscription status (for pdf files) was created by intouchweb
I would love to be able to limit access to specific folders on the server to current subscribers of plans.
For example:
Plan A subscription is required to view www.domain.com/files/planA/document.pdf
Plan B subscription is required to view www.domain.com/files/planB/document.pdf
but the public can NOT view anything in those folders, even if they have the direct URL.
I cannot find any way (using Joomla's core functionality) to restrict pdf files to subscribers, the documents can always be viewed via a direct URL.
At the moment I believe Membership Pro can limit access to categories and articles... but not folders..??
So I imagine this would be a VERY popular feature of Membership Pro if it is possible!
For example:
Plan A subscription is required to view www.domain.com/files/planA/document.pdf
Plan B subscription is required to view www.domain.com/files/planB/document.pdf
but the public can NOT view anything in those folders, even if they have the direct URL.
I cannot find any way (using Joomla's core functionality) to restrict pdf files to subscribers, the documents can always be viewed via a direct URL.
At the moment I believe Membership Pro can limit access to categories and articles... but not folders..??
So I imagine this would be a VERY popular feature of Membership Pro if it is possible!
Please Log in or Create an account to join the conversation.
- Kevin Morrison
- Offline
- Junior Member
Less
More
- Posts: 38
- Thank you received: 0
6 years 7 months ago #112185
by Kevin Morrison
Replied by Kevin Morrison on topic Restrict access to folders based on subscription status (for pdf files)
I second this.
Please Log in or Create an account to join the conversation.
- David Robinson
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 0
6 years 6 months ago #113941
by David Robinson
Replied by David Robinson on topic Restrict access to folders based on subscription status (for pdf files)
Excellent idea!
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
6 years 6 months ago #113942
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Restrict access to folders based on subscription status (for pdf files)
Unfortunately, it's not possible. The reason is because Membership Pro can only restrict access to pages generated by Joomla
For static resources such as folders or direct PDF links like that, it's not generated by Joomla, so there is no way for Membership Pro to restrict access to it
If you want to give subscribers to access to PDF files like that, better use Membership Pro together with a documents management extension like our EDocman extension. Or in case you have small number of files, using built-in Downloads Manager plugin membershipprodoc.joomservices.com/advanc...loads-manager-plugin
Regards,
Tuan
For static resources such as folders or direct PDF links like that, it's not generated by Joomla, so there is no way for Membership Pro to restrict access to it
If you want to give subscribers to access to PDF files like that, better use Membership Pro together with a documents management extension like our EDocman extension. Or in case you have small number of files, using built-in Downloads Manager plugin membershipprodoc.joomservices.com/advanc...loads-manager-plugin
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2024 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.