The PHP interface encrypts the PHP page and acts as a common interface to interact with the database. the client calls the ajax function of jquery to obtain the data of this interface. If I call this interface page directly, the data on this interface page will be completely exposed. I would like to ask, in general, how does one implement encryption and decryption between the two companies? (For example, the algorithm used for PHP interface encryption
The PHP page acts as a common interface to interact with the database. the client calls the ajax function of jquery to obtain the data of this interface.
If I call this interface page directly, the data on this interface page will be completely exposed.
I would like to ask, in general, how does one implement encryption and decryption between the two companies? (For example, algorithms or tools used)
------ Solution --------------------
The client is jquery. without other controls, decryption is performed in js code.
So what is the use of encryption? Can't the code be solved?
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