This course will be retired on June 1, 2025.
Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Start a free Courses trial
to watch this video
This course focused on three specific skills, cookies, tokens and most important, refactoring. Cookies are used to store information on a user's device, while tokens are used to represent something else such as user information and what they can access. As you continue to learn new programming techniques, you'll continue to use refactoring to keep your code updated and secure.
Additional Resources
- Review session based user authentication, in our Introduction to User Authentication course.
- Beginning Security Track
-
Stormpath
-
Encode or Decode JWTs
-
JSON Web Token Inspector
- Cookies vs Session
- Cross Site Scripting (XSS)
-
Cross Site Request Forgery (CSRF)
Suggested Enhancements
- Add or Change the messaging.
- Add additional authorization checks.
- Add more information to your books, such as category, isbn or cover image.
- Allow users to leave comments on books.
- Add an additional role that only allows users to vote, and maybe add comments, but not add books.
- Change the voting system to be 5 stars instead of up/down voting.
- Allow administrators to create users.
- Share your book voting site with friends and family and allow them to give you additional feature suggestions.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up