View Single Post
Old 06-19-2009   #4 (permalink)
Al Dunbar


 
 

Re: Re:simple text encrypt / decrypt


"Heinz" <Spacewalker4711(noSpam)@hotmail.com> wrote in message
news:uaVlOON8JHA.1488@xxxxxx
Quote:

> "rahulji" <rahuljiv@xxxxxx> schrieb im Newsbeitrag
> news:064c21f4734641fa97b49da4a16693d4@xxxxxx
Quote:

>> 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
>
> I think it depends on what you want to achieve:
> if your concern is that somebody can snif username and password from your
> LAN or on the internet then maybe you need something like VPN or SFTP
> if you want to prevent that somebody reads the VBS sourccode then you can
> :
> -try to protect the VBS code with NFTS permissions
"try" being the operative word here. I suspect that the OP wants people to
run this script that should not know the password, hence his post.
Quote:

> -compile the VBS to an (encrypted) .exe file (there are tools availlabe
> doing this)
But, again, just how secure is that encrypted information? The executable
must contain the code required to de-crypt the encrypted portions of the
executable, so reverse engineering is possible.

/Al


My System SpecsSystem Spec