O'Reilly logo

Sams Teach Yourself Django in 24 Hours by Brad Dayley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 15. Adding Website Security

<feature><title>What You’ll Learn in This Hour</title> <objective>

How to add login functionality

</objective>
<objective>

How to add logout functionality

</objective>
<objective>

How to verify authentication

</objective>
<objective>

How to verify permissions

</objective>
<objective>

How to limit access to generic views

</objective>
</feature>

Hour 14, “Managing Site Users,” covered creating users and groups and setting permissions for both. This hour discusses securing the website by forcing users to be authenticated and logged into the site to gain access to certain pages. It also discusses how to use permissions to verify that users can view and change content.

Implementing User Logins

The first step in adding security ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required