We don't bite newbies here... much | |
PerlMonks |
Re: What *are* the best ways to encrypt data?by Joost (Canon) |
on Aug 27, 2004 at 12:02 UTC ( [id://386333]=note: print w/replies, xml ) | Need Help?? |
Assuming good use of UNIX file permissions, the encryption of the passwords in 1) doesn't give you any extra security, it just buys you (a little) time. Consider that people who can read the script can see the algorithm to decrypt the password file.
2) and 3) suffer from the same problem. Note that your scheme does not protect the user or the communications channel in any way. I can't really figure out why you would want to encrypt these files on the server. If you don't trust the people with access to the files, you have much bigger problems, and I would suggest moving to another machine.
In Section
Seekers of Perl Wisdom
|
|