Results 1 to 3 of 3

Thread: Want a batch file to change hosts permissions.

  1. #1
    Join Date
    May 2012

    Want a batch file to change hosts permissions.

    I want to have the computers in my office secured such that no employee of mine should visit social networking sites and pornographic sites. I wanted a batch file which will disable access to websites I add address of so that they are inaccessible. Also the batch file should provide feature such that on activating it, it will again give access to the websites that are blocked. Sometimes, a social networking site too provides important information, which is why I want such a batch file. Can someone tell me if such a batch file is available, if yes, where to find it?

  2. #2
    Join Date
    May 2009

    Re: Want a batch file to change hosts permissions.

    why do you want to take such troubles in creating a batch file that will just block certain websites by editing the host files. Instead you can get software that can block websites. Even if you create a batch file, you will have to place it individually in every computer that too for every user on it. Again batch file is very easy to edit and a person with enough knowledge can do it easily. So it is recommended to use the parental control softwares. These softwares can be installed on the server of your office and it will block those websites on every computer connected to it. You can even manage the permissions remotely.

  3. #3
    Join Date
    Mar 2010

    Re: Want a batch file to change hosts permissions.

    Even if you create a batch file successfully, you will have to keep it updated. It is almost impossible to block every pornographic site because there are lakhs of them present from every country in the world. It would be like the main code would consist of 15 lines and names of the websites will be lakhs of line. You might be successful in blocking the social networking sites, but not others. So you should go for parental control softwares and install them on the server. This will filter searches and also deny employees access to any web pages which are inappropriate in nature.

Similar Threads

  1. The DNS replacement for the Hosts file
    By Devabrata in forum Networking & Security
    Replies: 4
    Last Post: 13-08-2010, 04:12 PM
  2. How to Change Icon of the Batch File?
    By Segvoia in forum Operating Systems
    Replies: 3
    Last Post: 20-11-2009, 09:36 AM
  3. How to clean hosts file
    By AmdUser in forum Networking & Security
    Replies: 3
    Last Post: 29-06-2009, 10:34 PM
  4. Can't change file association for DOS batch files
    By pushpendra in forum Windows XP Support
    Replies: 6
    Last Post: 11-03-2009, 12:10 AM
  5. Replies: 1
    Last Post: 29-07-2007, 08:01 PM

Posting Permissions

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