Secure Web Application Development
eBook - ePub

Secure Web Application Development

A Hands-On Guide with Python and Django

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

Secure Web Application Development

A Hands-On Guide with Python and Django

About this book

Cyberattacks are becoming more commonplace and the Open Web Application Security Project (OWASP), estimates 94% of sites have flaws in their access control alone.  Attacks evolve to work around new defenses, and defenses must evolve to remain effective.  Developers need to understand the fundamentals of attacks and defenses in order to comprehend new techniques as they become available. This book teaches you how to write secure web applications.

The focus is highlighting how hackers attack applications along with a broad arsenal of defenses.  This will enable you to pick appropriate techniques to close vulnerabilities while still providing users with their needed functionality.

Topics covered include:

  • A framework for deciding what needs to be protected and how strongly
  • Configuring services such as databases and web servers
  • Safe use of HTTP methods such as GET, POST, etc, cookies and use of HTTPS
  • Safe REST APIs
  • Server-side attacks and defenses such as injection and cross-site scripting
  • Client-side attacks and defenses such as cross-site request forgery
  • Security techniques such as CORS, CSP
  • Password management, authentication and authorization, including OAuth2
  • Best practices for dangerous operations such as password change and reset
  • Use of third-party components and supply chain security (Git, CI/CD etc)

  • What You'll Learn


    • Review the defenses that can used to prevent attacks
    • Model risks to better understand what to defend and how
    • Choose appropriate techniques to defend against attacks
    • Implement defenses in Python/Django applications

    Who This Book Is For

    • Developers who already know how to build web applications but need to know more about security
    • Non-professional software engineers, such as scientists, who must develop web tools and want to make their algorithms available to a wider audience.
    • Engineers and managers who are responsible for their product/company technical security policy

    Frequently asked questions

    Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
    At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
    Perlego offers two plans: Essential and Complete
    • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
    • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
    Both plans are available with monthly, semester, or annual billing cycles.
    We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
    Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
    Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
    Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
    Yes, you can access Secure Web Application Development by Matthew Baker in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming in Python. We have over one million books available in our catalogue for you to explore.

    Information

    Table of contents

    1. Cover
    2. Front Matter
    3. 1. Introduction
    4. 2. The Hands-On Environment
    5. 3. Threat Modelling
    6. 4. Transport and Encryption
    7. 5. Installing and Configuring Services
    8. 6. APIs and Endpoints
    9. 7. Cookies and User Input
    10. 8. Cross-Site Requests
    11. 9. Password Management
    12. 10. Authentication and Authorization
    13. 11. OAuth2
    14. 12. Logging and Monitoring
    15. 13. Third-Party and Supply Chain Security
    16. 14. Further Resources
    17. Back Matter