Tip & How-To about Computers & Internet

Internet Security--The Hosts File--

The hosts file can play an important role in your internet security should you choose to use it. Many Windows users have no idea that this file exists, and wouldn't know what to do with it if they did know it exists.

Others have heard of it, and some may have even read an article like this one, explaining the crucial part it can play in securing your PC from accidentally browsing a malicious website, but have no idea how to do it themselves because it wasn't adequately explained to them.
i will attempt to do that now.

What is a host file?
The Hosts file contains addresses and web site names. This file starts when windows does, then Windows checks the Hosts file before it opens any web site, which enables it to stop any web site from loading, that is listed. This changes access back to the local (your) machine. Another feature of the HOSTS file is its ability to block other applications from connecting to the Internet, if they are added to the hosts file.

There is a Simple way to set up your hosts file to block the most well known, and some not so commonly known malicious websites.
The easiest method I know of, is to run SpyBot Search and Destroy.
Whether you want to keep it installed or not doesn't really matter, because once it changes the hosts file by adding the list of bad websites, your host file is pretty well up to date at that time. Though I would suggest updating it at least once a month.

You can also change or add to your hosts file by navigating to:

C:windowssystem32driversetc

You will see the hosts file with no extension there.
After all, the hosts file doesn't really need an extension since it is primarily a reference file. Editing the Hosts file is fairly easy since you only need notepad to open it. Remember to keep the lines you add just like the lines above it with the name of the website you want to block as the entry after the IP (internet protocol) address.

Example:

127.0.0.1 maliciouswebsite.org

This website is now officially redirected back to the address of 127.0.0.1, which is the address your computer considers Home, or your PC, rather than the IP associated with that websites name.

Now all you need to do is save and close.
If for some reason your file gets named hosts.txt, simply remove the .txt part by renaming it, and you're done.

Also remember that this file will not work unless it is located in the C:windowssystem32driversetc folder.

That's my tip for today!

Happy Cruising!

Please Vote for this Tip if you found it helpful.
Bob S.

Posted by on

Computers & Internet Logo

Related Topics:

Related Questions:

3 Answers

how do i block a websites using at wa1104g allied telesyn router


For blocking certain websites, you can edit the Hosts File, and it goes this way 1. Open MyComputer 2. Browse C: (or your Operating system drive) 3. Browse Windows ->System32->drivers->etc So the Location will be C:\WINDOWS\system32\drivers\etc In the etc folder look for the file hosts 4. Open this file hosts with notepad. 5. At the bottom of the file, add the line as shown below: 127.0.0.1 www.***.com 127.0.0.1 www.***.com ... 7. Save the file. 8. reboot your computer. Note: In this way add any number of sites you want, however you will need to prefix it with "127.0.0.1". And this way is easily got around http://www.aobo-****-filter.com/

Oct 22, 2010 | Computers & Internet

3 Answers

I am getting error codes 6129,0 and 6073, 816 on my quickbooks 2008. What can I do to open the company?


This error can occur when:
  • Data is converted or restored over a network.
  • Several computers are acting as host for the QuickBooks data file.
  • QuickBooks is unable to communicate with the server.
  • There is data damage in your company file.

If the error occurred when you were restoring a company file from a backup or updating a company file to a newer version of QuickBooks over a network:
  1. Copy the backup file (.qbb file extension) or the company file you want to update (.qbw file extension) to a local hard drive.
  2. Restore the backup or update the company file.
  3. Copy the restored or updated company file back to its original location.

If the error occurred when you were trying to open and use a company file:
  1. Update QuickBooks to the most current release on all computers that open the company file.
  2. Close QuickBooks on all the computers with access to this company file.
  3. On the computer you select to host the company file, switch to single-user mode, and then back to multi-user mode:
    1. Open QuickBooks and open the company file.
    2. Choose File > Switch to Single-user Mode.
    3. Choose File > Utilities > Stop Hosting Multi-User Access.
    4. Choose File > Switch to Multi-user Mode.
    5. Choose File > Close Company to close the company file.
  4. On all other computers that will use the company file, stop hosting multi-user access :
    1. Press and hold Ctrl while you open the QuickBooks program and continue pressing Ctrl until QuickBooks opens completely. This opens QuickBooks without opening a company file.
    2. Choose File > Utilities >Stop Hosting Multi-User Access. If that option doesn't appear, the computer is not hosting and no further action is necessary.
    3. Repeat steps 4.a and 4.b for each computer other than the host computer.
  5. Configure the QuickBooks server for multi-user access:
    1. Click the Windows Start button and choose All Programs > QuickBooks > QuickBooks Database Server Manager.
    2. Click the Scan Folders tab.
    3. Click the Add Folder button, select the folder that contains your QuickBooks company file, and click OK. Repeat this step if necessary to add additional company file folders.
    4. Click the Scan button to begin scanning. After the scan is finished, the company files in the scanned folders are configured for multi-user access.
  6. Open the company file in QuickBooks. If you receive the same error message, refer to Settings required for firewalls to make sure your firewall is properly configured to allow QuickBooks access to your company file.
  7. Open the company file in QuickBooks. If you receive the same error message, open a different company file or a sample company file located in one of the folders you scanned with the Database Server Manager.
    • If no company file will open, reboot the host computer and try again.
    • If other company files open without error, the company file generating the error message may be damaged. For more information refer to Verifying and rebuilding QuickBooks company data.


Jun 01, 2010 | Intuit QuickBooks Pro 2008: Windows

Not finding what you are looking for?

139 people viewed this tip

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Doctor PC
Doctor PC

Level 3 Expert

7733 Answers

kakima

Level 3 Expert

102366 Answers

David Payne
David Payne

Level 3 Expert

14161 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Loading...