Gizmos Freeware Reviews  

Go Back   Gizmo's Freeware Forum > Freeware Forum > I Want a Freeware Program that ...

Reply
 
Thread Tools Display Modes
Old 19. Feb 2009, 03:03 PM   #1 (permalink)
Member
 
Join Date: Nov 2008
Posts: 27
Question provides time-limited access to folders on network

I try to manage a network and I am asked to provide a time-based access to some folders on network.

What I mean is that I should do such a thing that the users in active directory will not be able to view/read/write during work hours like 08:00-17:00 but after these hours, they will be able to read and write. They ask this to prevent the workers to spend time with copying and viewing images and clips among themselves.

Any idea or even better a freeware is very appreciated,

ekadim
ekadim is offline   Reply With Quote
Old 24. Feb 2009, 03:54 PM   #2 (permalink)
rmayell
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by ekadim View Post
I try to manage a network and I am asked to provide a time-based access to some folders on network.

What I mean is that I should do such a thing that the users in active directory will not be able to view/read/write during work hours like 08:00-17:00 but after these hours, they will be able to read and write. They ask this to prevent the workers to spend time with copying and viewing images and clips among themselves.

Any idea or even better a freeware is very appreciated,

ekadim
Are you sure that you don't want users to have ANY access to the shares during working hours? There are a couple of solutions to this but it really depends on the access requirements. Also, could you tell me which version of Windows server you are running and confirm if all the shares are defined within a single AD domain.

Thanks
  Reply With Quote
Old 24. Feb 2009, 06:39 PM   #3 (permalink)
Member
 
Join Date: Nov 2008
Posts: 27
Default

Thank you for your to-the-point answer.

Yes, during work hours we don't want our users to have ANY access to the shares.

We are running Windows Server 2000 and yes, all the shares are defined within a single domain.

I look forward to hearing your advise soon. Thank you for your support...

ekadim
ekadim is offline   Reply With Quote
Old 25. Feb 2009, 12:58 AM   #4 (permalink)
rmayell
Guest
 
Posts: n/a
Default

The only way I can see to do this is to delete the shares at 08:00 and then recreate them at 17:00. To do this you will need to identify the names of the servers, and the shares that they host. Using this information you will create to batch files for each of the servers, one that deletes the shares, say DELSHR.BAT, and one that recreates, say CRTSHR.BAT.

Lets us assume we have a test server, SERVER1, with shares TEST1 and TEST2

The file DELSHR.BAT will need to contain the following lines

NET SHARE TEST1 /d /y
NET SHARE TEST1 /d /y

note that /Y forces the share to be deleted regardless of whether it is connected to or has open files.

The file CRTSHR.BAT will need to contain the following lines:

net share TEST1=C:\TEST1 /GRANT:Everyone,Full
net share TEST2=C:\TEST2 /GRANT:Everyone,Full

You can apply more complex share security by adding additional /GRANT entries.

Note these batch files MUST be run on the server where the shares exist.

Once you have produced and tested your batch files you need to add then to the AT scheduler so that they run at the correct times.

Hope that helps,

Rik
  Reply With Quote
Old 25. Feb 2009, 08:30 AM   #5 (permalink)
Member
 
Join Date: Nov 2008
Posts: 27
Default

Thank you very much Rik. It sounds great. I will try it soon and share my result. But it seems a neat and a working solution.
ekadim is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT +1. The time now is 08:13 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.