• Justin Yao (Veracode, Inc.)

    Great question, SessionStorage is local storage. The recommended best practice is to never store any sensitive information on local storage, because there is no security controls to ensure the data is stored securely at rest. Additionally, storing information in SessionStorage makes it very easily accessible to javascript, which means any XSS flaw on the application will be able to offload any data within SessionStorage.

     

    The recommendation is to create a session, and store the information securely on the Server-side.

    Expand Post

Topics (1)

No articles found
Loading

Ask the Community

Get answers, share a use case, discuss your favorite features, or get input from the community.