reading-notes

Reading Notes

View the Project on GitHub simon-panek/reading-notes

Code 401: Class 08 - Access Control


Questions

  1. When is Basic Auth and Bearer Auth used? Basic authentication uses user name and a secret while Bearer uses a token. Bearer authentication is more secure.

  2. What does the JWT package do? JWT is an open source bearer token system for user authentication.

  3. Considerations for making and storing a secret? Never store un encrypted secrets in .git repositories. Place sensitive files in .gitignore. Default to minimum permissions for API’s. Create and use time stamped secrets that have a predetermined expiration. Don’t share secrets via messaging services.

Vocabulary

Encryption Method of converting information into a secret code

Token More secure form of authentication compared to a password

Bearer Clinet that holds a valid token

Secret Information known only to the two parties exchanging data

JSON Web Token Open source bearer token setup that involves a token with head.payload.signature, the signature verifies the content is received unchanged

Watch: RBAC Tutorial

Read: 5 Steps to RBAC

Read: Wiki - RBAC


Return to reading-notes Deployed Site

Return to reading-notes Mark Down