Skip to content

Commit

Permalink
Clarify V50.4 section text (#2481)
Browse files Browse the repository at this point in the history
  • Loading branch information
tghosth authored Jan 26, 2025
1 parent aef3084 commit 5562daf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions 5.0/en/0x50-V50-Web-Frontend-Security.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,11 @@ HTTP responses must include security headers to set rules to how browsers can se

## V50.4 Browser Origin Separation

When accepting a request on the server side, we need to be sure it is initiated by the application itself or by a trusted party.
When accepting a request to sensitive functionality on the server side, we need to be sure it is initiated by the application itself or by a trusted party and has not been forged by an attacker.

The keywords here are browser security policies like Same Origin Policy for JavaScript and also SameSite logic for cookies.
Sensitive functionality in this context could include accepting form posts for authenticated and non-authenticated users (such as an authentication request), state changing operations, resource-demanding functionality (such as data export), etc.

The key protections here are browser security policies like Same Origin Policy for JavaScript and also SameSite logic for cookies. Another common protection is the CORS preflight mechanism. This mechanism will be critical for endpoints designed to be called from a different origin, but it can also be a useful request forgery prevention mechanism for endpoints which are not designed to be called from a different origin.

The category should contain requirements with ideas:

Expand Down

0 comments on commit 5562daf

Please sign in to comment.