title: Flask login (no database)
body: <p>I'm trying to implement the following views in flask:</p>
  
  <ol>
  <li><p>/index
  <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* shows a form with username and password entries
  <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* upon submission, redirects to 2</p></li>
  <li><p>/params
  <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* shows another form with more entries
  <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* is only viewable if they provided a username and password for 1
  <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* upon submission, redirects to 3</p></li>
  <li><p>/upload
  <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* does magic() with the fields entered from 1 &amp; 2
  <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* is only viewable if they filled in 1 &amp; 2</p></li>
  </ol>
  
  <hr>
  
  <p><strong>Every</strong> tutorial I have seen assumes that you use a database. The username and password from 1 are <strong>not</strong> checked against any database. They are used for ntlm authentication only...</p>
  
  <p>Can this be done? Or am I misusing flask?</p>