I have a control module through which values could be entered.I want to password protect it. How ??
Suggest using builtin authentication mechanisms in 800xA over inventing something own in PG2.
Enable Reauthenticate* on the protected properties - then user need to supply his account's password once more. Double Reauthenticate* also require a secondary account name and password.
Read about this in the users guides.
*) Reauthenticate may require optional Advanced User Access control license.