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.

10Building Secure ASP.NET Pages<strong>and</strong> ControlsIn This Chapter●●●●●●OverviewPreventing cross-site scripting (XSS) attacksPartitioning sites into public <strong>and</strong> restricted areasPreventing session hijacking <strong>and</strong> cookie replay attacksDeveloping secure Forms authenticationPreventing rich exception details from reaching the clientValidating input in <strong>Web</strong> pages <strong>and</strong> controls<strong>Web</strong> pages <strong>and</strong> controls are in your application’s front line of defense <strong>and</strong> can besubject to intense probing by attackers who are intent on compromising yourapplication’s security. These attacks are often ultimately aimed at back-end systems<strong>and</strong> data stores.Input data validation should be a top consideration when you build <strong>Web</strong> pagesbecause the majority of top application-level attacks rely on vulnerabilities in thisarea. One of the most prevalent attacks today is cross-site scripting (XSS), which ismore of an attack on your application’s users than on the application itself, but itexploits server-side application vulnerabilities all the same. The results can bedevastating <strong>and</strong> can lead to information disclosure, identity spoofing, <strong>and</strong> elevationof privilege.

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

Saved successfully!

Ooh no, something went wrong!