Is He Really Who He Says He Is?
Another very common use for directories is authentication.
Suppose you wrote a Web application for betting on college basketball scores. This application is intended to be used (officially, of course) as a company team-building exercise. To ensure that each player is responsible for his or her bets (and is not making bets for someone else), you set up a small database of users and passwords. When the user directs a browser to the betting home page, the user is prompted to enter a user name and password.
At first, this system works just fine. But the idea becomes quite popular, and a colleague, Jim, decides to publish another Web application on his own Web server. This application takes bets on the number of irate ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access