Okta Interview Question

how does a security system work for a web application