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. Quote 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). Quote 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!! Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.