The previous article introduced you to "What is a callback function? How is it defined? what is the function? (Detailed explanation and examples) ", this article continues to introduce to you why PHP has security problems? What are the essence and three elements of safety issues?
Why does PHP have security issues?
Software security issues have been around for a long time, and software written in any language has more or less There may be some security issues.
Common security issues:
SQL injection
XSS attack
CSRF attack
The essence of security issues:
The design basis of all security solutions is based on trust Basically, if there is no trust, there will be no security at all. For example, a certain system has a login page. Why does it exist? It is because the people who use this system are uncertain. Therefore, in order to protect authorized users, you will see that many software have login pages. .Three elements of security issues:
Confidentiality: It is required that the content of the data cannot be leaked, and the usual approach is to encrypt.
The above is the detailed content of Why does PHP have security issues? What are the essence and three elements of safety issues?. For more information, please follow other related articles on the PHP Chinese website!