PDF password submit with PHP

coacalli

New Member
Messages
10
Reaction score
0
Points
0
Greetings.

Since i belive this can be solved with some coding i choosed to post in here.

I'm working on a small site that has some password protected pdf files, but as u can imagine provide the end user with the code might crash the whole objective top password protect'em.

So, i'm wondering if any of you, skill programmers and enthusiasts, have any knowleadge about how to get to the files using some kind of code.

Its a very simple table with links to the files and each file is password protected, maybe something on the url that leads to the file? maybe some coding on the html?

Some word of advice would be apreciated
 

freecrm

New Member
Messages
629
Reaction score
0
Points
0
Firstly, I'm not really clear what you are trying to achieve.

If the pdf is password protected, how would a browser get hold of the password?

Secondly, if you want to add simple additional security, google ".htaccess" and ".htpasswd" files which can be added simply into the root folder.

Going a stage further than that and you would have to create a login and authentication script.
 
Top