Server code for the first set of assignments for "Application Security"