RE: encrypt the password stored in a file



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?

Why are you storing the password? Prompt for it when the program runs.

Encrypting it will be pointless. You'll either have to a) store the
encryption key somewhere, thus leaving you with the same problem, or b)
prompt for it when the program runs, in which case you could just prompt for
the FTP password.
.



Relevant Pages

  • Re: encrypt the password stored in a 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)
  • summary FTP with 128 encrypted
    ... I have a question about FTP server, did any one know about encrypt ftp ... workstation "128 bit encrypted" work with tru64 server? ...
    (Tru64-UNIX-Managers)
  • Re: Seeking Wisdom Concerning Backups
    ... Windows Fileshare, Apple Filesharing, and FTP). ... First decide if you want to have a local tarball on the box and then ... I'd prefer to not have to create the tarball locally first, but rather the create it on the fly as it's being transferred to the backup server. ... Then if you want to encrypt the tarball, ...
    (Debian-User)
  • Re: How to secure FTP?
    ... if it *does* fit you'll need to use a FTP service other than ... because it doesn't encrypt usernames and passwords. ... >> and password are required by the server in order to log on, ... >> other mechanisms (such as SSL) that are supported by a number of third ...
    (microsoft.public.inetserver.iis.ftp)
  • Re: Encrypt FTP session
    ... You may use VPN or IPSEC to encrypt communication between FTP ... server and clients. ...
    (Security-Basics)