c7c4c7
asked on
How do I encrypt the contents of a config file to use on multiple machines
I have a script that sends a report daily from multiple machines via gmail. The script needs to input the username and password when emailing the report. I do not want to store the credentials in plain text and have found a way of storing them as a secure string, not perfect but at least it is not in plain text.
From reading it looks like I cannot deploy a single config file on multiple machine, different Worgroups/Domains etc. because the encryption uses local security keys and is tied to the userid that created the secure string.
The question:
I am looking for a simple process to create a config file that can be reused across multiple environments and keep the UserID and password encrypted.
I know this is not completely secure but am willing to deal with possible fallout.
From reading it looks like I cannot deploy a single config file on multiple machine, different Worgroups/Domains etc. because the encryption uses local security keys and is tied to the userid that created the secure string.
The question:
I am looking for a simple process to create a config file that can be reused across multiple environments and keep the UserID and password encrypted.
I know this is not completely secure but am willing to deal with possible fallout.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Use truecrypt. Truecrypt Website