D. Security Basics
Warning!
Entire books have been written on this topic. Rather that attempt to cover the content of a book in a few pages, this primer hopes to introduce the material and provide the absolute least amount of knowledge needed to get started with Django Unleashed. I recommend using a full reference when programming or if any of this information proves to be unclear.
The main tenet of security on the Internet can be boiled down to one sentence: Don’t trust the user.
Security, more than anything, is a mindset. Assume that every user is out to break your site and steal your data. The goal is to figure out what data is important, who you’re protecting the data from, and how to do so.
Django provides many protections from well-known ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access