I am working on an app that uploads files to a hosted server, using FTP. I initialize with the code below.
Now I am wondering if this is secure enough. I replaced the "user" and "pass" in the code for the real username and password. Would it be easy, for a bad guy, to use a sniffer or a tool on their device to catch these credentials? Can this part of the code be de-obfuscated?
I could do something with encryption, but then I will have to figure out a way to decrypt this at the server side.
What I am looking for is a "best practice" to securely use FTP. Will the above method be safe enough for most cases, or should I add something to make security stronger?
B4X:
FTP.Initialize("FTP", "ftp.xxx", 21, "user", "pass")
Now I am wondering if this is secure enough. I replaced the "user" and "pass" in the code for the real username and password. Would it be easy, for a bad guy, to use a sniffer or a tool on their device to catch these credentials? Can this part of the code be de-obfuscated?
I could do something with encryption, but then I will have to figure out a way to decrypt this at the server side.
What I am looking for is a "best practice" to securely use FTP. Will the above method be safe enough for most cases, or should I add something to make security stronger?