Sign in to follow this  
Followers 0
MichaelH

Encryt a string

4 posts in this topic

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.

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

I'll just give you a hint here..

The function is called _StringEncrypt and can Decrypt too.

@MichaelH

Yes, _StringEncrypt() is a standard UDF so look in the helpfile for it. :whistle:

Edited by MHz

Share this post


Link to post
Share on other sites

Thanks, I found it already I was just impatient.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0