• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 352
  • Last Modified:

Proxy server and rotating permissions

Is it possible to use a scheduled task to change access permissions on proxy 2.0?  I want to limit users during work hours (to allow work related sites ONLY) but give them unlimited access during break, lunch, and after hours.  Has anybody seen off-the-shelf software for less than $200 that can do this?
1 Solution
how many users?

there are filter products (www.cyberpatrol.com, www.surfwatch.com, etc) that will do this - at around US$20 per user or thereabouts.

Tim HolmanCommented:
You could use the AT scheduler service to copy over an approved .dns file to your name server at appropriate times ?
trumps007Author Commented:
There are about 40 users, I've checked out a couple of the filters, but they are very complex, and we would never use all of the features, we just want to create a list of domains that are acceptable during company time, and then remove the restrictions when break or lunch comes.
you can use the backup and restore options from the services tab under web proxy properties.

1.  Create the server without any of the site filtering or ISAPI applications in place.  This will be your full access setting.

2.  Click on the "Server Backup" button on the services tab.  By default it will save to the c:\msp\config directory.

3.  Save the file from the above directory to a folder called "all" or something meaningful to you.  MS proxyt server creates a backup file in the form of:

     MSP19990715.MPC  yyyymmdd.mpc
that is why I suggest moving it or rename it for the sake of clarity and to avoid overwriting it with the new config which will be on the same day.

4.  Install your ISAPI apllication and or config your filtering parameters under the Web Proxy properties.

5.  Now do a server backup and as above save the file to a folder call "restrict" or somehting meaningful to you.  Alternatly you can rename the files and leave them in the same default directory.

6.  To switch configs, goto the web proxy proerties page and restore the servive to the two alternate files depending on the time of day.  

7.  Stop and restart the service after making changes.

That is semi-manual solution.  I cannot tell who how to script this but my guess it that you can use the at command and scheduler to replace the config file and cycle the service.  I'd be guessing on that part and do not want to mislead you.

I hope I have you off to a good start though.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now