Click here to Skip to main content
15,920,111 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hello

How can i block some website permanently like (facebook.com) and more social site on my employees computers


Give me solution... I have no any type of server or third party firewall.
Posted

I believe OpenDNS[^] allows you to block sites of your choice, and you can even set an individual computer to use it (or not use it, if you decide you still want access to those sites), you don't even need access to the router (though, it makes it easier).
 
Share this answer
 
Comments
Tim Corey 31-May-12 10:57am    
I like this suggestion. The only issue is that employees can get around it by changing their DNS settings. +5 from me.
lewax00 31-May-12 11:13am    
I think you can stop non-administrators from accessing that setting, but I may be wrong, I haven't worked on a computer without having admin rights since XP...
Dont be a spoil spoon :). Your employees will curse you!!!

Anyway, did you look at Google[^]. I found many suggestions.

Look at this [^]one.

And this[^]...
 
Share this answer
 
Comments
fjdiewornncalwe 31-May-12 10:32am    
They may curse him, but they'll actually get some work done again.
You either need to use some sort of filter at the Internet gateway level (Barracuda, St. Bernard, etc.) or you need to install software on the computers (such as NetNanny, etc.) Some Internet routers even have the ability to do website filtering.
 
Share this answer
 
Comments
db7uk 31-May-12 9:53am    
Yes agree with Tim. We use Barracuda and works well however most of these things cost money!! :(

Another suggestion would be to write your own application with a webbrowser control in it and intercept the URL. Another way would be to write an IE addin that you can control the URLS that are being navigated to. Then force your users to use that browser !! Loads of ways!!
lewax00 31-May-12 10:06am    
If you're going that far it'd be easier to just modify the hosts file.
Tim Corey 31-May-12 10:56am    
Modifying the hosts file is not a great solution because it is very easy to get around and it is very difficult to block everything properly. Sure you can block one domain, but that won't block the subdomains properly. Messing with the hosts file should be for something very simple or very specific.
Best way to block such site is using Router Setting if possible.

Prental control and Content Advisors are also Options but Are some traditional and annoying to Employee.
Best method to do so is Change some setting in Hosts File. I am going to tell you about that. To do so, You have to change some setting in individual PCs for doing so.

Open Notepad with Administrator Rights.

Ctrl+O to Open File. Choose File Path Below.

Windir:(C: )\Windows\System32\drivers\etc

Change File Type to All Files from Right Bottom Corner.

Choose hosts file and open it.
You Will See below Lines at Last of Page
#	127.0.0.1       localhost
#	::1             localhost

Now Just add this code to Block facebook
Using IPv4
127.0.0.1   www.facebook.com
127.0.0.1   facebook.com

Using IPv6
::1             www.facebook.com
::1             facebook.com


Now Just save this File. If you are using Antivirus, This may disinfect it, So Disable Real Time Protection for some time and After saving changes enable those Setting of Antivirus.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900