TL;DR
TL;DR
Netlify provides secure infrastructure with automatic HTTPS. Your job is to configure environment variables, add security headers via _headers file or netlify.toml, review team access, and verify your app works correctly on the production domain.
Environment Variables 4
::checklist-item{label="Mark sensitive vars appropriately" description="Use "Sensitive variable" setting to hide values in logs"} ::
Security Headers 4
Access and Functions 3
Production Verification 3
How do I add security headers on Netlify?
Create a _headers file in your publish directory or add headers in netlify.toml. Example: /* X-Frame-Options: DENY. Both methods work for static sites and Netlify Functions.
::
Are Netlify Functions secure?
Netlify Functions run in secure AWS Lambda environments, but you need to add your own authentication checks. They're not protected by default, so verify the request before processing sensitive operations.
::
Scan Your Netlify Site
Find security issues before launch.
Start Free Scan