How can I prevent server interface theft?

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.