M
Muhammad Ali
Hi,
I am a python newbie but have c/c++ experience.
I have a small Lan (windows 2000 sever + some win 98 machines).
The win2k connects to the internet using a dial-up connection. What i need
to do is to allow users, who would come from win98 machines to use internet
for a specific amount of time. For example, if userA has been alloted two hours
then he can no longer access internet from the win98 machine after expiring those
two hours.
I am thinking of doing a proxy server for this purpose in python that will have
a list of users and their hours, and would require logging in by the user, calculate
their times etc.
So, is this the best way of doing this? if not what else can be done? (what ever the
solution, i would like to implement in python)
If proxy server is a good idea, could someone give me an outline of how to do it?
for example, should i use a database for users (mysql?) or just a text file. How
would
i know if a user has logged off? any links on the net?
Thanks...
---- Msg sent via Spymac Mail - http://www.spymac.com
I am a python newbie but have c/c++ experience.
I have a small Lan (windows 2000 sever + some win 98 machines).
The win2k connects to the internet using a dial-up connection. What i need
to do is to allow users, who would come from win98 machines to use internet
for a specific amount of time. For example, if userA has been alloted two hours
then he can no longer access internet from the win98 machine after expiring those
two hours.
I am thinking of doing a proxy server for this purpose in python that will have
a list of users and their hours, and would require logging in by the user, calculate
their times etc.
So, is this the best way of doing this? if not what else can be done? (what ever the
solution, i would like to implement in python)
If proxy server is a good idea, could someone give me an outline of how to do it?
for example, should i use a database for users (mysql?) or just a text file. How
would
i know if a user has logged off? any links on the net?
Thanks...
---- Msg sent via Spymac Mail - http://www.spymac.com