Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Security in Document properties does not work

Dear QV users,

In the document properties (settings in the menu bar), it is able to edit the security for a document.  I have tried to unmark the "Edit Script" and secure it with a Module Password. But this doesn't work, users are able to reset this security without entering a password. Could someone help me with this please.

regards,

Aissam Chiki

3 Replies
stephencredmond
Luminary Alumni
Luminary Alumni

Hi Aissam,

Module password is to lock down access to the macro script editor.

You need to add Section Access security to your document to define USER and ADMIN access.  Without it, all users will be ADMIN and can reset it.  A USER level person will not even see the "Security" tab in document properties.

Regards,

Stephen

Not applicable
Author

Hi guys,

Does someone have an example how I can do this?

regards,

Aissam

stephencredmond
Luminary Alumni
Luminary Alumni

Try this in your script:

Section Access;

LOAD * INLINE [

    ACCESS, USERID, PASSWORD

    ADMIN, ADMIN, password

    USER, USER1, password

    USER, USER2, password

];

Section Application;

or

Section Access;

LOAD * INLINE [

    ACCESS, NTNAME

    ADMIN, YOURDOMAIN\YOURUSERNAME

    USER, YOURDOMAIN\ANOTHERUSERNAME

];

Section Application;

- to get integration with your Windows security.  Have a read of the reference manual.

Stephen