Jump to content
Sign in to follow this  
MichaelH

Encryt a string

Recommended Posts

MichaelH

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
MHz

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

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.