You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Da...@rnib.org.uk on 2004/09/10 11:54:26 UTC
access restriction limits
With a single context is it possible
to have variant access roles for different child directories
or different html files within the single context?
/webapps
/myapp
a.html
b.jsp
c.html
Is it possible to configure 3 different roles for
a.html
b.jsp
c.html?
I.e. to restrict users to some or all of the 3 files?
>From my trials to date I'm coming to the conclusion
it can't be done under tomcat.
I've not found any examples that use anything
other than
<url-pattern>/repository/*</url-pattern>
in web.xml, within <security-constraints>
Regards DaveP.
**** snip here *****
--
DISCLAIMER:
NOTICE: The information contained in this email and any attachments is
confidential and may be privileged. If you are not the intended
recipient you should not use, disclose, distribute or copy any of the
content of it or of any attachment; you are requested to notify the
sender immediately of your receipt of the email and then to delete it
and any attachments from your system.
RNIB endeavours to ensure that emails and any attachments generated by
its staff are free from viruses or other contaminants. However, it
cannot accept any responsibility for any such which are transmitted.
We therefore recommend you scan all attachments.
Please note that the statements and views expressed in this email and
any attachments are those of the author and do not necessarily represent
those of RNIB.
RNIB Registered Charity Number: 226227
Website: http://www.rnib.org.uk
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: access restriction limits
Posted by Tim Funk <fu...@joedog.org>.
You can but it is a PITA. The servlet spec doesn't do well for fine grained
control of resources withoiut a lot of effort (in web.xml)
-Tim
David.Pawson@rnib.org.uk wrote:
> With a single context is it possible
> to have variant access roles for different child directories
> or different html files within the single context?
>
> /webapps
> /myapp
> a.html
> b.jsp
> c.html
>
> Is it possible to configure 3 different roles for
> a.html
> b.jsp
> c.html?
>
> I.e. to restrict users to some or all of the 3 files?
>
>>>From my trials to date I'm coming to the conclusion
> it can't be done under tomcat.
>
> I've not found any examples that use anything
> other than
> <url-pattern>/repository/*</url-pattern>
> in web.xml, within <security-constraints>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org