Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Proxying restricted by URL *and* username?

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Web address in my causes permission error.  
Author Message
Andrew Instone-Cowie

External


Since: Mar 18, 2006
Posts: 1



(Msg. 1) Posted: Sat Mar 18, 2006 4:55 pm
Post subject: Proxying restricted by URL *and* username?
Archived from groups: alt>apache>configuration (more info?)

Can I do this with Apache's proxy/access/rewrite features?

I want to set up a proxy server which users must enter a username and
password to be able to proxy to the outside world: So far that looks
pretty straight forward with mod_access and "Require user".

I want to be able to restrict proxying to allow access to a specified
list of websites: I've found a method for doing that using a text list
of websites and mod_rewrite which looks like it should work.

The problem: I want some authenticated usernames (the adults) to be able
to access any Internet site via the proxy, but I want other usernames
(the kids) only to be able to access sites on the specified list. Can I
do that? How?

I don't want to set up two different proxies, e.g. in different virtual
hosts.

(Apache 2.0, if that makes a difference.)

Thanks
Andrew

 >> Stay informed about: Proxying restricted by URL *and* username? 
Back to top
Login to vote
Robert Ionescu

External


Since: Jan 19, 2006
Posts: 142



(Msg. 2) Posted: Sat Mar 18, 2006 4:55 pm
Post subject: Re: Proxying restricted by URL *and* username? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Andrew Instone-Cowie wrote:
> but I want other usernames
> (the kids) only to be able to access sites on the specified list.

May be prefix all user names for the kids with a 'k_' or something
similar. Or perform a RewriteMap lookup for the user name to determine
if it's an adult or a kid. Of course, you must keep a separate database
(e.g. txt-file) for that.

Just an idea...

--
Robert

 >> Stay informed about: Proxying restricted by URL *and* username? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
basic authentication and proxying - Hello everyone, I have this weird problem with getting authentication working with proxying. I was able to get the authentication working without proxying. I made a ..htaccess file: AuthType Basic AuthName UserAdmin AuthUserFile..

Rewriting rules and reverse proxying - Hi, I want to add in my URL something like this : http://www.domain.com/forums/ that point to http://forums.domain.com/ That work with RewriteRule ^/forums/* http://forums.domain.com/ [L,P] BUT all the link in the page are in the form of..

Error 500 proxying to SSL-secured site - I have a web-based application that I'm trying to reverse proxy through Apache 2.0. I'd like for the connection between browser and proxy to be SSL-secured, but due to certain limitations with this application that also means the connection between..

*Newbee* problem with rewrite mod/reverse proxying - Hi all, I've read lots of docs on the web but I can help say to myself that I'm really a big noob. So that's the problem. I've got a web site which is hosted on a server (for the moment it's easy lol) This server countain several aplications which are...

websphere application crashes when proxying to site throug.. - Background: An AS/400 on the company network is running websphere 5r1 (soon to be r2). The developer is creating applications that are to be accessible from the Internet. He is running an instance of apache on port 80, using the "WebSphere Plugin&...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]