Check PDF is password protected?

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF Generator for .NET (v5.x)  /  Display Thread

DynamicPDF Generator for .NET (v5.x) Forum

 Feb 04 2014 1:16 PM
Hi All,

As a part of our requirement, we need to check whether a PDF falls in following category:

1. Check whether PDF file is password protected
2. Check whether PDF file has any signature
3. Check whether PDF file is locked for editing

Does anyone try same ever? Any help is highly appreciated.

Tarun
 Feb 05 2014 9:29 AM
Posted by a ceTe Software moderator
Hello Tarun,

Currently it is not possible to check whether the PDF is password protected using our DynamicPDF Merger for .NET product. We will add this feature request to our wish list and we may add this to our future version of DynamicPDF for .NET API but we do not have any exact time line on it.

It is not possible to check whether the existing PDF has signature using our DynamicPDF for .NET API.

Regarding your third requirement, please give us following information so that we can look into it further.

1.Do you want to check for file lock (whether it is being used by some other process in your system)?
2.Do you want to check whether the PDF editing (in a PDF editor) is restricted or not?

Thanks,
ceTe Software Support Team.
 Feb 06 2014 12:00 AM
Hi Team,

Thanks for your prompt response. Regarding your question related to editing of PDF, that is point#2.

2.Do you want to check whether the PDF editing (in a PDF editor) is restricted or not?
 Feb 06 2014 11:35 AM
Posted by a ceTe Software moderator
Hello,

Thanks for information. It is not possible to check whether the PDF is restricted for editing with PDF editors using our DynamicPDF for .NET product.

Thanks,
ceTe Software Support Team.
 Oct 31 2014 2:34 PM
Posted by a ceTe Software moderator
Hello,

The feature to check PDF security has been included in the recently released v8 of DynamicPDF for .NET.

Starting from v8, the PdfDocument object contains SecurityInfo property that can be used to check whether the PDF is secured or not.

If you have already purchased a license for v8, it can be downloaded from t he customer area. If not an evaluation version is available here.

Thanks,
ceTe Software Support Team.


All times are US Eastern Standard time. The time now is 3:09 PM.