tony9099
tony9099

Reputation: 4727

Safe connection between device and server

The app does not use login username/password feature.. assume whatsapp, or viber.

Howe do these devices make a secure connection to the server and fetch the data, in a way, that even someone else, found out the POSTed data and used them, can not get the info ?

I am using HTTP.

It's a PHP server.

Upvotes: 0

Views: 46

Answers (1)

OnoSendai
OnoSendai

Reputation: 3970

This question is kind of open-ended. Secure communication is often device-independent, based on the protocol stack in use.

From lower- to higher-level:

  • TCP connection: It may implement SSL.
  • HTTP protocol: It may implement HTTPS.
  • GET/PUT operations: You may implement reversible encryption on your payload, like Rijndael. This way, if someone actually gets the POST data, it may be unreadable without the proper decrypt function.

Of course you may combine encryption implementations. Just remeber that you may be adding considerable overhead to the whole process.

Upvotes: 1

Related Questions