• Posts
  • Timeline & Authors
  • Followers
  • Consultation
    • Queries
    • Video Consultations (You have to give)
    • Google Calendar (consultations booked by you)
  • Login
Tweet      
Client-Side-Data-Stores
# web security   

Posted on :13 June 2022,    Page views:698
Nishant Anand
I am technical architect with around 18 years of experience in telecom , banking and health care domain. I was part of the founding team of Drishti and currently CTO at affordplan
Consult     Send Query         

  • local stroage. 
    • local storage is used for storing and retrieving key/value data on browser.
    • local storage follows same origin policy (SOP). ie different domains cannot access each other local storage.
    • data persists in local storage even if the browser tab is closed.
    • local stroage is prone to xss attack.
  • cookies
    • http only cookies cannot be read/manipulated via scripts hence cannot be stolen via xss attack.
  • session storage : similar to local storage but session storage persists data only until tab is closed.
  • IndexedDB : this is found in all major browsers.

Specify your gmail id

(useful when you have multiple accounts)