I. ASP. NETThe authentication method used with IIS to verify user creden (such as user name and password ):
1. Windows: basic, summary, or integrated Windows authentication (NTLM or Kerberos ).
2. Forms authentication. You can use this authentication in your applicationProgramCreate a logon page and manage authentication.
3. Customer certificate authentication
Ii. Basic Security Measures for ASP. NET websites:
1. Data is frequently performed;
2. Place the web server in a secure location and control file permissions;
3. Use Windows NTFS file system
4. Use a password with high security. It is recommended that you do not record the password on your computer and change the password frequently.
5. Ensure IIS security.
6. Disable unused ports and services and open the firewall.
7. Monitor System Event Logs,Monitor repeated login attempts to the system or excessive requests to the web server.
8.Use the latest security updates from Microsoft Windows and Internet Information Service (IIS), and any other updates from Microsoft SQL Server or other data sources that may be used by applications, keep the application server up to date.
9. prevent malicious user input
10. Use the "+" plus sign as few as possible to connect to the SQL string, and use stored procedures or parameter SQL statements.
11. Do not store key information in cookies, set a reasonable validity period, and encrypt the information in cookies.Set the secure and HTTPOnly attributes of cookieTrue.
12. restrict the size of uploaded files
< Configuration >
< System. Web >
< Httpruntime maxrequestlength = " 4096 " />
</ System. Web >
</ Configuration >
13. IIS is configured to use process adjustment to prevent excessive CPU consumption