Prevent NetworkServerTips for hacking:
1. PairDatabasePerform Security Configuration, such as the account/password/permission used by your program to connect to the database. If you are browsing news, use read-only permission, you can use different accounts/permissions for different modules. In addition, you must strictly Configure which stored procedures can be called for the database, and disable all unused stored procedures (especially cmd ), prevent system calling by using database Stored Procedures after injection;
2. Strictly filter parameters submitted by the client, including the parameter length and type;
3. Strictly protect the Administrator's background. If conditions are met, you should set it to only allow access from specific IP addresses (for example, only access from the Administrator's network segment is allowed). This depends on the actual situation;
4. Perform Security Configuration on the operating system to prevent system calling after injection. For example, transfer all the files "cmd.exe/tftp.exe/ftp.exe/net.exe" to other directories, strictly assign permissions to directories;
5. Set network access control;
6. If conditions are met, configure HTTP Content Filtering to filter out viruses and malicious scripts;
7. If necessary, you can select HTTPS to prevent many injection tools from scanning. As you can see, in general, the program mainly considers permissions and parameter filtering. Permissions mainly include IIS browsing permissions and Database Calling permissions. In addition, security configurations of databases and operating systems must be considered.
The database configuration in the network server is extremely important. I hope you will pay more attention to it.