Conversation
|
Preview URLs External URLs (6)URL:
(comment last updated: 2025-03-12 21:30:24) |
mozfreddyb
left a comment
There was a problem hiding this comment.
Really love this article. I found some nits and have a somewhat positive take on fetch metadata header such that I would argue to include them.
Co-authored-by: Frederik Braun <fbraun+gh@mozilla.com>
Co-authored-by: Frederik Braun <fbraun+gh@mozilla.com>
|
Preview URLs Flaws (3)Note! 1 document with no flaws that don't need to be listed. 🎉 URL:
External URLs (6)URL:
(comment last updated: 2025-03-21 01:12:41) |
|
@mozfreddyb , I have attempted to address your comments. @hamishwillee you might also want a look to see if it still makes sense! |
|
This looks much better now imho :-) For some reason I can't "resolve" comments that I supplied, maybe because I'm not a reviewer from within the mdn content project. I can do another review in the coming days, but it would help if you could resolve those that you consider fixed for us both to keep track of changes. |
mozfreddyb
left a comment
There was a problem hiding this comment.
I can't formally approve: Only users with explicit access to this repository may approve pull requests.
But I approve of this anyway. 😁
Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
|
Still looks good to me. A couple of comments, but it is still approved (great to have the feedback from @mozfreddyb ). |
Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
|
In light of this merging, should https://developer.mozilla.org/en-US/docs/Web/Security/Practical_implementation_guides/CSRF_prevention be removed? I'd lean to yes. This here was written as a replacement to it after all. I think https://developer.mozilla.org/en-US/docs/Glossary/CSRF should link to the new article as well. |
|
Yes, I'm eventually going to get around to cleaning all that up! |
* upstream/main: (172 commits) chore: improve code style guide (mdn#38715) fix: typo on `Error.isError()` page (mdn#38754) plural consistency (mdn#38747) fix: auto-cleanup by bot (mdn#38695) Synchronize with BCD v5.7.4 (mdn#38709) Add docs for JS self-profiling API (mdn#37796) Better SameSite docs (mdn#38710) Added missing explanation for Array Literals (mdn#38745) Add a page on CSRF (mdn#38151) Fix description of several Range methods (mdn#38518) Remove extraneous span (mdn#38696) Add a definition for media containers, improve how the media files are defined and Remove wrong information (mdn#38721) Move visited selector guide to CSS selectors module (mdn#38642) Make JSON learning article more technically precise (mdn#38644) Make translate3d() interactive example code valid (mdn#38647) Clarity on Safari support for custom elements (mdn#38727) feat(css): Link to learning doc about text direction (mdn#38719) Fix typo (mdn#38739) move guide to module: inline formatting context (mdn#38637) Fix CSS pseudo-class lists (mdn#38576) ...
* Add a page on CSRF * Update landing page * ... * fix glossary macros * Bits and pieces * typo * correct words * simpler example * undo simpler example * Update files/en-us/web/security/attacks/csrf/index.md Co-authored-by: Hamish Willee <hamishwillee@gmail.com> * Update files/en-us/web/security/attacks/csrf/index.md Co-authored-by: Hamish Willee <hamishwillee@gmail.com> * Update files/en-us/web/security/attacks/index.md Co-authored-by: Hamish Willee <hamishwillee@gmail.com> * Review comments * Expand on SameSite problems * Add defense summary checklist * Update files/en-us/web/security/attacks/csrf/index.md * Update files/en-us/web/security/attacks/csrf/index.md Co-authored-by: Hamish Willee <hamishwillee@gmail.com> * Update files/en-us/web/security/attacks/csrf/index.md Co-authored-by: Frederik Braun <fbraun+gh@mozilla.com> * Update files/en-us/web/security/attacks/csrf/index.md Co-authored-by: Frederik Braun <fbraun+gh@mozilla.com> * Shorten section on CORS * Use form submission as an example of top-level navigation * Recommend using both Lax and Strict * Add a bit on Fetch metadata * Better link for SameSite * Update files/en-us/web/security/attacks/csrf/index.md Co-authored-by: Hamish Willee <hamishwillee@gmail.com> * Update files/en-us/web/security/attacks/csrf/index.md * Update files/en-us/web/security/attacks/csrf/index.md Co-authored-by: Hamish Willee <hamishwillee@gmail.com> * Update files/en-us/web/security/attacks/csrf/index.md Co-authored-by: Hamish Willee <hamishwillee@gmail.com> --------- Co-authored-by: Hamish Willee <hamishwillee@gmail.com> Co-authored-by: Frederik Braun <fbraun+gh@mozilla.com>
This PR adds a page on CSRF attacks.
It's potentially a replacement for https://developer.mozilla.org/en-US/docs/Web/Security/Practical_implementation_guides/CSRF_prevention, and compared with that page: