Concept Flow - Why authentication secures applications
User sends request
Check if user is logged in
Allow access
Access granted
User authenticated
Allow access
The app checks if the user is logged in before giving access. If not logged in, it asks the user to log in first.
