Solved

Web Blocking on a single PC

Posted on 2004-04-08
8
206 Views
Last Modified: 2010-04-11
Hello,

I have a department that would like a PC to be able to be accessed by the public but they only want them to be able to go to one website, a website where they can sign up for something on their own.  I know there is software that will do this.  I was wonder what the best is for this senario.  I want them to only be able to access the one website.  Thanks guys/gals.
0
Comment
Question by:gustac
8 Comments
 
LVL 49

Expert Comment

by:sunray_2003
ID: 10784351
this should work i guess.. You can setup a proxy server and make the proxy server allow only one website that you want people
to go to.. They cannot view other websites or will ask for username and password to connect to any other website .
0
 
LVL 1

Accepted Solution

by:
badrox earned 50 total points
ID: 10785959
Perhaps even easier than that would be just to setup a proxy.pac and configure it in the browser.

And the file would look something like this:

function FindProxyForURL(url, host)
{

if (isPlainHostName(host) ||
    dnsDomainIs(host, "the.one.website.com") ) {
    return "DIRECT";

}

else if (url.substring(0, 5) == "http:") {

return "PROXY localhost:8080";

}

Saving that as a .pac and loading it on the machine should work, since it will allow them to go direct for the website you want but anything else they will connect back to their local machine and assuming they don't have a proxy server running there, will give them a page not found.

Very easily bypassed mind you if they can change their IE settings but very little man time also.
0
 

Assisted Solution

by:cyrobinson
cyrobinson earned 50 total points
ID: 10824352
how about removing the DNS settings from the machine ad adding a name to ip address mapping in the hosts file?

that way access to any site by name will fail except for the one in the hosts file
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 1

Expert Comment

by:badrox
ID: 10832751
If you change the hosts file, you run the risk of not being able to access your internal systems as well.  My understanding of the question is that they just want to block web and nothing more.

Is this correct gustac?
0
 

Author Comment

by:gustac
ID: 10832932
Well, it's going to be a public PC and used ONLY for browsing the one website so internal systems wouldn't be a problem.  

As far as setting up a proxy for just this one PC, I don't think I'm going to put that much time into that.  Seems like there should be an easier way.  Thanks for the comments so far guys.  I'm still working on it....
0
 
LVL 1

Expert Comment

by:badrox
ID: 10832955
If that is the case, either one of those examples would work.  You can do a mini-pac on the local box or you can set do null dns servers and put the host you want to be able to get to in the hosts file.

Either one of those would do the trick.
0
 
LVL 27

Expert Comment

by:Tolomir
ID: 15727186
No comment has been added to this question in more than 21 days, so it is now classified as abandoned..
I will leave the following recommendation for this question in the Cleanup topic area:
Split: badrox{http:#10785959} & cyrobinson{http:#10824352}

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

Tolomir
EE Cleanup Volunteer
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
EXCHANGE 2007, EXCHANGE 2013 8 77
Accessing SQL Server Instance from outside the network 29 97
Palo Alto Networks: Truly No Hit Count? 2 43
Windows 2012 PKI in a hybrid org 3 46
On Beyond Tools A conversation I recently had with the DevOps manager of a major online retailer really made me think about DevOps monitoring tools (https://www.onpage.com/devops-incident-management-tool/). The manager and I discussed how sever…
One of the biggest threats in the cyber realm pertains to advanced persistent threats (APTs). This paper is a compare and contrast of Russian and Chinese APT's.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

815 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now