1 / 16

Designing Security In Web Applications

Designing Security In Web Applications . Andrew Tomkowiak 10/8/2013 UW-Platteville Software Engineering Department tomkowiaka@uwplatt.edu. I will talk about ways to design a web application to be more secure and some basic guidelines to follow when developing web applications.

ronli
Download Presentation

Designing Security In Web Applications

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Designing Security In Web Applications Andrew Tomkowiak 10/8/2013 UW-Platteville Software Engineering Department tomkowiaka@uwplatt.edu

  2. I will talk about ways to design a web application to be more secure and some basic guidelines to follow when developing web applications. Web Applications

  3. Web Applications Authenticate Users http applications are stateless Design secure session management mechanisms

  4. Web Applications Vulnerabilities Input Validation Authentication Authorization Configuration Management Sensitive Data Session Management Cryptography Parameter Manipulation Exception Management Auditing and Logging

  5. Web Applications These systems need to have a significant amount of time spent on them in the design phase. Why?

  6. Web Application Input • Assume all input is malicious • Centralize your approach • Do not rely on client-side validation • Be careful with canonicalization issues • Constrain, Reject and sanitize your input

  7. Web Application Validate data for type, length, format and range. Sanitize- Strip excess null characters or spaces etc...

  8. Web Applications Authentication User names and passwords sent over secure channel(SSL) Credentials stored Credentials verified Authentication ticket to verify user after logon(cookie) Separate public and restricted areas. Use account lockout policies for end-user accounts. Support password expiration periods. Be able to disable accounts. Do not store passwords in user stores. Require strong passwords. Do not send passwords over the wire in plaintext. Protect authentication cookies

  9. Web Applications Authorization Use multiple gate keepers Restrict user access to system level resources Consider authorization granularity Hybrid model

  10. Web Applications Configuration Management Secure Administration interfaces Secure your configuration stores Maintain separate administration privileges Use least privileged process and service accounts

  11. Web Application Sensitive Data • Storing secrets • Do not store any keys or passwords in plain text • Retrieve data on demand • Secure the communication between client and server • Do not store data in cookies

  12. Web Application Session Management • Use SSL to protect session cookies • Encrypt the contents of the authentication cookies • Limit session lifetime

  13. Web Application Cryptography • Privacy • Authenticity • Integrity • Authentication

  14. Web Application Parameter Manipulation • Encrypt cookie state • Make sure that users do not bypass security checks • Validate all values sent from the client • Do not trust http header information

  15. Web Application Exception Management • Don’t give the client unnecessary information • Log detailed error messages • Catch exceptions and handle them • Buffer over flow attacks

  16. Web Application Logging Events • Log all key events • Secure log files • Back up and analyze log files • One application to use BIG-IP ASM

More Related