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.Client-side (the browser)
- B.Back-end (the server)
- C.CDN edge node
- D.DNS server
Why B 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.