MichaelH Posted February 26, 2007 Posted February 26, 2007 Hello, I am trying to create a program that runs to change certain permissions in the registry but to do this the user needs administrator privaleges. I have used the RunAsSet command to set the permission level correctly but I am reading the username and password for an INI file. This causes various security problems as the password is unencrypted and was wondering if there is a way to encrypt the string so the password is not stored in plain text. Thanks.
jvanegmond Posted February 26, 2007 Posted February 26, 2007 I'll just give you a hint here.. The function is called _StringEncrypt and can Decrypt too. github.com/jvanegmond
MHz Posted February 26, 2007 Posted February 26, 2007 (edited) I'll just give you a hint here..The function is called _StringEncrypt and can Decrypt too.@MichaelHYes, _StringEncrypt() is a standard UDF so look in the helpfile for it. Edited February 26, 2007 by MHz
MichaelH Posted February 26, 2007 Author Posted February 26, 2007 Thanks, I found it already I was just impatient.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now