MichaelH Posted February 26, 2007 Share 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. Link to comment Share on other sites More sharing options...
jvanegmond Posted February 26, 2007 Share Posted February 26, 2007 I'll just give you a hint here.. The function is called _StringEncrypt and can Decrypt too. github.com/jvanegmond Link to comment Share on other sites More sharing options...
MHz Posted February 26, 2007 Share 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 Link to comment Share on other sites More sharing options...
MichaelH Posted February 26, 2007 Author Share Posted February 26, 2007 Thanks, I found it already I was just impatient. Link to comment Share on other sites More sharing options...
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