Security for Python training course

This intensive courses equips Python developers to build secure web applications. From cryptographic fundamentals to real-world implementation patterns, you'll learn how to identify vulnerabilities and implement robust security measures at every layer of your application with a Defence in Depth approach

JBI training course London UK

"Our tailored course provided a well rounded introduction and also covered some intermediate level topics that we needed to know. Clive gave us some best practice ideas and tips to take away. Fast paced but the instructor never lost any of the delegates"

Brian Leek, Data Analyst, May 2022

Public Courses

03/08/26 - 2 days
£2250 +VAT
14/09/26 - 2 days
£2250 +VAT
26/10/26 - 2 days
£2250 +VAT

Customised Courses

* Train a team
* Tailor content
* Flex dates
From £1200 / day
EDF logo Capita logo Sky logo NHS logo RBS logo BBC logo CISCO logo
JBI training course London UK

  • Core Python Security Fundamentals
  • Cryptography and Data Security
  • Authentication and Authorization
  • Secure Coding Practices
  • Network Security
  • Infrastructure Security
  • Security Tools and Testing
  • Operational Security

 

Core Python Security Fundamentals

  • Security principles and defence in depth strategies with Python frameworks
  • Implementing OWASP Top 10 protections in Django and Flask applications
  • Security principles and defence in depth strategies
  • Principles from The OWASP Web Security Testing Guide
  • Threat modelling and the security requirements document
  • The principles of least privilege and deny by default
  • Zero trust architecture fundamentals
  • Building zero trust architecture with OpenZiti's Python SDK


Cryptography and Data Security

  • Hashing, encryption, and digital signatures
  • Symmetric encryption and public key encryption
  • Secure password storage and management
  • Using Python's hashlib and hmac modules for secure hashing
  • Using Python's cryptography libraries correctly
  • Data encryption at rest and in transit
  • Data encryption at rest using Django's encrypted model fields and SQLAlchemy StringEncryptedType

 

Authentication and Authorization

  • Secure session management
  • OAuth 2.0 and JWT for authentication
  • Oauth2 with the Python library authlib
  • JWT handling with PyJWT and managing token lifecycles
  • Role-based access control (RBAC), plus alternatives
  • Multi-factor authentication
  • Managing access tokens and permissions


Secure Coding Practices

  • Proven security with modern cryptography algorithms
  • Protection against SQL injection
  • Input validation and sanitisation
  • Using secrets vs random for cryptographic operations
  • Sanitizing logs in Python applications
  • Django template escaping and Flask/Jinja2 for XSS prevention
  • Preventing timing attacks and token prediction attacks
  • Cryptographically secure randomness
  • Cross-site scripting (XSS) prevention
  • Cross-site request forgery (CSRF) protection
  • Secure file handling and upload validation
  • Preventing TLS downgrade attacks


Network Security

  • Networking fundamentals
  • TLS/SSL implementation and certificate management
  • Secure API design and implementation
  • WebSocket security
  • Network architecture and segmentation
  • Firewalls, routers, network interfaces
  • Protocols, HTTP & TLS, with the Python standard library
  • Application deployment
  • Software Defined Networking


Infrastructure Security

  • Container security best practices
  • Secure deployment patterns
  • Network interfaces and routing
  • Building DMZ architectures for Python web applications
  • Virtual private networks (VPN)


Security Tools and Testing

  • Static analysis with bandit and ruff
  • Dependency scanning using pip-audit
  • Automated security testing integration
  • Container scanning and runtime protection
  • Code review practices for security


Operational Security

  • Live security alerts
  • Statutory duties around security
  • Monitoring Python applications for security issues
  • Security patch management for Python applications
  • Updating and patching strategies
JBI training course London UK

  • Python Developers
  • Software Engineers
  • Security Professionals (SecDevOps)
  • Software Architects
  • Data Scientists & Machine Learning Engineers
  • Quality Assurance Engineers
  • Developers Transitioning to Security
  • Ethical Hackers and Penetration Testers
  • Project Managers and Product Owners

5 star

4.8 out of 5 average

"Our tailored course provided a well rounded introduction and also covered some intermediate level topics that we needed to know. Clive gave us some best practice ideas and tips to take away. Fast paced but the instructor never lost any of the delegates"

Brian Leek, Data Analyst, May 2022



“JBI  did a great job of customizing their syllabus to suit our business  needs and also bringing our team up to speed on the current best practices. Our teams varied widely in terms of experience and  the Instructor handled this particularly well - very impressive”

Brian F, Team Lead, RBS, Data Analysis Course, 20 April 2022

 

 

JBI training course London UK

Certification


Every delegate will be entitled to a certificate of achievement on completion of the course.

If you are missing your certificate - please use the link below to apply - you can also use this link to sign up for the JBI Training newsletter to receive technology tips directly from our instructors - Analytics, AI, ML, DevOps, Web, Backend and Security.
 



Security breaches can devastate organizations, compromise user data, and destroy trust. As web applications become increasingly central to business operations, secure development practices are not optional – they're essential.

This intensive course equips Python developers with both the theoretical understanding and practical skills needed to build secure web applications. From cryptographic fundamentals to real-world implementation patterns, you'll learn how to identify vulnerabilities and implement robust security measures at every layer of your application.

The course covers important security principles, and mitigating specific vulnerabilities including The OWASP Top Ten, but is focused on secure Python web application development.

This is a practical and hands on, two day, course. Learn how to use the security tools that come in the Python standard library.

Modules covered include:

* hashlib
* hmac
* secrets
* random
* socket
* ssl

Web application frameworks:

* Security features in web application frameworks for API servers and web applications
* How to secure data in Django, Flask and other popular web application frameworks
* Secure deployment practises with containers and application servers (WSGI or ASGI)

Third party libraries for cryptography and secure network access:

* authlib
* cryptography
* httpx and requests
* websocket
* jwt
* OpenZiti for application level zero trust architecture
* certifi for TLS certification verification

Tooling for secure Python development and as part of your CI pipelines:

* uv/pipenv
* pip-audit
* bandit
* ruff
* mypy
* dependabot/renovate
* Security testing

Network security with TLS:

* How, why and when to use TLS
* How TLS works
* mTLS for enhanced security
* Generating self-signed certificates for local development, with the cryptography library



 

 

JBI Training offers a broad range of cyber security and application security courses covering both technical and managerial disciplines. Available courses include Threat Modelling for Developers, Secure Web Application Development, OWASP Top 10 Practical Web Application Security, TLS and PKI in Practice, Secure Coding for Java and JavaScript, Secure Coding in ASP.NET, Secure Coding in PHP, Security for Python, Secure by Design, Post Quantum Cryptography, Social Engineering, Information Security, Cyber Attack Simulation, PCI DSS Compliance, CISSP, CISM, CISA, Certificate of Cloud Security Knowledge (CCSK), and Certificate of Cloud Auditing Knowledge (CCAK). All courses are available as scheduled classroom sessions in London, as live online instructor-led training, or as customised onsite programmes for development and security teams.
Threat modelling is a structured process used to identify security weaknesses in software design and architecture before any code is written. It involves creating an abstraction of the system, profiling potential attackers and their methods, and producing a catalogue of threats so that countermeasures can be defined and prioritised early in the development lifecycle. It is particularly important for developers and architects because it identifies design flaws that code reviews and testing alone may miss, reduces the cost of remediation by detecting issues before deployment, and integrates naturally into Agile and DevOps workflows. JBI's Threat Modelling for Developers course is language-agnostic and suitable for teams working with any modern development process.
The OWASP Top 10 is a widely recognised list of the most critical security risks to web applications, published by the Open Web Application Security Project. It covers vulnerabilities such as injection attacks, broken authentication, insecure design, security misconfigurations, vulnerable components, and others that are commonly exploited in real-world attacks. JBI offers a dedicated OWASP Top 10 Practical Web Application Security course, and OWASP principles are also embedded in the Secure Web Application Development and Threat Modelling courses. These courses are suitable for developers, security engineers, and QA professionals who need to understand and address common web application vulnerabilities.
Yes. A significant part of JBI's security curriculum is specifically designed for developers and software engineers rather than for dedicated security professionals. Courses such as Threat Modelling for Developers, Secure Web Application Development, Secure Coding for Java and JavaScript, Secure Coding in ASP.NET, Secure Coding in PHP, and Security for Python are aimed at development teams who need to build security into their code and architecture from the outset. These courses can be delivered as customised onsite programmes for software teams, tailored to the languages, frameworks, and development processes the team already uses.
JBI offers preparation courses for several internationally recognised security certifications. These include CISSP (Certified Information Systems Security Professional), CISM (Certified Information Security Manager), CISA (Certified Information Systems Auditor), Certificate of Cloud Security Knowledge (CCSK), and Certificate of Cloud Auditing Knowledge (CCAK). These courses are designed to prepare candidates for their respective examinations and are suitable for information security managers, auditors, risk professionals, and senior technical staff who want to demonstrate formal competence in information security management and cloud security.
Post Quantum Cryptography (PQC) refers to cryptographic algorithms designed to be resistant to attacks from quantum computers, which are expected to eventually break many of the encryption standards currently in use — including RSA and elliptic curve cryptography. Organisations in finance, government, defence, and critical infrastructure are beginning to assess and plan their migration to quantum-resistant algorithms in response to guidance from standards bodies including NIST. JBI's Post Quantum Cryptography course covers the threat landscape, the current state of quantum computing, the new PQC standards, and practical approaches to transitioning cryptographic infrastructure.
The Secure by Design course covers the principles and practices of building security into software and systems from the earliest stages of design, rather than adding it as an afterthought after development. Topics include security architecture patterns, design principles such as least privilege and defence in depth, risk-based design decisions, integrating security requirements into user stories and system specifications, and applying secure design thinking within Agile and DevOps environments. The course is aligned with current guidance from bodies including NCSC (National Cyber Security Centre) and is relevant for architects, senior developers, and technical leads.
Yes. All of JBI's security courses can be delivered as customised onsite or online programmes for corporate teams. Content can be tailored to the organisation's technology stack, development language, industry sector, compliance requirements, and security maturity level. JBI has delivered security training for organisations across financial services, healthcare, government, media, and technology, including clients such as the BBC, NHS, Cisco, RBS, and Capita. Organisations with specific regulatory or compliance obligations — such as PCI DSS, GDPR, or sector-specific frameworks — can request content that addresses those requirements directly.
TLS (Transport Layer Security) is the protocol used to encrypt data in transit across networks, and is the technology behind HTTPS and secure communications in modern applications. PKI (Public Key Infrastructure) is the framework of certificates, certificate authorities, and key management processes that underpin TLS and other certificate-based security mechanisms. JBI's TLS and PKI in Practice course covers how these technologies work in real deployment scenarios, common misconfigurations and vulnerabilities, certificate lifecycle management, and practical implementation for developers and infrastructure teams. This is particularly relevant for organisations managing APIs, microservices, internal networks, or customer-facing web applications.
Yes. JBI's security training content is continuously reviewed and updated to reflect the latest threat landscape, newly published vulnerabilities, updated standards, and current regulatory guidance. This includes updates to OWASP guidance, changes to cryptographic standards, emerging attack techniques such as AI-assisted social engineering and supply chain attacks, and the latest PQC standards from NIST. Delegates learn skills and concepts that are directly applicable to the security challenges organisations face today.

CONTACT
+44 (0)20 8446 7555

[email protected]

 

Copyright © 2026 JBI Training. All Rights Reserved.
JB International Training Ltd  -  Company Registration Number: 08458005
Registered Address: Wohl Enterprise Hub, 2B Redbourne Avenue, London, N3 2BS

Modern Slavery Statement & Corporate Policies | Terms & Conditions | Contact Us

POPULAR

AI training courses                                                                        CoPilot training course

Threat modelling training course   Python for data analysts training course

Power BI training course                                   Machine Learning training course

Spring Boot Microservices training course              Terraform training course

Data Storytelling training course                                               C++ training course

Power Automate training course                               Clean Code training course