# N8N:Protect Endpoints

> Applies n8n's RBAC scope decorators to REST endpoints.

Applies n8n's RBAC scope decorators to REST endpoints. Use when creating a new @RestController, adding any @Get/@Post/@Put/@Patch/@Delete route to an existing controller, or reviewing endpoint authorization. Every authenticated endpoint must be gated by @ProjectScope or @GlobalScope.

- Page: https://ss33.ai/skills/n8n-io/n8n-protect-endpoints-58619844198
- Publisher: n8n-io
- Category: [Security](https://ss33.ai/skills/category/security-w9g95g) › [Application security](https://ss33.ai/skills/category/security-w9g95g/application-security-6s8pr9)
- Source: https://github.com/n8n-io/n8n/blob/14d2d305630217271244c7fe962e36aab8f826f0/.agents/skills/protect-endpoints/SKILL.md

## Skill

This skill's licence does not allow redistribution, so the store does not serve its text. Get it from the author: https://github.com/n8n-io/n8n/blob/14d2d305630217271244c7fe962e36aab8f826f0/.agents/skills/protect-endpoints/SKILL.md
