Solved

Restrict a website from your computer?

Posted on 2015-02-20
19
46 Views
Last Modified: 2015-03-03
Hi, Is there a way to restrict (block) a web site from coming into your computer? Thanks
0
Comment
Question by:camtz
  • 11
  • 6
  • 2
19 Comments
 
LVL 25

Expert Comment

by:Zephyr ICT
ID: 40621804
If it's just 1 website and hoping the ip-address doesn't change, you can add an entry in your host file pointing it to something else... That way it will always resolve to whatever you point it to.
0
 

Author Comment

by:camtz
ID: 40622076
Can you please give me instructions on how to locate the"host" file.  Is that the program file that I downloaded from this site?  If so, how do I add an entry to point somewhere else.  -  This has to do with a program I bought in 2005 and got three keys for three computers and now they are saying I need to purchase more keys.  Call their number but they appear to be out of business.
0
 
LVL 25

Expert Comment

by:Zephyr ICT
ID: 40622083
To open your host file follow these steps
Then, once you have it open, write something like this on a blank line without a # in front of it:

987.654.321.0 www.name_of_website.com

Open in new window


The number in front of the name of the website is a bogus IP-address, it will resolve to nothing, error out.

Save the file, reboot for good measure (not really necessary normally, but can't hurt).

Try to surf to the website you've entered in the host file, it should come up as not reachable.
0
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 33

Expert Comment

by:Big Monty
ID: 40622117
browsers have parental controls that are either built in or can be downloaded for free, is that what you're looking for?

for example, chrome has https://chrome.google.com/webstore/detail/block-site/eiimnmioipafcokbfikbljfdeojpcgbh?hl=en
0
 

Author Comment

by:camtz
ID: 40622209
Unfortunately I use Firefox.  Not sure if they have something similar.
0
 
LVL 33

Expert Comment

by:Big Monty
ID: 40622213
0
 

Author Comment

by:camtz
ID: 40622302
spravtek, I was doing fine up until Show hidden files, etc. - then, he says now navigate to the directory above and open the host file. -  I don't know which directory he is talking about.  It's not listed in the view mode and I noticed his example host file is dated in 2009.  Can you help me out please? Thanks.
0
 

Accepted Solution

by:
camtz earned 0 total points
ID: 40622341
spravtek, Making progress. I think he was talking about the path he showed earlier; e.g.;
%systemroot%\system32\drivers\etc.  -  problem for me is he didn't complete the full path and I don't know what to add to it.
0
 

Author Comment

by:camtz
ID: 40622395
One more thing, is it possible that I could find the key or whatever you call it that let's them know that I have activated their program and delete it.  Would that be a better way to do it?  I am attaching a pic of what I get when I bootup and it's very annoying because they kill the program at that point.  I shouldn't even be having this problem because I paid for all three keys. Pic-1.JPG
0
 
LVL 25

Expert Comment

by:Zephyr ICT
ID: 40622958
Messing with keys and programs is not the thing to start with, will cause some headaches.

That said, just open your notepad with administrator rights, click file > open, browse to C:\windows\system32\driver\etc\hosts  (no extension)

Only if you open and run notepad with administrator rights will you be able to save your changes.
0
 

Author Comment

by:camtz
ID: 40623162
spravtek, I'm going to heed your advice and stay away from this.  I am certainly not qualified to get into stuff like that.  One more question, can the program be modified so that it does not send a cookie to the website when it's activated or is that just as technical?  Lastly, I am learning to use AutoHot keys.  Can I write a script that would block them from access?  I really appreciate your time and effort.
0
 
LVL 25

Expert Comment

by:Zephyr ICT
ID: 40623166
Adjusting your hosts file is nothing to worry about, that is something you can do without any risks to your machine, but messing with keys and programs or trying to stop cookies is another thing ... That's quite technical.

Now, if you change the hosts file, the program will not be able to resolve the name of the host (if the hostname is the same as the website, it might go to a different url)... But I wonder, if it can't connect to the website, will the program still run? Won't it just shut down?
0
 

Author Comment

by:camtz
ID: 40623277
You are probably right.  Seems like thein data base would be looking for a confirmation before I could proceed.  What about the idea of writing a script for AHK that would block them access to my computer?
0
 
LVL 25

Expert Comment

by:Zephyr ICT
ID: 40623282
Same thing, as long as the software doesn't get confirmation from the server that the license is ok, it probably will not start ... You could try to block the access with the firewall ... A script seems like a lot of work.
0
 

Author Comment

by:camtz
ID: 40623424
We gave it our best shot.  I'm going to continue to try and contact the vendor and see if we can resolve this.  Since I can't get anything but a message when I call and they won't return my call I think they may be out of business.  One last comment.  Are adons for Firefox as suggested by Big Monty safe to use?
0
 
LVL 25

Expert Comment

by:Zephyr ICT
ID: 40623473
Most add-ons in Firefox are safe, especially through the Firefox market ... Just be aware of add-ons that come from fishy sites...

Good luck!
0
 

Author Comment

by:camtz
ID: 40623492
Many thanks for all your help
Carlos
0
 

Author Comment

by:camtz
ID: 40623524
I don't understand what is going on.  I accepted solution ID: 40622958 and left the site so why did it not close the question?
0
 

Author Closing Comment

by:camtz
ID: 40641563
Many thanks
Carlos
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Basics of Drool Rule Engine with few samples 2 78
Recieving large files from China 4 145
Migrate Application To New Mac 5 58
PHP Curl to output a url 7 47
Developer tools in browsers have been around for a while, yet they are still heavily underused by developers. Developers still fix html or CSS then refresh page to see effect, or they put alert or debugger in JavaScript and then try again and again …
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question