Azure Connectors Node.js SDK
    Preparing search index...

    Interface PdfAddSecurityInput

    PDF Add Security

    interface PdfAddSecurityInput {
        allowAccessibilitySupport?: boolean;
        allowAssemblyDocument?: boolean;
        allowContentExtraction?: boolean;
        allowFillForms?: boolean;
        allowModifyAnnotations?: boolean;
        allowModifyDocument?: boolean;
        allowPrintDocument?: boolean;
        async?: boolean;
        encryptionAlgorithm?: string;
        expiration?: number;
        name?: string;
        ownerPassword: string;
        printQuality?: string;
        profiles?: string;
        url: string;
        userPassword?: string;
    }
    Index
    allowAccessibilitySupport?: boolean

    Allow or prohibit content extraction for accessibility needs. Note: this restriction applies when userPassword (if any) is entered. This restriction does not apply if the user enters Owner Password.

    allowAssemblyDocument?: boolean

    Allow or prohibit assembling the document. Note: this restriction applies when userPassword (if any) is entered. This restriction does not apply if the user enters Owner Password.

    allowContentExtraction?: boolean

    Allow or prohibit copying content from PDF document. Note: this restriction applies when userPassword (if any) is entered. This restriction does not apply if the user enters Owner Password.

    allowFillForms?: boolean

    Allow or prohibit the filling of interactive form fields (including signature fields) in the PDF documents. Note: this restriction applies when userPassword (if any) is entered. This restriction does not apply if the user enters Owner Password.

    allowModifyAnnotations?: boolean

    Allow or prohibit interacting with text annotations and forms in PDF document. Note: this restriction applies when userPassword (if any) is entered. This restriction does not apply if the user enters Owner Password.

    allowModifyDocument?: boolean

    Allow or prohibit modification of PDF document. Note: this restriction applies when userPassword (if any) is entered. This restriction does not apply if the user enters Owner Password.

    allowPrintDocument?: boolean

    Allow or prohibit printing PDF document. Note: this restriction applies when userPassword (if any) is entered. This restriction does not apply if the user enters Owner Password.

    async?: boolean

    Set to true for long processes to run in the background, API will then return a jobId which you can use with JobCheck endpoint to check the status of the process and retrieve the output while you can proceed with other tasks without waiting for this process to finish.

    encryptionAlgorithm?: string

    Encryption algorithm. Valid values: RC4_40bit, RC4_128bit, AES_128bit, AES_256bit. AES_128bit or higher is recommended

    expiration?: number

    Set the expiration time for the output link in minutes (default is 60 i.e 60 minutes or 1 hour), After this specified duration, any generated output file(s) will be automatically deleted from PDF.co temporary files storage. The maximum duration for link expiration varies based on your current subscription plan.

    name?: string

    File name for the generated output.

    ownerPassword: string

    The main owner password that is used for document encryption and for setting/removing restrictions.

    printQuality?: string

    Allowed printing quality. Valid values: HighResolution, LowResolution. Note: this restriction applies when userPassword (if any) is entered. This restriction does not apply if the user enters Owner Password.

    profiles?: string

    You can set additional and extra options using this parameter that allows you to set custom configuration. Explore PDF.co knowledgebase (https://developer.pdf.co/api/profiles/index.html) for profile examples.

    url: string

    URL to the source file. Supports links from Google Drive, Dropbox, and PDF.co built-in files storage.

    userPassword?: string

    The optional user password will be asked for viewing and printing document.