Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

security with password to edit

Avatar

Level 5

How can I secure the pdf with password so that none can edit the pdf form with liveCycle?

Also is it possible to do password protect with javaScript? If possible how?

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

If you go to the File > Form Properties > PDF Security tab, you can set a password that will be required to open the form in LC Designer. The user will not need the password to open the form in Acrobat/Reader:

Niall

View solution in original post

6 Replies

Avatar

Correct answer by
Level 10

Hi,

If you go to the File > Form Properties > PDF Security tab, you can set a password that will be required to open the form in LC Designer. The user will not need the password to open the form in Acrobat/Reader:

Niall

Avatar

Level 5

Thanks. That works nice.

This type of password can be easily broken with software.

Is there any possibility to create password with JavaScript internally?

Avatar

Level 10

Hi,

I believe that there are third-party software tools that can crack the password, but don't have any experience with these - really!

The password security will slow/prevent the average user from opening for the form in LC Designer. But it probably wont stop someone who is more determined.

I don't see how you would be able to script a solution, as the script would not fire when the form is opened in LC Designer.

Good luck,

Niall

Avatar

Level 10

As fas as I know those crack tools for PDF's only handle static pdf's.

XFA forms genrally get destroyed and cannot be opened anymore.

Avatar

Level 5

I have tested XFA form. It is not destroyed.

In acrobat, there is a code to block reader, reader version. i.e.

if(app.viewerVersion < 7).............

In this way, can we create a code so that none can open with liveCycle?

Avatar

Level 10

No,

Designer doesn't care which scripts you use in the form.

It's the design tool and doesn't execute the scripts.

You should use the password setting as Niall described above.

If you're tool really can recover the password you should use a most secure one.

The tools often use brute force which will take too long if the password is longer than 12 digits (chars + numbers + symbols).

Here's a password generator.

http://thelivecycle.blogspot.com/2010/08/password-generator.html