homepage Welcome to WebmasterWorld Guest from 54.163.72.86
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
Adding proxy capability to my PHP webapp
I need to allow authed users into my network through my application
Duskrider




msg:3963409
 10:20 pm on Jul 31, 2009 (gmt 0)

I'm not even sure if what I want to do is possible or not, but the more I search the less I seem to find.

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.

Many of the applications my users need access to incorporate javascript and flash... so the proxy needs to be able to support both those things AND be utterly transparent to the user.

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.

 

coopster




msg:3972484
 2:40 pm on Aug 15, 2009 (gmt 0)

I'm a little confused here ... are users bob and sally within your local network? Or accessing from an external node?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved