Andrii Ptashkohrai

Cybersecurity Engineer & AI Integration Specialist

Engineering Thesis: Web Application Security in Django

As the culmination of my engineering degree in Cybersecurity, this project serves as a comprehensive guide and practical implementation of Application Security (AppSec) principles. The objective was to bridge the gap between theoretical vulnerabilities and practical framework implementation by developing a secure-by-design web application using the Python Django framework.

🎓 Project Scope & Research

Modern web developers often lack the deep security knowledge required to harden their applications against sophisticated attacks. Through rigorous analysis of the Django framework’s internal security mechanisms, I established a framework of 33 definitive security practices essential for production-grade applications.

🛡️ Key Security Implementations

Rather than relying purely on theoretical research, I built a custom Django web application that actively enforced these 33 security practices. The implementation was divided into critical phases:

1. Authentication & Identity Management

2. Mitigation of OWASP Top 10 Threats

3. Secure Deployment Architecture (Nginx & SSL)

A secure application is useless if the deployment environment is vulnerable. I architected a secure production deployment environment:

📉 Conclusions & Takeaways

This engineering thesis proves that building secure applications requires a holistic approach—from the first line of Python code to the final Nginx server configuration. By standardizing these 33 security practices, the project provides a scalable blueprint for developers to integrate “Security by Design” into their software development lifecycle (SDLC), significantly reducing the attack surface of Django-based applications.