Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

IIS error response message and how to block it

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Hackers always uses a variety of methods to detect your site to get target information when you step on it. One of them is to get some configuration information about the site with the response of http. Here we talk about how it makes corresponding defenses on the Web server.

1. Custom IIS error code response message

The name of the site here is open

Open the IIS Manager, right-click open-Properties on the site you want to edit, and a dialog box pops up.

Locate the Custom errors tab

Select the HTTP error message to edit and edit it.

Note:

Edit Custom error Properties

Use this dialog box to edit custom error messages. Click the custom error message, and then click Edit.

Given security and other system conditions, some errors cannot be customized to point to URL. For example, error 401.2 ("unauthorized-login failed due to server configuration") does not allow custom error messages on the URL because if a server configuration exists, the URL containing the custom error file may not be accessible.

Message type

From the message Type list box, click the type of message you want to return to the client browser-default, file, or URL.

Default value

Click here to return the default HTTP 1.1 error to the client browser. File allows custom errors to be mapped to files by using fully qualified file names. URL allows custom errors to be mapped to URL. If the output type is URL, the URL

Must exist on the local server. Click OK to save your selections.

File / URL

Browse to or type the location of the file that is mapped to the custom error.

Browse

Click here to find directories and files.

Second, block the script message

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report