Додати до Chrome
✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
What is the purpose of the following callback in a controller, and what security vulnerability does it mitigate?
The code enforces authentication for all actions in the UsersController to mitigate unauthorized access.
The code enables Cross-Site Scripting (XSS) protection to prevent malicious script injection
The code enforces authorization for all actions in the UsersController to prevent privilege escalation.
The code enables Cross-Site Request Forgery (CSRF) protection to prevent unauthorized form submissions.
Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!