Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
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
Hi guys,
Does someone have an example how I can do this?
regards,
Aissam
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