11.07.2015 Views

Improving Web Application Security: Threats and - CGISecurity

Improving Web Application Security: Threats and - CGISecurity

Improving Web Application Security: Threats and - CGISecurity

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

772 <strong>Improving</strong> <strong>Web</strong> <strong>Application</strong> <strong>Security</strong>: <strong>Threats</strong> <strong>and</strong> CountermeasuresTo configure URLScan, edit URLScan.ini in %Windir%\System32\inetsrv\urlscan\.To allow debugging with URLScan, add DEBUG to the [AllowVerbs] section inURLScan.ini as shown below.[AllowVerbs]GETHEADPOSTDEBUGPitfallsIf you install URLScan, note the following pitfalls:● When you debug an application by using Visual Studio.NET, you may see thefollowing error:Microsoft Development Environment:Error while trying to run project: Unable to start debugging on the <strong>Web</strong> server.Could not start ASP.NET or ATL Server debugging.Verify that ASP.NET or ATL Server is correctly installed on the server. Wouldyou like to disable future attempts to debug ASP.NET pages for this project?You should see a log entry similar to the one shown below in URLScan.login the \WINNT\system32\inetsrv\urlscan folder.[01-18-2003 - 22:25:26] Client at 127.0.0.1: Sent verb 'DEBUG', which is notspecifically allowed. Request will be rejected.●●Requests that you expect to work might get blocked.You may not be able to create new <strong>Web</strong> projects in Visual Studio .NET becauseyou use characters in the project name that URLScan rejects. For example, thecomma (,) <strong>and</strong> the pound sign (#) will be blocked.If you experience errors during debugging, see Microsoft Knowledge Base article306172, “INFO: Common Errors When You Debug ASP.NET <strong>Application</strong>s in VisualStudio .NET,” at http://support.microsoft.com/default.aspx?scid=kb;EN-US;306172.Secure SQL Server <strong>and</strong> MSDETo update SQL Server <strong>and</strong> MSDE, you must:●●Apply patches for each instance of SQL Server <strong>and</strong> MSDEAnalyze SQL Server <strong>and</strong> MSDE security configuration

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!