We help IT Professionals succeed at work.

What's the easiest way to allow a single website?

1namyln
1namyln asked
on
Medium Priority
387 Views
Last Modified: 2012-03-16
I have a computer running Windows 7 Professional.  I need this machine to access only one website.  What is the simplest most effective way to do this?  Content adviser using IE or editing the hosts files?  If its the host files what would the syntax be?  The user account will have limited permissions.  This machine will not be part of a domain.  Thanks in advance.
Comment
Watch Question

Simple Geek from the '70s
CERTIFIED EXPERT
Distinguished Expert 2019
Commented:
using the hosts file will work, just set the adapter tcpip dns settings to something that is invalid, it will say internet not connected but you can browse the 1 website, but no further.
PowerEdgeTechIT Consultant
CERTIFIED EXPERT
Top Expert 2010
Commented:
You can also do this via proxy settings in IE using Local/Group Policy:

User Configuration/Windows Settings/Internet Explorer Maintenance/Connection/Proxy Settings ... check box to enable, enter some invalid IP address (or address of web server with Internet access information), and list your one website in the Exceptions box.

Author

Commented:
Can you tell me what I would change in the lmhosts file?  I know what the file does but I don't know how to edit it correctly.
CERTIFIED EXPERT
Top Expert 2013
Commented:
1namyln--Perhaps of help  (some overlap of suggestions already made)
http://www.neowin.net/forum/topic/1005090-windows-hosts-file-can-we-restrict-access-to-only-selected-websites/

Note it is not the lmhosts file you will change but rather the HOSTS file.

Author

Commented:
Thank you for the clarification.

Author

Commented:
Content Adviser was the best solution for me.  Thanks for your efforts.

Explore More ContentExplore courses, solutions, and other research materials related to this topic.