Re: Tomcat Security Office Hours

2021-03-01 Thread Mark Thomas
On 01/03/2021 11:16, Rony G. Flatscher (Apache) wrote: On 24.02.2021 12:59, Mark Thomas wrote: All, Inspired by this post [1] I am going to try an experiment with running weekly office hours every Thursday. I'm going to start off by focussing on security. If there is anything you'd like to dis

Re: Tomcat Security Office Hours

2021-03-01 Thread Rony G. Flatscher (Apache)
On 24.02.2021 12:59, Mark Thomas wrote: > All, > > Inspired by this post [1] I am going to try an experiment with running > weekly office hours every Thursday. > > I'm going to start off by focussing on security. If there is anything > you'd like to discuss and/or provide feedback on and/or ask que

Re: Tomcat Security Option

2016-04-14 Thread Olaf Kock
Could you elaborate what you mean with "security option"? There's a number of things that you can do for securing tomcat, and enabling the security manager is only one thing. If you do this, you probably want to specify the policy for the server's sandbox - e.g. which files it's allowed to access,

RE: Tomcat security vulnerability/ or security config issue

2013-04-18 Thread Caldarale, Charles R
> From: David kerber [mailto:dcker...@verizon.net] > Subject: Re: Tomcat security vulnerability/ or security config issue > If things are configured properly, web users won't be able to see > anything outside your app hierarchy, so something clearly isn't set up > prop

Re: Tomcat security vulnerability/ or security config issue

2013-04-18 Thread David kerber
If things are configured properly, web users won't be able to see anything outside your app hierarchy, so something clearly isn't set up properly. On 4/18/2013 9:14 AM, Wen Liu wrote: Howdy, I have a issue with Tomcat security, please find the spec below: Server version: Apache Tomcat/6.0.

Re: Tomcat security vulnerability/ or security config issue

2013-04-18 Thread Mark Thomas
On 18/04/2013 14:14, Wen Liu wrote: > > > Howdy, > > I have a issue with Tomcat security, please find the spec below: > > Server version: Apache Tomcat/6.0.35 > Server built: Nov 28 2011 11:20:06 > Server number: 6.0.35.0 > OS Name:SunOS > OS Version: 5.10 > Architecture: x86 >

Re: Tomcat Security Limitation

2012-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mourad, On 10/10/12 12:35 PM, Mouradk wrote: > Thanks all for your reply. I managed to get the debug logs on and > those logs of interest were set to WARN (warnings), they gave me > an indication to the required security settings and I finally got >

Re: Tomcat Security Limitation

2012-10-10 Thread Mouradk
Dear all, Thanks all for your reply. I managed to get the debug logs on and those logs of interest were set to WARN (warnings), they gave me an indication to the required security settings and I finally got it to work !! I am experiencing another problem now. But at least I got Tomcat security

Re: Tomcat Security Limitation

2012-10-10 Thread André Warnier
Mouradk wrote: Hi Chris, I am using Tomcat6 on ubuntu 10.10. I suppose when you say CATALINA_OPTS you mean that in /usr/share/tomcat6/bin/catalina.sh . I have added this as such: CATALINA_OPTS="$CATALINA_OPTS $JPDA_OPTS, -Djava.security.debug=all" I have also set the logging level to FINE in

Re: Tomcat Security Limitation

2012-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mouradk, On 10/10/12 10:04 AM, Mouradk wrote: > I am using Tomcat6 on ubuntu 10.10. I suppose when you say > CATALINA_OPTS you mean that in /usr/share/tomcat6/bin/catalina.sh > . It would be better to use CATALINA_BASE/bin/setenv.sh so you don't hav

Re: Tomcat Security Limitation

2012-10-10 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mouradk, On 10/10/12 7:49 AM, Mouradk wrote: I am running a servlet that reads and writes to an remote instance of = Hbase/Hadoop on ec2. When the security manager is off, all is fine. But = when the manager is on, write

Re: Tomcat Security Limitation

2012-10-10 Thread Mouradk
Hi Chris, I am using Tomcat6 on ubuntu 10.10. I suppose when you say CATALINA_OPTS you mean that in /usr/share/tomcat6/bin/catalina.sh . I have added this as such: CATALINA_OPTS="$CATALINA_OPTS $JPDA_OPTS, -Djava.security.debug=all" I have also set the logging level to FINE in $CATALINA_HOME/c

Re: Tomcat Security Limitation

2012-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mouradk, On 10/10/12 7:49 AM, Mouradk wrote: > I am running a servlet that reads and writes to an remote instance > of = Hbase/Hadoop on ec2. When the security manager is off, all is > fine. But = when the manager is on, write and read operations > fa

Re: Tomcat Security Permission Issue

2012-08-08 Thread Konstantin Kolinko
2012/8/9 bogdan ivascu : > System: ubuntu server 11.10 > tomcat6 ( installed from apt-get not downloaded ). > > Starting without -security enabled all works fine. Starting tomcat with > -security enabled gives the following: > > SEVERE: Exception starting filter app > org.apache.tapes

Re: tomcat security authenticator

2012-06-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zoltán, On 6/28/12 4:08 AM, Komáromi, Zoltán wrote: > 1. Why not a Realm? Because the authentication depends on session > attribute, and I want to bypass the form if user is logged in. > > So is this correct? > > > > The tomcat's doc says, that "J

RE: tomcat security authenticator

2012-06-28 Thread Martin Gainty
;information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Subject: Re: tomcat security authenticator > F

Re: tomcat security authenticator

2012-06-28 Thread Kris Easter
> I think, if I replace the FormAuthenticator with an descendant, it'll > solve the problem. > > To extend FormAuthenticator is simple, but how can I make Tomcat to use it? I tested this out at one time but it was never placed in production. My terse notes, which might be leaving something out,

Re: tomcat security authenticator

2012-06-28 Thread Jose María Zaragoza
2012/6/28 Komáromi, Zoltán : > 1. Why not a Realm? > Because the authentication depends on session attribute, and I want to > bypass the form if user is logged in. When I used Tomcat's realm to authenticate users , that was a issue than I missed : to access to session enviroment or context envirom

Re: tomcat security authenticator

2012-06-28 Thread Komáromi , Zoltán
1. Why not a Realm? Because the authentication depends on session attribute, and I want to bypass the form if user is logged in. So is this correct? The tomcat's doc says, that "Java class name of the implementation to use. This MUST be set to org.apache.catalina.authenticator.FormAuthenticator

Re: tomcat security authenticator

2012-06-28 Thread Konstantin Kolinko
2012/6/28 Komáromi, Zoltán : > Hi, > > I need to use custom authenticator, because a part of application is > using container authentication, and unfortunately the usersernames in > realm conflicts with usernames in application database. :( > > So I need, that if anibody is logged in to my applicat

RE: Tomcat security problem..please help

2010-12-30 Thread Yaragalla, Muralidhar
-Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Thursday, December 30, 2010 3:12 PM To: Tomcat Users List Subject: Re: Tomcat security problem..please help Yaragalla, Muralidhar wrote: > Hi all , I have added security manager in a filter initialization method in &

Re: Tomcat security problem..please help

2010-12-30 Thread André Warnier
Yaragalla, Muralidhar wrote: Hi all , I have added security manager in a filter initialization method in my webb app. I have deployed webapp in tomcat and when I start tomcat it is throwing the following error. Kindly help me in this. How to avoid this?What should I do in the security polic

Re: Tomcat Security

2010-02-05 Thread Bill Barker
wrote in message news:fb91a4c0c0682.4b6a8...@quicknet.nl... We are running a few web applications on Tomcat 6 on a Windows Server 2003 system in a Windows 2003 Active Directory Forest. How to make the Tomcat environment secure (hardening)? I read about security manager, but how to add the w

Re: Tomcat Security and Struts

2009-04-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hassan, On 4/22/2009 2:45 PM, Hassan Schroeder wrote: > On Wed, Apr 22, 2009 at 11:43 AM, Mighty Tornado > wrote: >> How can I make the request to port 8443 actually succeed? > > Configure an https Connector. And correctly set your "redirectPort" i

Re: Tomcat Security and Struts

2009-04-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 4/22/2009 12:37 PM, André Warnier wrote: > Caldarale, Charles R wrote: >>> From: Mikolaj Rydzewski [mailto:m...@ceti.pl] >>> Subject: Re: Tomcat Security and Struts >>> >>> Mark Thomas wrote: >&

Re: Tomcat Security and Struts

2009-04-22 Thread André Warnier
Mighty Tornado wrote: I think the following might be a problem. When I access the application I get this error in the browser:Firefox can't establish a connection to the server at localhost:8443 But did you not ask for this ? CONFIDENTIAL --

Re: Tomcat Security and Struts

2009-04-22 Thread Hassan Schroeder
On Wed, Apr 22, 2009 at 11:43 AM, Mighty Tornado wrote: > How can I make the request to port 8443 actually succeed? Configure an https Connector. -- Hassan Schroeder hassan.schroe...@gmail.com - To uns

RE: Tomcat Security and Struts

2009-04-22 Thread Caldarale, Charles R
> From: Mighty Tornado [mailto:mighty.torn...@gmail.com] > Subject: Re: Tomcat Security and Struts > > Firefox can't establish a connection to the > server at localhost:8443 You need to define a secure for port 8443. > But Tomcat is supposed to listen on port 8080 You

Re: Tomcat Security and Struts

2009-04-22 Thread Mighty Tornado
How can I make the request to port 8443 actually succeed? On Wed, Apr 22, 2009 at 2:40 PM, Hassan Schroeder < hassan.schroe...@gmail.com> wrote: > On Wed, Apr 22, 2009 at 11:16 AM, Mighty Tornado > wrote: > > I think the following might be a problem. When I access the application I > > get this

Re: Tomcat Security and Struts

2009-04-22 Thread Hassan Schroeder
On Wed, Apr 22, 2009 at 11:16 AM, Mighty Tornado wrote: > I think the following might be a problem. When I access the application I > get this error in the browser:Firefox can't establish a connection to the > server at localhost:8443 > > But Tomcat is supposed to listen on port 8080 - and it has

Re: Tomcat Security and Struts

2009-04-22 Thread Mighty Tornado
y way around this? On Wed, Apr 22, 2009 at 1:05 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: André Warnier [mailto:a...@ice-sa.com] > > Subject: Re: Tomcat Security and Struts > > > > Maybe this : if the login page itself contains a link to

RE: Tomcat Security and Struts

2009-04-22 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: Tomcat Security and Struts > > Maybe this : if the login page itself contains a link to a gif located > in the same area, trying to load that gif will also hit the > authentication bit, and trigger another login page

Re: Tomcat Security and Struts

2009-04-22 Thread André Warnier
Caldarale, Charles R wrote: From: Mikolaj Rydzewski [mailto:m...@ceti.pl] Subject: Re: Tomcat Security and Struts Mark Thomas wrote: /* will protect everything. If your login page uses any external assets (images, stylesheets, etc), it will become corrupted (assets won't load). Ca

RE: Tomcat Security and Struts

2009-04-22 Thread Caldarale, Charles R
> From: Mikolaj Rydzewski [mailto:m...@ceti.pl] > Subject: Re: Tomcat Security and Struts > > Mark Thomas wrote: > > /* will protect everything. > > > If your login page uses any external assets (images, stylesheets, > etc), it will become corrupted (assets won&

Re: Tomcat Security and Struts

2009-04-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mikolaj, On 4/22/2009 9:58 AM, Mikolaj Rydzewski wrote: > Mighty Tornado wrote: > I'm not sure if login page will work if it is located under WEB-INF > directory. Of course it will. There's nothing special about the WEB-INF directory that would preve

Re: Tomcat Security and Struts

2009-04-22 Thread Mikolaj Rydzewski
Mark Thomas wrote: /* will protect everything. If your login page uses any external assets (images, stylesheets, etc), it will become corrupted (assets won't load). -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-u

Re: Tomcat Security and Struts

2009-04-22 Thread Mighty Tornado
You are right: I just fixed this mistake - added member into my web.xml However, when I try to access my URL the browser gives me the following message: Data Transfer Interrupted On Wed, Apr 22, 2009 at 10:26 AM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: M

RE: Tomcat Security and Struts

2009-04-22 Thread Caldarale, Charles R
> From: Mighty Tornado [mailto:mighty.torn...@gmail.com] > Subject: Tomcat Security and Struts > > I am trying to make sure my app requires a login. So I configured the > following in my deployment descriptor: > > > >admin >*.do >POST > > >member > > >CON

Re: Tomcat Security and Struts

2009-04-22 Thread Mark Thomas
Mighty Tornado wrote: > Tomcat 6Struts 1.3 > OS: MacOS X - Leopard > > Hi, > > I am trying to make sure my app requires a login. So I configured the >*.do /* will protect everything. >POST This only protects the POST method. GETs will not be restricted. I'd remove this line. Mark

Re: Tomcat Security and Struts

2009-04-22 Thread Mikolaj Rydzewski
Mighty Tornado wrote: POST Why do you want to restrict access only to requests with POST method? I usually do not use http-method element. /WEB-INF/JSP/login.jsp I'm not sure if login page will work if it is located under WEB-INF directory. -- Mikolaj Rydzewski ---

RE: Tomcat Security

2008-11-27 Thread Caldarale, Charles R
> From: Pieter Temmerman [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat Security > > It's a pitty das mein Deutsch nicht so gut ist! ;) Ja, nach vierzig Jahren Nichtanwendung, mein Deutsch ist groß unbrauchbar. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHE

Re: Tomcat Security

2008-11-27 Thread Pieter Temmerman
It's a pitty das mein Deutsch nicht so gut ist! ;) On Thu, 2008-11-27 at 09:04 +0100, André Warnier wrote: > Rainer, Michael, (*) > > do you know this place ? (in German) > http://www.bsi.bund.de/literat/index.htm > > Look for A (for Apache) and T (for Tomcat). > The one for Tomcat relates to 5.

Re: tomcat security and window open js

2008-08-06 Thread Mark Thomas
daniel steel wrote: All, i found some interesting results by changing role defined under security-constraint. if we defined tomcat as the role-name, then window.open fails but if i change the role-name to manager, window.open works. why? Get yourself a copy of ieHttpHeaders and see what is

Re: tomcat security and window open js

2008-08-06 Thread daniel steel
All,    i found some interesting results by changing role defined under security-constraint. if we defined tomcat as the role-name, then window.open fails but if i change the role-name to manager, window.open works. why?                 manager         thanks dan p.s. ch

Re: tomcat security and window open js

2008-07-31 Thread Christopher Schultz
binjUCQUyxUig.bin Description: PGP/MIME version identification

Re: Tomcat security alerts

2008-04-16 Thread Mark Thomas
Pierre Goupil wrote: Is there a convenient way to keep in touch with Tomcat (6.0.x) security vulnerabilities ? I mean, I've browsed through the Tomcat website and I have found no RSS security feeds, no way of being sent an email when there is a new release, etc. Is there a way to be informed of t

Re: Tomcat Security Problem

2008-02-07 Thread alee amin
get what you mean by context? should i insert it > in conf/server.xml or somewhere else. It is confusing me. > > > On Feb 7, 2008 8:59 PM, Caldarale, Charles R <[EMAIL PROTECTED]> > wrote: > > > > From: alee amin [mailto:[EMAIL PROTECTED] > > > Subject: Re:

Re: Tomcat Security Problem

2008-02-07 Thread alee amin
actually i am not able to get what you mean by context? should i insert it in conf/server.xml or somewhere else. It is confusing me. On Feb 7, 2008 8:59 PM, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > From: alee amin [mailto:[EMAIL PROTECTED] > > Subject: Re: Tomca

RE: Tomcat Security Problem

2008-02-07 Thread Caldarale, Charles R
> From: alee amin [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat Security Problem > > How can i make it available for it and at the same > time i want application 1 BASIC AUTHENTICATION based > on tomcat-users.xml file. I already answered that question: > > Sounds

Re: Tomcat Security Problem

2008-02-07 Thread alee amin
Yeah i guess so. I want realm thing only for application 2. How can i make it available for it and at the same time i want application 1 BASIC AUTHENTICATION based on tomcat-users.xml file. I am going throgh the page u sent but still not able to get some working solution. Need it urgent. On Feb 7

RE: Tomcat Security Problem

2008-02-07 Thread Caldarale, Charles R
> From: alee amin [mailto:[EMAIL PROTECTED] > Subject: Tomcat Security Problem > > Application 2 has form based security and for some > enhanced security i have added the "realm" for the > database in conf/server.xml file. Where in server.xml? A element may be nested inside of an , , or , de

Re: Tomcat Security/Service question..

2007-11-29 Thread br1
Joe, I would try running the service under your credentials. If it works, it's not a Tomcat problem. In general, the user has to be recognized both by the local machine and by the remote machines that you are trying to query. The "service user" you are using might not have the necessary rights o

Re: Tomcat Security - implementing custom security

2007-09-18 Thread Mikolaj Rydzewski
alee amin wrote: The password is placed as in encryppted form in DB, so i can not rely on tomcat "authenticate" method which simple "select" the username/password from DB and match it. I have seen the implementation of ( org.apache.catalina.realm.JDBCRealm). Have you tried using 'digest' attri

Re: Tomcat Security - Disable the http connector

2007-06-02 Thread Jacob Rhoden
Pid wrote: Jacob Rhoden wrote: If I only allow connections to tomcat through apache (mod_jk), is it ok then to turn off the the http connector... Yes, just comment it out and restart. I have already done it. Thanks! I was just worried there would be some un-intended repercussions. Best Reg

Re: Tomcat Security - Disable the http connector

2007-06-02 Thread Pid
Jacob Rhoden wrote: Hi, If I only allow connections to tomcat through apache (mod_jk), is it ok then to turn off the the http connector, ie (for example in tomcat 6) So that tomcat only listens on the AJP port? Thanks. Yes, just comment it out and restart. p Best Regards, Ja

Re: Tomcat Security

2006-10-30 Thread Maurice Yarrow
n for helping me consider the options for dealing with this kind of behavior. Maurice Yarrow Caldarale, Charles R wrote: From: Maurice Yarrow [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat Security BUT: the finest granularity for what can be accessed in this mechanism is by servlet, not by the path

RE: Tomcat Security

2006-10-29 Thread Caldarale, Charles R
> From: Maurice Yarrow [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat Security > > BUT: the finest granularity for what can be accessed in this > mechanism is by servlet, not by the path info (getPathInfo()) > of the URI. Not true - security constraints apply to paths, not

Re: Tomcat Security

2006-10-29 Thread Maurice Yarrow
Chris, Chuck (Yeah, uh, pretty much what you are saying below, Chris) Yes, I looked at the how-to for realm-based authentication and also several of the org.apache.catalina.realm.*, and in particular at org.apache.cataline.real.JDBCRealm api's. The realm authentication and authorization mechani

Re: Tomcat Security

2006-10-29 Thread Christopher Schultz
Maurice, Maurice Yarrow wrote: > So what I would like to know how to do is how to programmatically > bypass web.xml-based authorization and impose this authorization > on a access-case-by-case but take advantage of applying > the induced security contraint to any URL pattern desired (Chuck's > wo

Re: Tomcat Security

2006-10-28 Thread Maurice Yarrow
PROTECTED] Subject: Re: Tomcat Security Well, he did say that the user can choose arbitrarily what the authorization rules were. I would imagine that includes changing it on the fly. Changing the URL on the fly based upon the authorization rules would be very awkward. Agreed - it really

RE: Tomcat Security

2006-10-28 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat Security > > Well, he did say that the user can choose arbitrarily what the > authorization rules were. I would imagine that includes changing > it on the fly. Changing the URL on the fly based upon th

Re: Tomcat Security

2006-10-28 Thread Maurice Yarrow
Chris, Chuck Yes, Chris: the below is the case exactly: (Actually, galleries - and consequently their included images and documents are authenticated, not specific images.) So what I would like to know how to do is how to programmatically bypass web.xml-based authorization and impose this author

Re: Tomcat Security

2006-10-28 Thread Maurice Yarrow
Chris Yes, the way my image server system (if I can call it such) works is pretty much exactly what you are suggesting. This issue, for me at least, is in the past-tense - i.e., already working code. And yes, as I say above, the model I devised is pretty much what you suggested. Maurice Yarro

Re: Tomcat Security

2006-10-28 Thread Christopher Schultz
Chuck, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:[EMAIL PROTECTED] >> Subject: Re: Tomcat Security >> >> Since each image could have different authorization settings, >> you can't just use the servlet container's built-in author

RE: Tomcat Security

2006-10-28 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat Security > > Since each image could have different authorization settings, > you can't just use the servlet container's built-in authorization > (set up in web.xml). You will have to enfo

Re: Tomcat Security

2006-10-28 Thread Christopher Schultz
Maurice, > The answer is the latter: authentication required. > In fact, there are three levels of privacy on these images and documents: >public: (everyone can view) >passworded: (password required for viewing: say, your > family only. This pw

Re: Tomcat Security

2006-10-28 Thread Maurice Yarrow
Chris Yes, thank you for clarifying you question: The answer is the latter: authentication required. In fact, there are three levels of privacy on these images and documents: public: (everyone can view) passworded: (password required for viewing: say, your

Re: Tomcat Security

2006-10-28 Thread Christopher Schultz
Maurice Yarrow wrote: > The short answer is: if URL's are filtered first, then the actual location > DefaultServlet will need to use is not visible in any of the html. > Only for the authenticated serves will getPathInfo() be appropriately > adjusted and then passed to DefaultServlet. Huh? > Sil

Re: Tomcat Security

2006-10-27 Thread Maurice Yarrow
n for Maurice: why are you trying to protect your images? Do you want to stop people from ripping them off from your site? It's not my call, but the customer's. Maurice Christopher Schultz wrote: Chuck, Caldarale, Charles R wrote: From: Maurice Yarrow [mailto:[EMAIL PROTECTED] Subj

Re: Tomcat Security

2006-10-27 Thread Christopher Schultz
Chuck, Caldarale, Charles R wrote: >> From: Maurice Yarrow [mailto:[EMAIL PROTECTED] >> Subject: Re: Tomcat Security >> >> What I currently do is serve the static content from elsewhere, >> outside the tomcat/webapps tree. > > You still end up having to map t

RE: Tomcat Security

2006-10-27 Thread Caldarale, Charles R
> From: Maurice Yarrow [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat Security > > What I currently do is serve the static content from elsewhere, > outside the tomcat/webapps tree. Let's back up here for a moment. How are you delivering these controlled images and text

Re: Tomcat Security

2006-10-27 Thread Maurice Yarrow
Hello Chuck Yes, I also tried this quite a while back. Only problem: the image tree is in the many GBytes size. And, in addition, when redeploying, one has to be careful not to wipe out such a static file tree. But the major constraint is that such a static file tree may be very large and its

RE: Tomcat Security

2006-10-26 Thread Caldarale, Charles R
> From: PraDz [mailto:[EMAIL PROTECTED] > Subject: Tomcat Security > > How do i restrict users from entering the image/text files > path directly in the browser. Instead of putting your image/text directories under your 's appBase, put them under the associated app's WEB-INF directory, where th

RE: Tomcat Security Problem

2006-10-26 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat Security Problem > > You could turn off automatic deployment of WAR files and > configure each "known" application in your server.xml file. Apps should not be configured in server.xml

RE: Tomcat Security Problem

2006-10-26 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat Security Problem > > If you want to restrict what pages/data items the user sees > and to implement security for your web applications then I > would look at portals That has nothing to do with the

Re: Tomcat Security Problem

2006-10-26 Thread Christopher Schultz
Stephan, > i need tomcat to run/deploy only "known" applications. at startup the > container should somehow realize that a certain app is a "not authorized > one" and not load it. You could turn off automatic deployment of WAR files and configure each "known" application in your server.xml file.

Re: Tomcat Security Problem

2006-10-26 Thread Martin Gainty
, dissemination, distribution or copying of it or its contents - Original Message - From: "David Smith" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, October 26, 2006 7:19 AM Subject: Re: Tomcat Security Problem > To my knowledge there is no known f

Re: Tomcat Security Problem

2006-10-26 Thread David Smith
To my knowledge there is no known functionality like that. IMHO System Administrators should review all applications and make a determination as to a specific app's safety in their environment. --David Stephan Schöffel wrote: hi everbody, i need tomcat to run/deploy only "known" applicatio

Re: Tomcat security Manager

2006-08-21 Thread Markus Schönhaber
Mark Babcock wrote: > Does anyone know how to get tomcat 5.5 running as a windows service with > security manager enabled? Open the Tomcat Properties dialog, select the "Java" tab and under "Java Options" add the following two lines: -Djava.security.manager -Djava.security.policy=C:\Programme\Ap

Re: Tomcat Security....

2006-04-24 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread. Thi

RE: Tomcat Security....

2006-04-24 Thread Allistair Crossley
You need a firewall. Can be a router or a software firewall with your PC. You tell your firewall to allow access to the port that Tomcat is open on, e.g 8080 and lock down ports you don't want open such as your database port. Tomcat connects to the database locally on your machine, so the outside w

Re: Tomcat, Security and RMI

2006-03-28 Thread Mike Sabroff
I have not used RMI since '98 and I know it has gone through some changes since then. It use to be that RMIC created stubs and skeletons fore marshalling the data and class structure. (That is not the case anymore is it?) But, when I did this...even though the stub was on one side and th skelet

Re: Tomcat, Security and RMI

2006-03-24 Thread Markus Schönhaber
Gary Pennington wrote: > On Fri, Mar 24, 2006 at 01:10:40PM +0100, Markus Schönhaber wrote: > > I don't have much experience regarding RMI so I won't be of much help if > > it's a RMI-specific problem. But two points come to my mind: > > 1. You did make sure everything works as expected if you star

Re: Tomcat, Security and RMI

2006-03-24 Thread Gary Pennington
On Fri, Mar 24, 2006 at 01:10:40PM +0100, Markus Sch?nhaber wrote: > Gary Pennington wrote: > > If I invoke Tomcat with the following additional options, I can make my > > servlet/RMI client deploy: > > > > -Djava.rmi.server.codebase="http://webserver/builds2/garypen/jars/jscmc.jar > > http://webse

Re: Tomcat, Security and RMI

2006-03-24 Thread Markus Schönhaber
Gary Pennington wrote: > If I invoke Tomcat with the following additional options, I can make my > servlet/RMI client deploy: > > -Djava.rmi.server.codebase="http://webserver/builds2/garypen/jars/jscmc.jar > http://webserver/builds2/garypen/jars/jscma.jar"; > > The application executes fine until i

RE: Tomcat Security across context question?

2006-03-01 Thread Matt Carless
sorry, the tomcat version I'm using is 5.0.28 I look for the valve docs for that version Thanks --- "Caldarale, Charles R" <[EMAIL PROTECTED]> wrote: > > From: Matt Carless [mailto:[EMAIL PROTECTED] > > Subject: Tomcat Security across context question? > > > > Is this possible to login accros

RE: Tomcat Security across context question?

2006-03-01 Thread Caldarale, Charles R
> From: Matt Carless [mailto:[EMAIL PROTECTED] > Subject: Tomcat Security across context question? > > Is this possible to login accross multiple contexts > after a single sign-on when using the FORM based login > mechanism? Have you tried the Single Sign On valve? http://tomcat.apache.org/tomca

RE: Tomcat, Security, Anonymous Authentication

2006-02-13 Thread Duan, Nick
Anonymous authentication is an additional feature that you need to create in your web application. It doesn't come by default in any app servers. So there is no need to disable it when configuring Tomcat. There is a good article in JavaWorld discussing about anonymous authentication in J2EE.

Re: Tomcat Security Vulnerabilities

2006-02-10 Thread Markus Schönhaber
Jo Pfeffer wrote: > Just wanting to know if anyone can tell me in which version of Tomcat > the bug was fixed that allows you to enter in a URL like > http://domain.com/%3f.jsp and get a directory listing. I know it exists > in 3.2, just wondering which version it was fixed in. http://issues.apach

Re: Tomcat Security

2005-12-09 Thread Luis Correia
Hi to you all ! I've to check if the security settings of a Tomcat server are appropriated. Can anyone please tell me where should I start? Is there a security check list ? Please fell free to send me any documentation that you think it might help. I also have to analyse the security settings of