Jump to content

check security before viewing a pdf


joshjryan

Recommended Posts

i want to be able to make sure a user is logged in, before being able to view a pdf.

so, I think i will need all of my authentication scripts to run in the same browser window that the PDF displayes in.

right now a user can go to url.com/documents/file_name.pdf and view it, even if they are not logged in.

Hopefully that makes sense.

Thanks for your help!

 

Link to comment
https://forums.phpfreaks.com/topic/110483-check-security-before-viewing-a-pdf/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.