The service interface of the APP is used. It is very easy to capture the APP interface. If there are no preventive measures, can someone else directly open the interface? I imagine that the server and the APP share a set of encryption algorithms to generate strings, and the server is allowed after comparison. However, this must be dynamic. What is not... is the service interface of the APP.
It is very easy to capture the APP interface. If there are no preventive measures, can someone else directly open the interface?
I imagine that the server and the APP share a set of encryption algorithms to generate strings, and the server is allowed after comparison.
However, this should be dynamic. I do not know any good algorithms or other better methods to verify the security of the client.
Reply content:
The service interface of the APP is used.
It is very easy to capture the APP interface. If there are no preventive measures, can someone else directly open the interface?
I imagine that the server and the APP share a set of encryption algorithms to generate strings, and the server is allowed after comparison.
However, this should be dynamic. I do not know any good algorithms or other better methods to verify the security of the client.
The server performs permission authentication. Try oauth, wsecurity, or the simplest http basic.
To ensure the security of the transport layer, use the https protocol.
Https uses an x509 Certificate.
You need to implement it on your own. The principle is to use asymmetric key algorithms,
The server sends data to the client: the server uses the private key for encryption and the client uses the public key for decryption.
The client sends data to the server: the client uses the public key for encryption and the server uses the private key for decryption.