OWASP Periodic Table of Vulnerabilities - Insufficient Authentication/Authorization
Root Cause Summary
Incorrect verification of identity and permissions can result in an unauthorized attacker accessing sensitive data or functionality.
Browser / Standards Solution
Generic Framework Solution
Enforce a proven authentication and authorization framework scheme which emphasizes policy-based configuration files over hard-coded authentication/authorization checks wherever possible.
Deny all access by default, and explicitly grant access per resource.
Enforce data storage outside of web roots to prevent requests which bypass the application's access control policy.
Custom Framework Solution
Custom Code Solution
Always apply least-privilege principle to all transactions and data access. Define access control matrix for all features and implement policy before implementing the feature.