+ Post New Thread
Results 1 to 12 of 12
Network and Classroom Management Thread, network handing in point in Technical; Hello can any help me with setting up a network handing in point for students. Basically i want students to ...
  1. #1
    ful56_uk's Avatar
    Join Date
    Mar 2008
    Location
    Essex
    Posts
    534
    Thank Post
    104
    Thanked 23 Times in 21 Posts
    Rep Power
    17

    network handing in point

    Hello

    can any help me with setting up a network handing in point for students. Basically i want students to be able to save docs on a network share but not able to edit or copy anyone else folders. I want students to be able to create there own root folder then save there work in there and not able to edit any other folders or access the contains.

    thanks

    mark

  2. #2


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    338
    Can't your VLE do this?

  3. #3
    gshaw's Avatar
    Join Date
    Sep 2007
    Location
    Essex
    Posts
    2,604
    Thank Post
    154
    Thanked 205 Times in 190 Posts
    Rep Power
    64
    Was going to say... sounds exactly like a Moodle assignment to me

  4. #4

    Hightower's Avatar
    Join Date
    Jun 2008
    Location
    Cloud 9
    Posts
    4,920
    Thank Post
    494
    Thanked 690 Times in 444 Posts
    Rep Power
    240
    Suppose one way to do this on NTFS folders would be to create the folders with write permissions, but not read permissions. That way students can drag their work to the folder (after they've named it STUDENTNAME.doc or something similar), but can't open the folder up afterwards to edit/delete etc.

  5. #5

    GREED's Avatar
    Join Date
    Mar 2008
    Location
    Portsmouth
    Posts
    2,662
    Thank Post
    320
    Thanked 311 Times in 253 Posts
    Blog Entries
    8
    Rep Power
    122
    We did this ages ago but it required me to set the folders up first, and set the permissions. Simple once set up but a pain to set up.

  6. #6
    ful56_uk's Avatar
    Join Date
    Mar 2008
    Location
    Essex
    Posts
    534
    Thank Post
    104
    Thanked 23 Times in 21 Posts
    Rep Power
    17
    Cheers, I would use vle but no Internet access is allowed controlled assessments, I'll have a look at the ntfs side of things in more detail later

  7. #7

    Join Date
    Oct 2008
    Location
    Lincolnshire
    Posts
    2,054
    Thank Post
    11
    Thanked 204 Times in 198 Posts
    Rep Power
    63
    Create a false proxy but put an exception in for your VLE and then they could access it and upload that way.

  8. #8

    dhicks's Avatar
    Join Date
    Aug 2005
    Location
    Knightsbridge
    Posts
    5,498
    Thank Post
    1,184
    Thanked 745 Times in 647 Posts
    Rep Power
    228
    Quote Originally Posted by ful56_uk View Post
    i want students to be able to save docs on a network share but not able to edit or copy anyone else folders
    Set up a Samba server with a network Ghostscript Postscript / PDF document printer, using a Postscript printer available in Windows' default list so you don't have to distribute printer drivers around. Have that server place any incoming print jobs as PDF documents in a separate folder per user (give them incremental names of some kind, probably with the day's date on) and share those folders out to users so that each user only sees their own folder (the %u variable in smb.conf, I think). Make that share read-only for pupils.

    If you can get class lists out of either your MIS or VLE then it should be a simple task to get a listing of all work handed in by a particular group of pupils between two dates and generate thubnails of each document, so a teacher could easily search for work handed in to them.

    --
    David Hicks

  9. #9

    3s-gtech's Avatar
    Join Date
    Mar 2009
    Location
    Wales
    Posts
    2,485
    Thank Post
    133
    Thanked 488 Times in 436 Posts
    Rep Power
    138
    Quote Originally Posted by Hightower View Post
    Suppose one way to do this on NTFS folders would be to create the folders with write permissions, but not read permissions. That way students can drag their work to the folder (after they've named it STUDENTNAME.doc or something similar), but can't open the folder up afterwards to edit/delete etc.
    That's how we have it - been successfully using a network folder with these permissions for several years now, no complaints other than from those who don't read the instructions - with these permissions, you cannot save to the drive, you must copy/paste the file from elsewhere (makes sense anyway; working copy is stored in home docs, final is put into network drive).

  10. #10


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    338
    Quote Originally Posted by dhicks View Post
    Set up a Samba server ....
    I was just thinking about your post.
    If you set up a separate samba server, you could conceivably map it as it's own drive - we use samba as our main file server and as soon as students access the drive it creates their own homefolder, that only username (and staff) can get access. We use the root preexec command to do this with this script which is run at access time, thus no lists of users are needed because shares are automatically created.
    Staff access the share at a different level.

    Code:
    #!/bin/bash
    if [ "$2" = "08" -o "$2" = "07" -o "$2" = "06" -o "$2" = "05" -o "$2" = "04" -o "$2" = "03" -o "$2" = "02" -o "$2" = "adulted" -o "$2" = "exams"  -o "$2" = "gueststudents" ] ; then     
    	if [ ! -e /home/DOMAIN/$2/$1 ]; then
    		mkdir -p  /home/DOMAIN/$2/$1
    		chown $1:"domain admins" /home/DOMAIN/$2/$1
    		chmod o-rwx /home/DOMAIN/$2/$1
    		chmod g+rwxs /home/DOMAIN/$2/$1
    		setfacl -m user:$1:rwx /home/DOMAIN/$2/$1
    		setfacl -m group:teachers:r-x /home/DOMAIN/$2/$1 
    		setfacl -m group:"domain admins":rwx /home/DOMAIN/$2/$1
    		if [ "$2" = "03" -o "$2" = "02" ]; then
    			setquota -u $1 1048576 1228800 0 0 /home/DOMAIN/
                    elif [ "$2" = "08" ]; then
                            setquota -u $1 614400 716800 0 0 /home/DOMAIN/               
    		elif [ "$2" = "07" ]; then
    		        setquota -u $1 614400 716800 0 0 /home/DOMAIN/
                    elif [ "$2" = "06" ]; then
                            setquota -u $1 614400 716800 0 0 /home/DOMAIN/
                    elif [ "$2" = "05" ]; then
                            setquota -u $1 614400 716800 0 0 /home/DOMAIN/
                    elif [ "$2" = "04" ]; then
                            setquota -u $1 614400 716800 0 0 /home/DOMAIN/
                    elif [ "$2" = "adulted"  ]; then
                            setquota -u $1 614400 716800 0 0 /home/DOMAIN/                            		                                                
    		else
    		  	setquota -u $1 614400 716800 0 0 /home/DOMAIN/
    		fi
    	fi
    fi
    exit 0
    I can't see a reason why this couldn't be done as a non-home share, but effectively acting as a secondary home share.

    I wrote a page on the edugeek wiki detailing a setup some time ago:
    Samba Homedirectory - Wiki

    I'd still go for moodle without internet access though....
    Last edited by CyberNerd; 4th January 2011 at 09:53 PM.

  11. Thanks to CyberNerd from:

    dhicks (4th January 2011)

  12. #11

    dhicks's Avatar
    Join Date
    Aug 2005
    Location
    Knightsbridge
    Posts
    5,498
    Thank Post
    1,184
    Thanked 745 Times in 647 Posts
    Rep Power
    228
    Quote Originally Posted by CyberNerd View Post
    I can't see a reason why this couldn't be done as a non-home share, but effectively acting as a secondary home share.
    The two servers will assign different UIDs / GIDs to users - each server will assign UIDs in the order that users happen to access it. I seem to remember this causing issues, although I was probably trying to copy files directly from one Samba server to another (probably as a backup or something), I imagine there shouldn't be too much problem if both servers are used separatly. I had to make sure both the Samba servers I set up over the summer were domain members and had a consistent mapping from AD username to UID / GID.

    Actually, there's probably no real need for a pupil-accesible share for the files anyway, and a web-based interface of some sort might do better for teacher access to allow for searching through by class group.

    --
    David Hicks

  13. #12


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    338
    Quote Originally Posted by dhicks View Post
    T I seem to remember this causing issues, although I was probably trying to copy files directly from one Samba server to another (probably as a backup or something), I imagine there shouldn't be too much problem if both servers are used separatly.
    yes, I've run into this as well with running through a simulated backup recovery. my solution was to have a script that runs through each OU in the domain and then resets the permissions given the directory name (as the directory name and username are identical). Like you say, doesn't matter if the servers are used independently. I digress.

SHARE:
+ Post New Thread

Similar Threads

  1. Point to point network speed test tools
    By tarquel in forum Wireless Networks
    Replies: 15
    Last Post: 26th February 2013, 10:49 PM
  2. Handing in homework in digital format
    By Dos_Box in forum Site Polls
    Replies: 21
    Last Post: 18th May 2010, 04:36 PM
  3. Wireless Access Point - Taking down whole network (Like Loopback)
    By burgemaster in forum Wireless Networks
    Replies: 4
    Last Post: 12th January 2009, 09:41 AM
  4. How to connect a switch to share a network point
    By Andie in forum Wireless Networks
    Replies: 5
    Last Post: 6th October 2008, 12:13 PM
  5. Handing in notice
    By Little-Miss in forum General Chat
    Replies: 21
    Last Post: 6th July 2008, 08:37 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •