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
Security Advice
-
Num3
- PureBasic Expert

- Posts: 2812
- Joined: Fri Apr 25, 2003 4:51 pm
- Location: Portugal, Lisbon
- Contact:
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!
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!
