Security Advice

Just starting out? Need help? Post your questions and find answers here.
Rikuk
User
User
Posts: 24
Joined: Mon May 30, 2005 11:36 am

Security Advice

Post by Rikuk »

I'm currently writing a program that accesses my personnel website using the FTP user Lib to download load a text file (user name/password included in the code), how safe is this?

Rik
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post by Num3 »

Well a packet sniffer can read all TCP/IP traffic, and the FTP protocol is a plain text.

If someone sniffs the ftp packets they can get your account username / password without any trouble :?

Maybe you should use HTTP for downloading the file (no user/password is used here) and some sort of PHP script (on the server side) for uploading information...

This way you are not sending any kind of personal data relating to you!
Rikuk
User
User
Posts: 24
Joined: Mon May 30, 2005 11:36 am

Post by Rikuk »

Thanks is there a set of commands for HTTP download or do I need a Lib.

Rik
Post Reply