Ever wondered how a website remembers who you are and what you’re allowed to do? This chapter is about the two guards of web security: authentication (proving your identity) and authorization (deciding what you can access). We’ll look at the tools that keep user accounts safe and permissions in check.