You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Charles Li <cl...@yahoo.com> on 2005/04/04 20:56:00 UTC
[users@httpd] Re: how to limit access to application base on port number
This is what I would like to do:
When a user comes in using URL: server:7777, I want
them to only access server:7777/appA, they can not
access other apps but appA
When a user comes in using URL: server:8888, I want
them to only access server:8888/appB, they can not
access other apps but appA
Thanks,
Charles Li
--- Charles Li <cl...@yahoo.com> wrote:
> Is there a way to limit what application a user can
> access base on the port number the user comes from?
> ie. I want user coming in from port 7777 to only be
> able to run app A, and port 8888 to only run app B.
>
> Thanks.
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - 250MB free storage. Do more. Manage less.
http://info.mail.yahoo.com/mail_250
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Re: how to limit access to application base on
port number
Posted by "bvr@xs4all.nl" <bv...@xs4all.nl>.
Use a VirtualHost for each port, and (for example)
Location + Allow/Deny to restrict them to appA and appB respectively.
http://httpd.apache.org/docs-2.0/mod/core.html#virtualhost
http://httpd.apache.org/docs-2.0/mod/core.html#location
http://httpd.apache.org/docs-2.0/mod/mod_access.html#deny
bvr.
Charles Li wrote:
> This is what I would like to do:
>
> When a user comes in using URL: server:7777, I want
> them to only access server:7777/appA, they can not
> access other apps but appA
>
> When a user comes in using URL: server:8888, I want
> them to only access server:8888/appB, they can not
> access other apps but appA
>
> Thanks,
> Charles Li
>
>
> --- Charles Li <cl...@yahoo.com> wrote:
>
>>Is there a way to limit what application a user can
>>access base on the port number the user comes from?
>>ie. I want user coming in from port 7777 to only be
>>able to run app A, and port 8888 to only run app B.
>>
>>Thanks.
>>
>>__________________________________________________
>>Do You Yahoo!?
>>Tired of spam? Yahoo! Mail has the best spam
>>protection around
>>http://mail.yahoo.com
>>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - 250MB free storage. Do more. Manage less.
> http://info.mail.yahoo.com/mail_250
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org