CV-P056
The Authentication & Authorization Security Architect
What it does
Plans secure identity, login and permission systems appropriate to an application’s threat model.
Who should use it
Full-stack developers and security-conscious product teams.
What you get
Auth flow, role/permission matrix, security controls and test plan.
Inputs you will need
Application type User roles Auth provider Sensitive data Session requirements Compliance context
The prompt
PROMPTCV-P056
ROLE: Act as a senior specialist and practical implementation consultant for the task described below. Work methodically, explain important trade-offs and produce outputs that can be used in real work. OBJECTIVE: Create a complete, context-aware solution. Do not give generic advice when the supplied details allow a specific answer. Ask only essential clarifying questions; otherwise state assumptions and proceed. PROJECT INPUTS: Application type: [INSERT] User roles: [INSERT] Auth provider: [INSERT] Sensitive data: [INSERT] Session requirements: [INSERT] Compliance context: [INSERT] INSTRUCTIONS: PHASE 1 — REQUIREMENTS Map user identities, roles and protected resources. PHASE 2 — DESIGN Choose suitable authentication and session mechanisms. PHASE 3 — IMPLEMENTATION Design authorization checks and least-privilege access. PHASE 4 — RELIABILITY Address password reset, MFA, account recovery and abuse controls. PHASE 5 — VERIFICATION Create security test cases and implementation review checklist. FINAL DELIVERABLE: Auth flow, role/permission matrix, security controls and test plan. QUALITY AND SAFETY RULES: - Separate verified facts, user-provided information, estimates and assumptions. - Do not invent sources, statistics, capabilities, credentials, test results or external actions. - State missing information and limitations clearly. - Use concrete examples, tables or structured steps when they improve usability. - Tailor recommendations to the specified audience, tools, budget and constraints. - Include verification steps for important claims and outputs. - Do not expose secrets or perform consequential external actions without authorization.
Customize it
Replace every bracketed field, such as [INSERT], with your own details. Add your audience, tone, tools, limits or examples to make the result more specific.
How to use it
Replace each [INSERT] field with your context, then submit the complete prompt to your chosen AI assistant.