I asked this in the security forum and have gotten no replies ( I highly doubt someone does not know the answer to this). So here it is programming forum, your turn to shine How can I block proxies from accessing my server. I want to block all proxies from going to any part of my site (which proves difficult because I use 3 scripts). So I need a server wide solution. I utilize shared hosting. Can anyone help me on this?? ((the scripts I use are wordpress, Vbulletin, and coppermine)
Eugh.. *scratches head* I don't think you can block each and every proxy out there. However, transparent proxies send the "X-Forwarded-For" header by default (which only proxies do), so you can at least filter them out.
Oh yeah, you can also filter out every request supplying either of the "Via", "Forwarded", or "Client-ip" headers.
i can build a solution for this matter for you, including what keyaa mentioned plus a few other nifty methods to recognize proxies. contact me along with your yahoo/icq/msn/gtalk messenger id. greetings,