Jump to content

Recommended Posts

Posted

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.

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

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
×
×
  • Create New...