Pregunta de entrevista de PureCode Software

How do you handle authentication and authorization in a web application?