8 posts about CSRF protection by 6 contributors.
Know CSRF protection? Share what you know with developers who are learning it.
Protect your web apps from CSRF attacks! Learn step-by-step implementation using anti-CSRF tokens, SameSite cookies, and secure coding practices. Stay secure!
Protect web apps from CSRF attacks! Learn techniques like CSRF tokens, SameSite cookies, and request validation to prevent unauthorized actions. Enhance your backend security.
Protect web apps! Learn best practices to prevent SQL injection, XSS, CSRF, and more. Secure coding, authentication, & monitoring are key for robust security.
Protect your ASP.NET Core apps from CSRF attacks! This practical guide covers anti-forgery tokens, Razor, APIs, Angular, cookies, and real-world implementation patterns.
Learn the best practices for securely storing JWT tokens in web applications. This guide compares localStorage and cookies, highlighting the security implications of each approach. Discover how to protect your Next.js, React, Angular, or Node.js app from XSS and CSRF attacks. Choose the right method for your application's security needs, with examples and security tips for both options, ensuring maximum security for user authentication.
This article details built-in mechanisms like anti-forgery tokens, SameSite cookies, and global validation to safeguard authenticated users. Learn how to implement CSRF protection in Razor Pages, MVC, AJAX, and Web APIs, ensuring your application is secure against unauthorized actions.
Learn how to prevent session hijacking and cookie theft in ASP.NET Core using secure cookie settings, short lifetimes, security-stamp validation, XSS and CSRF defenses, MFA, and session monitoring.
Enhance the security of your ASP.NET Core projects with these essential rules and best practices. Learn how to protect against common vulnerabilities like XSS, CSRF, and SQL injection. Implement robust authentication, secure cookie handling, and proper secret management. Keep your application safe by staying updated and applying the principle of least privilege.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterPublish an article in this category and earn +1,000 SHARP when it is approved.
Write an article