Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

security - passwords

$
0
0

Hi Scripting Guys,

I've got a script that connects to my sql server in my test lab. At the moment I specify the username and password in plain text. I want to secure the password so noone can see it, I want to avoid just storing them on a remote part of the machine in a text file etc..

I have created a secure string and succeffully encrypted my password and decrypted it for use for the sql connection, however when I move the script to another machine it no longer works, reading up I can see why this is. 

So my question is, can you suggest a way to encrypt my password so it can be used on multiple machines to connect to my sql server.

Examples are always welcome :)

Many thanks

Joe


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>