# How to Think About Security in Next.js

DevFeed: [How to Think About Security in Next.js](<https://devfeed.tech/articles/how-to-think-about-security-in-next-js-3275.md>)

Original publisher: [Read original article](<https://nextjs.org/blog/security-nextjs-server-components-actions>)

Author: Sebastian Markbåge

Published: 2023-10-23T14:00:00Z

Content type: tutorial

Language: en

Sources: [Next.js Blog](<https://devfeed.tech/sources/next-js-blog.md>)

Topics: [Web Development](<https://devfeed.tech/topics/web-development.md>), [web applications](<https://devfeed.tech/topics/web-applications.md>)

Tags: [apis](<https://devfeed.tech/tags/apis.md>), [applications](<https://devfeed.tech/tags/applications.md>), [guide](<https://devfeed.tech/tags/guide.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [next-js](<https://devfeed.tech/tags/next-js.md>), [react](<https://devfeed.tech/tags/react.md>), [security](<https://devfeed.tech/tags/security.md>), [zero-trust](<https://devfeed.tech/tags/zero-trust.md>)

## AI overview

A security guide for Next.js applications using React Server Components. It outlines data-handling approaches, recommends treating Server Components as untrusted in existing projects, and highlights auditing concerns such as accidental data exposure and unsafe internal-network assumptions.

## Source excerpt

Learn about what security protections are built-in Next.js and view a guide for auditing applications.