Link to home
Start Free TrialLog in
Avatar of c7c4c7
c7c4c7Flag for United States of America

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.
ASKER CERTIFIED SOLUTION
Avatar of Andrej Pirman
Andrej Pirman
Flag of Slovenia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of MolinaTec
MolinaTec

Use truecrypt.  Truecrypt Website