Please let me know how to detect whether a user is behind a free web proxy?
A:
Unless you have an exhaustive list of every free web proxy you cannot (and more are being added every day)
Can you tell us more of what you are trying to do? Maybe we can find another way to help you.
LeonixSolutions
2010-07-03 03:53:51
I do know that facebook does not allow user behind a proxy. I just wanted to know how they did it. Plus, I only want legitimate users, not faked users.
Mark Attwood
2010-07-03 03:58:37
Facebook doesn't allow many common proxies, but there are many that can still get through. It's not an exact science.
Amber
2010-07-03 04:08:43
@mark - most corporates will be using a proxy, yet the staff will still be able to reach FB. You might find that it is the *proxy* preventing the access to FB, rather than FB detecting that you are coming though a proxy.
slugster
2010-07-03 04:16:18
+1 to slugsters comment - Most companies that i have worked with implemented security at their web proxy servers to disallow traffic from social networking sites - sometimes between X AM - Y PM only - I am not aware of facebook practively doing anything (but this was in their pre - privacy hullabaloo days)
InSane
2010-07-03 04:55:50
+1
A:
You basically need a database of all known web proxies. If you want this because you want to disallow access for users behind a proxy, I would say it's a waste of time. New proxies come up all the time and it's difficult to maintain a database that is up-to-date.
casablanca
2010-07-03 03:54:56
A:
I don't know much about proxy servers, but I was under the impression that you could check the X-FORWARDED-FOR
field in the HTTP header.
mrduclaw
2010-07-03 04:52:40
Sorry, I assumed he wants to know if people are coming to his site via a proxy server. So, you check if that field exists since I believe it is added by proxy-servers like Squid.
mrduclaw
2010-07-05 23:20:49