bappybd Posted March 24, 2008 Share Posted March 24, 2008 Can anybody tell me how can I detect whether a pdf file is encripted or not using php and my 2nd question is how can i remove password from a pdf file using php(assum that I know the password) note: I use pdflib and fpdf for my php projects. Link to comment https://forums.phpfreaks.com/topic/97622-pdf-encription-and-password-help/ Share on other sites More sharing options...
MadTechie Posted March 24, 2008 Share Posted March 24, 2008 encrypted PDF's have some padding on some of the blocks that make up the PDF, you could check for them, as for removing your need to read in the whole file and decrypt the the blocks (RC4). Link to comment https://forums.phpfreaks.com/topic/97622-pdf-encription-and-password-help/#findComment-499532 Share on other sites More sharing options...
bappybd Posted March 24, 2008 Author Share Posted March 24, 2008 thnks for ur advice...I will try ur suggestion!! Link to comment https://forums.phpfreaks.com/topic/97622-pdf-encription-and-password-help/#findComment-499711 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.