| Row 51: |
Row 51: |
|
These common measures can provide the Apache Server with a basic secure operating environment. Obviously, we need to further refine the implementation to develop a security configuration solution that conforms to the actual application. |
|
These common measures can provide the Apache Server with a basic secure operating environment. Obviously, we need to further refine the implementation to develop a security configuration solution that conforms to the actual application. |
|
|
|
|
| - |
=== 2. PHP Security settings === |
+ |
======II. PHP security settings====== |
|
+ |
|
|
The server cannot prevent all security issues, such as program vulnerabilities, user input forms, and PHP file permissions. |
|
The server cannot prevent all security issues, such as program vulnerabilities, user input forms, and PHP file permissions. |
|
You can also use some means to confuse hackers or those with ulterior motives. |
|
You can also use some means to confuse hackers or those with ulterior motives. |
| Row 141: |
Row 141: |
|
To make this method take effect, you must change the extension of the PHP file to the above extension. In this way, security is improved through Hiding, although the defense capability is low and there are some shortcomings. |
|
To make this method take effect, you must change the extension of the PHP file to the above extension. In this way, security is improved through Hiding, although the defense capability is low and there are some shortcomings. |
|
|
|
|
| - |
=== 3. Mysql database security settings === |
+ |
====== 3. Mysql database security settings====== |
|
|
|
|
|
PHP itself cannot protect database security. The following section describes how to use a PHP script to perform basic database access and operations. Remember a simple principle: in-depth defense. The more database protection measures, the more difficult the attacker to obtain and use the information in the database. Correct design and application database can reduce the fear of attacks. |
|
PHP itself cannot protect database security. The following section describes how to use a PHP script to perform basic database access and operations. Remember a simple principle: in-depth defense. The more database protection measures, the more difficult the attacker to obtain and use the information in the database. Correct design and application database can reduce the fear of attacks. |