Re: encrypt the password stored in a file



In fact, I are just writing a demo program used in a presentation,
when I open its config file through screen sharing, I don't want the
visiter see the plain text password.

On 8/30/05, Miguel Santinho <msantinho@xxxxxxxxxxxxxxxx> wrote:
> Em (On) Mon, Aug 29, 2005 at 12:36:32PM -0400, Bob Showalter escreveu (wrote):
> > Ken Perl wrote:
> > > The password used to access a ftp server is stored in a text file, the
> > > perl program gets the password from the file, the pass it to the ftp
> > > server for logon, this is the background.
> > > The requirement is encrypt the password store in a more secure way,
> > > and the perl program could still use the encrypted password to logon
> > > the server. what algorithm should be used in this task?
>
> If someone can access your machine to get the password... then your problem
> is not the way you encrypt that file, but the way you protect your machine.
> ;-)
>
> --
> +-----------------------------------------------------
> | Simplicidade.com
> | Consultoria em Tecnologias de Informação, Lda.
> +-----------------------------------------------------
> | Rua António Onofre, 4D
> | 2870-220 Montijo - PORTUGAL
> | Tel./Fax: +351 21 231 01 51
> +-----------------------------------------------------
> | info@xxxxxxxxxxxxxxxx | http://www.simplicidade.com
> +-----------------------------------------------------
>
>
>



--
perl -e 'print unpack(u,"62V5N\"FME;G\!E<FQ`9VUA:6PN8V]M\"\@``
")'
.



Relevant Pages

  • RE: encrypt the password stored in a file
    ... > The password used to access a ftp server is stored in a text file, ... > perl program gets the password from the file, the pass it to the ftp ... > server for logon, this is the background. ... > The requirement is encrypt the password store in a more secure way, ...
    (perl.beginners)
  • Re: encrypt the password stored in a file
    ... >> The password used to access a ftp server is stored in a text file, ... >> perl program gets the password from the file, the pass it to the ftp ... >> server for logon, this is the background. ... is not the way you encrypt that file, but the way you protect your machine. ...
    (perl.beginners)
  • Re: A cryptography solution for a client/server winforms app
    ... good idea if you want to learn crypto. ... you control both the client and server, you don't even need to use a ... code the client to ignore certificate trust errors. ... encrypt the memory stream. ...
    (microsoft.public.dotnet.security)
  • Re: A cryptography solution for a client/server winforms app
    ... You could use a self-signed cert deployed with the server ... code the client to ignore certificate trust errors. ... generate a hash value for the data in the memory stream. ... encrypt the memory stream. ...
    (microsoft.public.dotnet.security)
  • Re: Encrypted files do they work for backups?
    ... I'm going to test it out myself on my own test SBS Server. ... >>If I use the administrator account, and I encrypt it EFS on a External ... >>> format you need the private key to decrypt the files ... do you have the recovery agent Encrypting File ...
    (microsoft.public.windows.server.sbs)