Website security issues developed by PHP + Mysql?

Source: Internet
Author: User
Websites developed using PHP + Mysql should pay attention to security issues? Hope to see more ~ Thanks to the websites developed with PHP + Mysql, what security issues should we pay attention? Hope to see more ~ Thanks

Reply content:

Websites developed using PHP + Mysql should pay attention to security issues? Hope to see more ~ Thanks

1. Perform Security filtering on user input
2. Disable PHP dangerous functions
3. Disable PHP error prompt
4. Disable super global variables in PHP
5. Pay attention to XSS attacks
6. Avoid SQL Injection
7. Upload Verification
...

The following issues need to be noted:
1. SQL Injection
2. XSS
The preceding two types of attacks are prevented by filtering input variables and escaping output variables. We recommend that you use the whitelist mechanism.
3. File Inclusion
This attack is triggered when dynamic files are included and variables are not filtered. For more information, see the article I wrote.
4. Path Traversal
Improper configuration file settings may cause this vulnerability. For more information, see the article I wrote.
5. File Upload Vulnerability
Allowing users to upload arbitrary files may cause attackers to inject dangerous content or malicious code. For more information, see this article on sebug.

Finally, I suggest you read this article: PHP vulnerability mining ideas + instances.

Pay attention to the Framework bug used

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.