WebFund 2013W: Authenticated Sessions: Difference between revisions

From Soma-notes
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 ..."
 
No edit summary
Line 2: Line 2:


The sample express application is [http://homeostasis.scs.carleton.ca/~soma/webfund-2013w/demo-auth-hash.zip].  It behaves similarly to the [[WebFund_2013W:_Sessions|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.
The sample express application is [http://homeostasis.scs.carleton.ca/~soma/webfund-2013w/demo-auth-hash.zip].  It behaves similarly to the [[WebFund_2013W:_Sessions|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.
You should get the application running and you should attempt to answer the following questions about this code.  Expect to see modified versions of these questions soon...

Revision as of 17:39, 8 March 2013

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.

You should get the application running and you should attempt to answer the following questions about this code. Expect to see modified versions of these questions soon...