Pages on the web server all begin with the prefix http://www.music.cs.cmu.edu/
. Here are the pages and what they do:
drumcircle/AdminLogin.php
-- administer users.drumcircle/AdminLogout.php
-- administrator logoutdrumcircle/AdminChangePassword.php
-- ?drumcircle/AdminPort.php
-- ?drumcircle/client.php
-- used by a client program to look up the IP address and port number for the drum server.drumcircle/register.html
-- register a new member, uses form.js
.drumcircle/start.html
-- run the drum server in cgi-bin/DrumServer.py
.This is not a secure system. Users should not use passwords that are used on other sites.
The security scheme is simple: You log in with an AID (admin ID) and a password. The password is checked in the database. If it matches, cookies are set with the name and a random token, and the random token is also stored in the database. On subsequent page visits, the server page checks that the random token in the cookie matches the random token stored in the database for the given name. If no match, the user is prompted to log in.