Classroom Website Operations

Create a Student Website

Adding a student website involves several steps:
  1. Create a website directory under the C:\xampp\htdocs\students\ directory. The directory name is usually the same as the FileZilla account username.
  2. Copy the default file(s) to the website directory. This gives the student a place to start.
  3. Create a FileZilla account for the student.
    1. Use the FileZilla interface to create accounts. (see how to create a student (user) FileZilla account)
    2. Create a new FileZilla Server.xml file containing new accounts. Replace the existing file with the new file. A Perl script to create a new file can be found here . Note: Be sure to restart the FileZilla server.

Note: Steps 1 and 2 can be done by going to http://serveripaddress/students/ and selecting Create a Student Website.

Require a Password Before Creating A Website

You can limit website creation by requiring a password (or not) to create a website by replacing the index.php with index_no_password.php or index_password.php.

Passwords are file names. For example, if the password is xyz, create the file xyz.pass in the in the C:\xampp\htdocs\students\ directory. (Multiple password are allowed.)

Note: This is not "real" security, but is may be good enough for a classroom situation.

You will still need to create FileZilla accounts for the students.

Before creating FileZilla User Accounts

Make a copy of the "FileZilla Server.xml" file for later use. The file can be found in the C:\xampp\FileZillaFTP directory.

FileZilla Server.xml j FileZilla Server original.xml

In Preparation for a New Class

1. Delete all of the student websites under the "students" directory
C:\xampp\htdocs\students\

2. Remove the student FileZilla accounts

  1. Delete accounts with the FileZilla server interface
    C:\xampp\FileZillaFTP\FileZilla Server Interface.exe
    (select display user account dialog)

  2. Replace the FileZilla Server.xml file with the original file FileZilla Server original.xml j FileZilla Server.xml
  3. Edit the FileZilla Server.xml file and remove unwanted accounts
Note: Be sure to restart the FileZilla server after step b or c.

List The Student Websites

http://serveripaddress/students/

Limit Student Access

FileZilla accounts can be configured to limit student access to the web server directories. Students should only be allows access to their website directory and sub-directories. (see how to create a student (user) FileZilla account)

Students should be allowed to create sub-directories under their own directory if needed.

Customize The Student Website Server