Windows Thread, time restrictions web-application in Technical; time restrictions would be amazingly handy for controlling certain naughty kids if only I had more control over the times. ...
28th April 2008, 12:25 PM #1
time restrictions web-application
time restrictions would be amazingly handy for controlling certain naughty kids if only I had more control over the times. as it is the one hour slots barely line up with our timetable. never the mind the fact our timetable runs in 2 week rotations.
I've surmised it'd be possible to make a web-based application to control it. ie admin of it can be hived off to the ICT coordinator.
so you'd put in a kid's username and get presented with a table representing the timetable. clicking on cells would change bgcolor representing enabled or disabled periods. saving would write the info into some kind of data structure.
a script would be scheduled to run at the beginning and end of lessons. it would enumerate the data in such a fashion to enable and disable the accounts.
a page would also exist whereby technicians/teachers can temporarily enable a pupils account for a lesson without it permanently altering their logon restrictions. for us that would be kid brings a note from their teacher.
such a system needn't be overly complicated, in terms of ad connectivity. you need to verify the kids user name at the beginning of the creation process. after that any data relating that kid is assumed to be correct. And also when the scheduled script runs to disable/enable accounts.
I know such a thing is possible, I've been thinking about it for a while. I cant figure out how i'd store the data in flat files. not least that I despise databases in ASP. It's too complicated for my head.
If anything thinks they could make this, I reckon it'd be pretty handy to quite a few people. (to run in asp on an iis domain controller)
IDG Tech News
28th April 2008, 01:22 PM #2
I would of thought a proxy would be the best way to go. Something like ISA server, you should be able to implement time restrictions.
28th April 2008, 02:10 PM #3
Smoothwall can do this, as of course, can dansguardian.
28th April 2008, 02:32 PM #4
those things are do with internet access no?, (already have stuff managing all that)
i'm talking about logging on. sorry if i didnt make that clear.
28th April 2008, 03:34 PM #5
Would it not be easier to simply write the ristriction times into the account logon restriction bit of Active Directory using ADSI. You should be able to both write to and read from this using ASP with the correct access rights.
This would also mean that you would not need the extra database layer or the scheduled task and would mean less writes to AD as you would only need to write anything that changed. A mass disable/enable could cause you issues if you have multiple servers as it will entail a lot of writes and replication data to perform it. If a student that had just been diabled tried to log in and got one of the other servers that had yet to replicate the changes they would still get on.
28th April 2008, 03:53 PM #6
yes thats possible but because our lesson times vary considerably from the hour by hour format of logon restrictions the idea is to create a system thats far more accurate.
Originally Posted by SYNACK
our period 3 goes from 11:15 - 12:15
using the built in timing we have to allow 11:00-1:00, which somewhat defeats teh point of restricted logins.
28th April 2008, 05:32 PM #7
For some reason I thought that the logon times were configurable in 15 minute blocks, my bad. I would be concerned about all of the replication traffic though, it might be easier to implement a check of your DB in the logon script to make sure that they are allowed to logon and kick them if they are not. You may need to use super mandatory profiles to be sure that they simply did not yank the network cables at logon to bypass it though.
Originally Posted by browolf
By Patk100 in forum How do you do....it?
Last Post: 7th April 2008, 03:36 PM
By Edu-IT in forum Windows
Last Post: 16th March 2008, 01:37 AM
By faza in forum Wireless Networks
Last Post: 6th March 2007, 02:33 PM
By ICTNUT in forum Windows
Last Post: 26th February 2007, 03:02 PM
By faza in forum Wireless Networks
Last Post: 2nd February 2007, 09:21 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)