Skip to content
ITNotes ITNotes

From Terminal to Cloud

  • AI
  • DevOps
  • HomeLab
  • Linux
  • Networking
  • Programming
  • English
    • English
    • Tiếng Việt
    • 日本語
  • AI
  • DevOps
  • HomeLab
  • Linux
  • Networking
  • Programming
  • English
    • English
    • Tiếng Việt
    • 日本語
Home » csrf
Security tutorial - IT technology blog
Posted inSecurity

Preventing CSRF Attacks: Practical Exploitation and Defense with Anti-CSRF Tokens and SameSite Cookies

October 26, 2026
When an authenticated user visits an external site, attackers can trigger unauthorized state changes on their behalf. Here is how to configure HMAC-backed anti-CSRF tokens and SameSite cookie policies in Node.js to block forgery attempts.
Read More
Security tutorial - IT technology blog
Posted inSecurity

How to Protect Web Apps from XSS and CSRF Vulnerabilities: A Production Retrospective

March 23, 2026
After six months hardening a production web app against XSS and CSRF attacks, this guide covers what actually works: output encoding, nonce-based CSP, CSRF tokens, SameSite cookies, and security headers — with practical Python and Nginx code examples.
Read More
Copyright 2026 — ITNotes. All rights reserved.
Privacy Policy | Terms of Service | Contact: [email protected] DMCA.com Protection Status
Scroll to Top