Create a Student Website
Adding a student website involves several steps:
- Create a website directory under the
C:\xampp\htdocs\students\
directory. The directory name is usually the same as the FileZilla account username.- Copy the default file(s) to the website directory. This gives the student a place to start.
- Create a FileZilla account for the student.
- Use the FileZilla interface to create accounts. (see how to create a student (user) FileZilla account)
- 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 selectingCreate 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
withindex_no_password.php
orindex_password.php
.Passwords are file names. For example, if the password is
xyz
, create the filexyz.pass
in the in theC:\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" directoryC:\xampp\htdocs\students\
2. Remove the student FileZilla accounts
- Delete accounts with the FileZilla server interface
C:\xampp\FileZillaFTP\FileZilla Server Interface.exe
(select display user account dialog)- Replace the
FileZilla Server.xml
file with the original fileFileZilla Server original.xml j FileZilla Server.xml - Edit the
FileZilla Server.xml
file and remove unwanted accountsNote: 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