O'Reilly logo

D Web Development by Kai Nacke

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Authenticating the user

The notes that a user has entered should be private to this user. To implement this behavior, we need a way to authenticate a user and ensure that only the authenticated users can see their list of notes.

There are several methods available to authenticate a user. They all can be used with vibe.d:

  • Basic authentication: The browser shows a pop-up window asking for a username and password. Both are transmitted in plaintext to the server.
  • Digest authentication: The browser shows a pop-up window asking for a username and password. Only a digest of the password is transmitted to the server, not the password itself.
  • Form-based authentication: The application itself embeds a form asking for a username and password. Both are transmitted ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required