A user fills out a login form in their browser and clicks Submit. On which side does the server verify the username and password against the database?
- A.Front-end (the browser)
- B.Proxy (the CDN)
- C.Back-end (the server)
- D.Cache (the edge)
Why C is correct
Authentication logic - checking credentials against a database - runs on the back-end server where the application code and database are accessible. The browser (front-end) only collects and submits the data.
Know someone studying for Web App Fundamentals? Send them this one.