Download
designing security in web applications n.
Skip this Video
Loading SlideShow in 5 Seconds..
Designing Security In Web Applications PowerPoint Presentation
Download Presentation
Designing Security In Web Applications

Designing Security In Web Applications

106 Vues Download Presentation
Télécharger la présentation

Designing Security In Web Applications

- - - - - - - - - - - - - - - - - - - - - - - - - - - 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