SC

Security

XSS, CSRF, auth, CORS, HTTPS โ€” protect your applications.

9 articles

Securityintermediate

Security Headers & Best Practices โ€” The Complete Guide

Learn how to configure HTTP security headers to protect your web application. Covers Content-Security-Policy, X-Frame-Options, HSTS, X-Content-Type-Options, Referrer-Policy, and Permissions-Policy.

16 min readยทApr 23, 2026
Securityintermediate

API Security Checklist โ€” Protecting Your Web APIs

A comprehensive guide to securing REST APIs. Covers rate limiting, input validation, output encoding, error handling, authentication, authorization, and HTTPS enforcement with practical code examples.

15 min readยทApr 22, 2026
Securityintermediate

Password Security & Management โ€” Hashing, Salting, and Secure Flows

Learn how to properly hash, salt, and manage passwords. Covers bcrypt, argon2, scrypt comparison, rainbow table prevention, pepper secrets, password reset flows, and frontend validation.

15 min readยทApr 21, 2026
Securityintermediate

CORS (Cross-Origin Resource Sharing) โ€” The Complete Guide

Understand the Same-Origin Policy, CORS headers, preflight requests, credentials, and how to debug CORS errors. Practical examples for Express, Next.js, and frontend applications.

12 min readยทApr 20, 2026
Securitybeginner

HTTPS & SSL/TLS Basics โ€” Securing Web Communication

Understand how HTTPS, SSL, and TLS protect data in transit. Learn the TLS handshake, certificate types, HSTS headers, and how to avoid mixed content issues.

12 min readยทApr 19, 2026
Securityintermediate

Authorization Patterns โ€” RBAC, PBAC, ABAC & API Access Control

Learn how to implement authorization in web applications. Covers Role-Based, Permission-Based, and Attribute-Based access control with practical code examples for frontend and API.

14 min readยทApr 18, 2026
Securityintermediate

Authentication Best Practices โ€” The Complete Guide

Master authentication security from password hashing to JWT tokens, OAuth 2.0, MFA, and session management. Learn how to build auth systems that protect your users.

17 min readยทApr 17, 2026
Securityintermediate

CSRF (Cross-Site Request Forgery) โ€” Understanding & Prevention

Learn how CSRF attacks exploit trusted sessions, how SameSite cookies and CSRF tokens defend against them, and when the frontend can or cannot protect you.

12 min readยทApr 16, 2026
Securityintermediate

XSS (Cross-Site Scripting) Prevention โ€” The Complete Guide

Learn how Cross-Site Scripting attacks work and how to prevent them. Covers Reflected, Stored, and DOM-based XSS with practical code examples, CSP headers, and React-specific protections.

18 min readยทApr 15, 2026