Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

i used php web proxy for limit web access in a office, clients have not internet access, so they use this php web proxy to view web page. the php proxy is running on a computer that have access to internet via a squid proxy server. ( for example i deny access to www.yahoo.com in squid ). all ok. So,if any clients send request to php proxy for yahoo.com it will be denied. ok.

But, if client open google via php proxy and search for yahoo , it shows yahoo.com at first result. then client click on result link and it will show yahoo.com website for client. how to control access in this way?

share|improve this question

migrated from stackoverflow.com Jun 6 '11 at 14:58

This question came from our site for professional and enthusiast programmers.

    
Proxying a proxy? Redundant redundancies... You couldn't prevent people from using Google's caches to surf another site, unless you block access to Google itself. –  Marc B Jun 6 '11 at 14:14
    
also blocking google is simplest way to solve. but google cache is not problem! the problem is url encoding by php proxy. (it is not proxying proxy. php web proxy just get the web site and show it for user, not access control, no filtering!) –  Mostafa Shaeri Jun 6 '11 at 14:31

2 Answers 2

It sounds like this particular php web proxy has some serious design issues, if people can select a result in a list of searches and go to a site that they weren't allowed to. What package is it?

share|improve this answer

As Marc B remarked, I think you have some issues in your current setup - for example you could allow your clients to connect directly to squid, and achieve much the same result (unless I am missing something truly fundamental in your setup).

Seems to me like you want a proper web filter though. What your trying to do is vaguely possible in a DIY method, but much easier and generally more cost effective with a web filter product. I work for Smoothwall so I will, with a hint of bias, recommend our filter, but in the interests of fairness, Barracuda is inexpensive, and there's also the likes of Websense available.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.