http://www.perlmonks.org?node_id=276735


in reply to Beginners guide to Net::FTP

I like the module but don't like leaving my passwd in a file that might be read by others who have root. I guess I should stick to using scp with encryption ?

Replies are listed 'Best First'.
Re^2: Beginners guide to Net::FTP
by Aristotle (Chancellor) on Jul 23, 2003 at 00:42 UTC
    You should do that anyway, then - FTP transmits your password in the clear, so anyone who has root (or can otherwise put a NIC in promiscious mode) on any box on your LAN can sniff it. Worse, if it's a bigger network, it's not unlikely that someone can sneak into a room somewhere and plug his own laptop into your ethernet. Or such. FTP has served us well but should really be left to rest in peace - the innocent days of networking are long over.

    Makeshifts last the longest.