abhiabhi94 / blog

A django based blog.
https://www.hackadda.com
MIT License
1 stars 1 forks source link

Make a middleware to allow only sanctioned ip to view while development server is exposed #100

Open abhiabhi94 opened 4 years ago

abhiabhi94 commented 4 years ago

Currently, when the development is exposed to the world, anyone and everyone can view it. With DEBUG=TRUE, it can create security issues. Write a middleware to allow only sanctioned IPs to view the server.