Skip to content

Commit

Permalink
Update link in Security docs (#6877)
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Norling <[email protected]>
  • Loading branch information
dzhavat and tnorling authored Mar 27, 2024
1 parent a726ecf commit 5ab83ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/msal-angular/docs/security.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Security

Tokens are accessible from Javascript since MSAL is using HTML5 storage. Default storage option is sessionStorage, which keeps the tokens per session. You should ask user to login again for important operations on your app.
You should protect your site for XSS. Please check the article here: [https://www.owasp.org/index.php/XSS\_(Cross_Site_Scripting)\_Prevention_Cheat_Sheet](<https://www.owasp.org/index.php/XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet>)
Tokens are accessible from JavaScript since MSAL is using HTML5 storage. Default storage option is `sessionStorage`, which keeps the tokens per session. You should ask user to login again for important operations on your app.
You should protect your site for XSS. Please check the article here: [Cross Site Scripting Prevention Cheat Sheet](<https://cheatsheetseries.owasp.org/cheatsheets/Cross_Site_Scripting_Prevention_Cheat_Sheet.html>)

0 comments on commit 5ab83ec

Please sign in to comment.