How to block website

Status
Not open for further replies.

coldhart

Distinguished
Nov 9, 2009
7
0
18,510
0
how to block website without restarting computer?
website can be blocked through hosts file entry but user need to restart their computer so is there any other way to block site without restarting computer?
i have kaspersky is 2013 , it can block site without restarting computer but it show dialogue box of kaspersky that firewall blocked the site in browser. is their any possibility to block website without other user to find out that particular site is blocked in system (ie. error code like site not found)
 

PhilFrisbie

Distinguished
Apr 22, 2006
666
0
19,310
53
What are you actually trying to accomplish, and how much work are you willing to do to accomplish it?

Yes, you can do it the way virus protection does by creating a Layered Service Provider (LSP). This will require C/C++ system programming, and then it must be installed on the users PC. The LSP can listen in on all HTTP requests, and when a request matches a blocked site it can substitute a simple error page for the browser to display.
 

calmstateofmind

Distinguished
Jul 2, 2009
292
0
19,010
21
Are you using a router in your network setup? If so, you should be able to go into your router settings and simply type in the URLs of the websites you want to restrict access to. All you would need to do is specify which computer it is you want to restrict by entering its MAC address (which can easily be obtained). From there just save the changes and you're done!
 

I

Distinguished
May 23, 2004
19
0
18,560
0
No, the computer does not need restarted to block a site with a hosts file. You only have to restart the application that is trying to access the site.

However, unless you are doing this on your own account (as the account owner) it is probably illegal and at least very unethical to censor anything from someone else. Plus, they can always get there with a proxy if they know what a proxy is, people don't usually try to get to a web site then assume it's always down, since there are other sites that can check whether a site really is down and they are very easy to find with a web search.
 
Status
Not open for further replies.
Thread starter Similar threads Forum Replies Date
S Social Networking 3
K Social Networking 1
P Social Networking 1
R Social Networking 3
A Social Networking 1
R Social Networking 2
G Social Networking 2
S Social Networking 3
B Social Networking 1
J Social Networking 4
U Social Networking 2
M Social Networking 1
R Social Networking 1
N Social Networking 2
S Social Networking 1
A Social Networking 4
R Social Networking 5
T Social Networking 1
haseeb_asgamer23 Social Networking 5
B Social Networking 2

ASK THE COMMUNITY

TRENDING THREADS