Welcome to WebmasterWorld Guest from 22.214.171.124
I'm writing an application that acts as a kind of gateway to web resources. It authenticates users and controls permissions to what they can and cannot view through the app... the resources are just listed as urls. For example, Bob the user can access [bob.example.com...] and Sally the user can access [sally.example.com...] by logging into my application and choosing that resource from a menu.
Currently my application just acts like a middleman with some backend talking between my app and the resource to ensure the resource isn't being accessed remotely.
What I would really like is to incorporate a proxy, so that Bob and Sally could log into my application and gain access to a resource which my server has access to, but the outside world does not. I've seen a few open source php proxy packages, but they seem to be poorly supported and outdated. Ideally I would like to find a class that can handle the more tricky bits, but so far I've come up empty.
Is this even possible? I've worked very little with http requests and headers, so I'm not even sure what all is involved, though I'm fairly certain it's more than simply re-writing a few bits of the incoming pages.
Thanks for any help.