Pergunta de entrevista da empresa VRV Security

I was asked to design basic Authentication, Authorization, and RBAC Systems which is crucial for any system for security. I was given proper instructions to follow and was given ample amount of time to submit the assignment.