Restricting access to the url link of a pdf file.

10 years 8 months ago - 10 years 8 months ago #232359 by krileon
Ok, believe have fixed it. Was able to confirm password changes take affect now. Please test and confirm is working for you now. My tests are as follows.

Register > Login > Access PDF - WORKING
Login > Profile Edit > Change Password > Access PDF - WORKING
Logout > Login > Access PDF - WORKING


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

10 years 8 months ago #232361 by fewgoodmen
Replied by fewgoodmen on topic Restricting access to the url link of a pdf file.
Hi Kyle

We are in business.
Tested it on a Mac, Win and iPad and it worked.

Thanks in a thousand for your patience.

I can help but ask, what was the problem.

Please Log in to join the conversation.

10 years 8 months ago - 10 years 8 months ago #232362 by krileon
There was a matching problem with one of the IF checks and the new username/password replacements were not escaped for insertion into regex.

For those with same issue the below is a quickfix until next CBSubs release. Forums throw a security warning for some of the inline code so is attached as a text file.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Attachments:

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.464 seconds

Facebook Twitter LinkedIn