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.

468 Part IV: Securing Your Network, Host, <strong>and</strong> <strong>Application</strong>Table 16.4 Snapshot of a Secure <strong>Web</strong> Server (continued)ComponentCharacteristicsSites <strong>and</strong> VirtualDirectories (continued)Folders with Anonymous access restrict Write <strong>and</strong> Execute <strong>Web</strong>permissions.Secured folders that allow content authoring allow Script Source Access<strong>Web</strong> permissions while all other folders do not.FPSE is removed if not required.Script Mappings Unused script-mappings are mapped to 404.dll: .idq, .htw , .ida , .shtml ,.shtm , .stm , idc, .htr , .printer.Note The 404.dll is installed when you run the IIS Lockdown tool.ISAPI FiltersIIS MetabaseMachine.configHttpForbiddenH<strong>and</strong>lerRemotingUnused ISAPI filters are removed.Access to IIS Metabase is restricted with NTFS permissions.Banner information is restricted; the content location in HTTP responseheaders is hidden.Protected resources are mapped to System.<strong>Web</strong>.HttpForbiddenH<strong>and</strong>ler.NET Remoting is disabled.traceTrace information <strong>and</strong> detailed error information is not returned to theclient:compilationDebug compiles are disabledcustomErrorsError details are not returned to the client:A generic error page writes errors to the Event Log.sessionStateSession State is disabled if not needed:

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

Saved successfully!

Ooh no, something went wrong!