Giter Club home page Giter Club logo

auth-4-credentials-cookies-cors's Introduction

Credentials, Cookies, and CORS Quiz.

Coookieee! Om Nom Nom!

Instructions

With your partner, in words both of you will understand 6 months from now, answer the following questions.

How would you best summarize credentials when it comes to auth?

Credentials are the proof identifiers which help authorize the users request.

Describe how cookies are exchanged between client and server. Make sure you touch on the technical implementation of cookies.

Cookies are stored on client side but shared with Sever to keep memory of the visit of a webpage for a better user experience. Cookies are limited to 4 kilobytes of data.

From the perspective of a developer, name some basic strengths of using cookies and some weaknesses.

Less information to store on server about the client, but users can delete or choose to not store cookies.

What is the difference between a session cookie and a persistant cookie?

The expiration is the session user is on, and will end after closing browser window. While persistant cookies are stored until they expires.

What is your opinion of the same-origin policy? Support your opinion with some evidence.

same-origin policy is convinient as it allows for second page access to data, the cookies are protected as long as a strict separation between content is provided and maintained on the client side.

Based on what you know, how would you explain CORS?

This is browsers default security rules. It allows one site to have permission to access the cookies set by another site.

auth-4-credentials-cookies-cors's People

Contributors

analogghost avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.