Skip to content
StackPractices

Tag: authorization

Browse 9 practical software engineering resources tagged with "authorization". Discover code recipes, design patterns, documentation templates, and in-depth guides to help you build, deploy, and maintain production-ready solutions involving authorization.

Implement ABAC

How to implement attribute-based access control with policy engines, live context evaluation, and fine-grained authorization decisions across Python, Node.js, and Java.

Implement RBAC

How to implement role-based access control with hierarchical roles, permission grants, and middleware enforcement across Python, Node.js, and Java.

Field-Level Auth with Custom GraphQL Schema Directives

Implement field-level authorization in GraphQL using custom schema directives that check user roles and permissions per field

RBAC Policy Template

A template for defining role-based access control policies, including roles, permissions, assignment rules, and review cadence.

Access Control Policy Template

A template for defining authentication, authorization, RBAC, ABAC, MFA, password policies, session management, and access review procedures.

API Authentication Design Template

Template for documenting API authentication flows and token lifecycle: auth scheme selection, token types, issuance, validation, refresh, revocation, MFA, OAuth2 flows, JWT configuration, and security best practices with code examples.

API Security Checklist — Authentication to Encryption

A thorough security checklist for APIs: authentication, authorization, input validation, rate limiting, encryption, logging, and deployment hardening.

OAuth2 and OIDC: Authorization Code, PKCE, Token Validation

Master OAuth2 and OpenID Connect for production: authorization code flow with PKCE, token validation, refresh tokens, scopes, JWT verification, and security best practices.

Security Best Practices Guide

A thorough guide to application security: authentication, authorization, input validation, secrets management, and common vulnerability prevention.