2014 May 29 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.
2014 May 29 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.
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.
2014 May 29 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.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |