How do I make the data loaded by PHP safe during transfer?
I am allowing authorized users to upload image files using my PHP application. Supposing I have created the necessary protection to make sure the file itself is valid, is there any way to intercept the http file in any way? If so, how can I secure the file transfer? Will HTTPS go?
In addition, the web server running the application can only be accessed by authenticated users. Does this mean that the HTTP data stream is also secure? It seems to me that this is so.
+1
a source to share
4 answers
If there is Main in The Middle , it can sniff the contents of the transferred file. You must use a secure connection to prevent this. So HTTPS will be the answer.
+1
a source to share