Re: Re:simple text encrypt / decrypt
- From: "Al Dunbar" <alandrub@xxxxxxxxxxx>
- Date: Thu, 18 Jun 2009 17:28:18 -0600
"rahulji" <rahuljiv@xxxxxxxxx> wrote in message news:064c21f4734641fa97b49da4a16693d4@xxxxxxxxxxxxx
Hi,
I have a different requirement.
i wrote a script which will contain an username and password of an FTP
server to which it will upload the data.
i want to encrypt these username and password using DPAPIs so that no one
can read them.
can anyone help in this regard?
url:http://www.ureader.com/msg/1675127.aspx
There is some good advice in that link.
If your script needs to use the actual username/password, it will need to contain code to decrypt the encrypted values. Anyone reading this script could take a copy, and modify it to display the unencrypted credentials instead of using them to access the FTP server.
The only way this can be done securely (imho) is to have the operator provide the encryption key interactively. Of course, there is not much difference between doing it that way and having the operator provide the actual username and password.
/Al
.
- References:
- Re:simple text encrypt / decrypt
- From: rahulji
- Re:simple text encrypt / decrypt
- Prev by Date: Re: coping jpg files from computer help
- Next by Date: Re: Finding members of RDP groups of a list of computers
- Previous by thread: Re:simple text encrypt / decrypt
- Next by thread: Re: Re:simple text encrypt / decrypt
- Index(es):
Relevant Pages
|