05-29-2014 8:30 AM
Hi gurus,
My question is very simple, is it possible to verify if a PDF file is protected by password?.
I need to know it before to pick them up in order to show it in ALV like an error.
Thanks in advance.
05-29-2014 8:55 AM
When I open a pdf in notepad, I can see the that for password protected files, there is text like R/Encrypt . For normal file, this text is not present. Perhaps you can search for this string after reading the pdf binary.
05-29-2014 8:55 AM
When I open a pdf in notepad, I can see the that for password protected files, there is text like R/Encrypt . For normal file, this text is not present. Perhaps you can search for this string after reading the pdf binary.