Why is a login check done server-side?
- Passwords must be checked against the database.
- Client-side code can be viewed and altered.
- Server-side is secure.
Answer For security: the client can be tampered with
A-level Computer Science revision · Exchanging data
Search engines use crawlers to visit pages and build an index of words and where they appear. PageRank ranks pages by the number and quality of links pointing to them. Client-side processing runs in the browser (fast, reduces server load); server-side processing runs on the server (secure, handles databases).
Watch out PageRank counts not just the number of links but the importance of the linking pages.
Why is a login check done server-side?
Answer For security: the client can be tampered with
What does a web crawler do?
In PageRank, which link gives the most value to a page?
Give one advantage of client-side processing.
Answer Validation and interactivity happen instantly in the browser, reducing network traffic and the load on the server.
A-level Computer Science Pro, OCR H446
£119 once
Price rises to £199 on 1 January. Save £80 by joining before then.
At least 12 months of access
No VAT is charged.