Secure pdf files on a web server |
Secure pdf files on a web server |
joehesse |
Sep 4 2018, 05:45 AM
Post
#1
|
Group: Members Posts: 7 Joined: 5-July 18 Member No.: 26,667 |
Is there a way to store secure pdf documents on a web server, outside the server's root directory, so they can only be viewed by authorized users from their browser?
Since these files are outside the server's root directory, they can only be accessed by code running on the server. Is there some PHP magic that will do what I want? Thank you, Joe |
pandy |
Sep 4 2018, 09:41 AM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,732 Joined: 9-August 06 Member No.: 6 |
Not sure, Christian probably knows this better, but I *think* you can make PHP copy the file to a web accessible directory.
But why do the files need to be above the root? Can't you just use a password protected directory? Passwords must come into it anyway. |
Lo-Fi Version | Time is now: 26th April 2024 - 06:25 PM |