Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Next.js Top 7 Security Best Practices - Checklist

ByteGrad via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn essential security practices for Next.js applications through a comprehensive 22-minute tutorial covering seven critical security measures. Explore dependency management strategies to avoid vulnerabilities in third-party packages, then master data validation and sanitization techniques to protect against malicious input. Discover proper handling of personally identifiable information (PII) and sensitive data, including secure storage and transmission methods. Understand how to prevent code and data exposure through proper environment variable management, server-only utilities, React's Taint API, and Data Transfer Objects (DTOs). Implement a robust Data Access Layer (DAL) to centralize and secure database interactions. Configure Content Security Policy (CSP) headers to prevent cross-site scripting attacks, set up proper code editor security practices, and implement rate limiting to protect against abuse. Get hands-on experience with security tools including the Arcjet dashboard for comprehensive protection, and learn how to conduct thorough security audits of your Next.js applications.

Syllabus

00:00 Intro
00:29 Dependencies
03:27 Data validation & sanitization
11:49 PII / Sensitive data
12:55 Exposing code / data env variables, server-only, Taint, DTO
17:23 Data Access Layer DAL
21:02 CSP
21:18 Code editor
21:25 Rate Limiting
21:35 Arcjet dashboard
21:53 Security audit

Taught by

ByteGrad

Reviews

Start your review of Next.js Top 7 Security Best Practices - Checklist

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.