Category: Application Layer
-

Containerized Django Development III: CSRF and External Applications
In this final part of a three part series, we turn our attention to the final frontier: securing our GraphQL API. We’ll explore how to integrate CSRF protection seamlessly into our GraphQL endpoints, ensuring that our API remains resilient against unauthorized access and manipulation. Get ready to fortify your backend and complete your Django security…
-

Containerized Django Development II: CORS and Views
In the part of this three part series, we will embark on a journey to secure our Django application by delving into the intricacies of Cross-Origin Resource Sharing (CORS). We will explore the mechanisms behind CORS, tackle common challenges, and learn how to configure our Django backend to allow requests from trusted origins.
-

Containerized Django Development I: Mastering Docker, CORS, and CSRF
Tired of the endless cycle of setting up new Django development environments? I’ve been there! That’s why I created a reusable, Docker-powered toolkit that lets me spin up production-ready Django projects in minutes. In this article, I’ll share my secrets, including how I use Docker, Daphne, and Strawberry GraphQL to create a secure and efficient…