• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

Restrict Editing with JavaScript

New Here ,
Aug 17, 2020 Aug 17, 2020

Copy link to clipboard

Copied

Hi everyone,

Is it possible to restrict editing of a pdf with a permission password in javascript?

Is it also possible to set the password security settings in javascript? (printing allowed, changes not ... etc.)

Regards.

TOPICS
Acrobat SDK and JavaScript

Views

182

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Aug 17, 2020 Aug 17, 2020

You can't set password security with Javascript. Why want you do this?

Likes

Translate

Translate
Community Expert ,
Aug 17, 2020 Aug 17, 2020

Copy link to clipboard

Copied

You can't set password security with Javascript. Why want you do this?

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 17, 2020 Aug 17, 2020

Copy link to clipboard

Copied

I want to place a stamp on the document and automatically protect the document afterwards.
As I have problems sharing Tools an Actions (see https://community.adobe.com/t5/acrobat/acrobat-dc-share-custom-tools-and-actions/m-p/11354663?page=1) I would prefer to add the Restrict Editing function to the javascript of the stamp, as sharing stamps works just fine with copying them in the 'stamps' folder.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 17, 2020 Aug 17, 2020

Copy link to clipboard

Copied

LATEST

Info: Javascript code at stamps will be performed before placing the stamp.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines