A middleware that lets Django handle the security and leaves the coding to you.