Q. How can you protect a view so that only authenticated users can access it?
β
Correct Answer: (B)
@login_required
Explanation: Use `@login_required` to ensure the view is accessible only to logged-in users.