Homework 2
CS320, Winter 2013

Due: Thursday, January 31

Please upload your files to CSNS. The files should include all the source code, documentation (optional), and an HTML file hw2.html which contains a link to your application deployed on the CS3 server. Note that file uploading will be disabled automatically after 11:59PM of the due date, so please turn in your work on time.



In this assignment you are going to continue to work on the application CS320Starter. All features described in Homework 1 must work properly; otherwise you will not receive any credit.

1. (50pt) Security.

Implement security so that all users can view the information about the projects, but only authenticated users (i.e. users who have already logged in) can create and sponsor projects. In particular, your implementation must meet the following requirements:

Note that a few changes must be made to the user interface as part of the security implementation:

2. (50pt)  Sponsor A Project

A link Sponsor This Project should be shown on the Project page. When a user clicks on the link, the application shows a form where the user can enter a dollar amount and select a reward. Note that