Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# itamar82 9/28/2009 12:51 PM
I'm trying to add a custom section setting that will be a password for use with personal webservices. I don't really see a good way of making the custom setting render as a password textbox, but another method of implementing this could be through encryption & decryption.

Do you think the following is possible? (and optimal?)

Store encrypted and decrypted version of the password when overriding ReadSectionSettings.
Override ValidateSectionSettings; if the value of the password (in the Section's setting) is neither the original decrypted password or encrypted password, then I can assume the user has changed it. I will then encrypt the value and store it back into the Section's settings.

Thanks