WebFund 2013W: Authenticated Sessions

From Soma-notes
Revision as of 17:28, 8 March 2013 by Soma (talk | contribs) (Created page with "In this tutorial you'll be looking at how authenticated sessions can be done in Node. Note that this example '''sends passwords in the clear to the server'''. If you wanted ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

In this tutorial you'll be looking at how authenticated sessions can be done in Node. Note that this example sends passwords in the clear to the server. If you wanted to prevent this, you would need to add SSL support to your application.

The sample express application is [1]. It behaves similarly to the sessions tutorial from two weeks ago. The only difference here, though, is the server doesn't store plaintext passwords, and it stores them in MongoDB.