This action encrypts the submitted password value using the database function
or code expression specified in Advanced
Security Settings. It is used mainly on user registration and user
maintenance forms when the password encryption feature is enabled. The action
also requires a hidden control to be included in the login form to preserve the
value of the user's previous password. The password field itself cannot be used
to store the original password value because the original password would be
double-encrypted if the user doesn't change it and submits the form with an
already encrypted password.
This action is automatically assigned to the appropriate events by the Record
Builder when choosing the option to encrypt password. Such option is available
when the builder detects that the password field is being selected for inclusion
on the form.
Alternatively, this action can be manually assigned to form events, such as Before
Execute Insert or Before
Execute Update when using database function for encryption, or Before
Build Insert or Before
Build Update when using code expression.
Action properties:
Property | Description |
---|---|
Password Control Name | Name of the control corresponding to the password field which value is to be encrypted. |
Shadow Control Name | Name of the auxiliary control within the current record form that holds the original password value between requests. |
Value (optional) | The value of the "Value" property from the corresponding Preserve Password action. This value will be used to check whether the submitted password was modified. |