Re: How can I set tomcat NOT Case Sensitive

2006-03-08 Thread David Delbecq
Buddy wu a écrit : 2006/3/7, David Kerber [EMAIL PROTECTED]: Context caseSensitive=false thanks a lot. it worked. and I think someone discussed other problem of these question maybe right. but my goal is only to let tomcat's URL or URI (I don't kown which is wright, or all are write)

Re: How can I set tomcat NOT Case Sensitive

2006-03-08 Thread Hadraba Petr
Sorry, for my posting, but On 3/8/06, David Delbecq [EMAIL PROTECTED] wrote: Buddy wu a écrit : 2006/3/7, David Kerber [EMAIL PROTECTED]: Context caseSensitive=false thanks a lot. it worked. and I think someone discussed other problem of these question maybe right. but my goal is

Re: How can I set tomcat NOT Case Sensitive

2006-03-08 Thread David Kerber
You're welcome. That tradeoff between security and usability is a decision only you and your users can make, but I like to have the option to make that tradeoff if necessary. Dave Buddy wu wrote: 2006/3/7, David Kerber [EMAIL PROTECTED]: Context caseSensitive=false thanks a lot.

Re: How can I set tomcat NOT Case Sensitive

2006-03-08 Thread David Delbecq
Hadraba Petr a écrit : Sorry, for my posting, but That's not where security problem lies: Let's assume your public site is at http://yourserver/yourwebapp/index.jsp if casesensitiveness is deactivated and you are using a case sensitive filesystem (like the microsoft ones), accessing

Re: How can I set tomcat NOT Case Sensitive

2006-03-08 Thread Buddy wu
This only applies to ressource url, not servlet url, neither filters, nor security-constraint. that's what I want to confirm. and the security problem that someone has said, I think it may not be so important. If a hacker want to detect your site, I think he will test all posibles JSP Jsp

Re: How can I set tomcat NOT Case Sensitive

2006-03-08 Thread Buddy wu
2006/3/8, David Kerber [EMAIL PROTECTED]: You're welcome. That tradeoff between security and usability is a decision only you and your users can make, but I like to have the option to make that tradeoff if necessary. Dave Thank Dave! I said that yesterday only to describe only what I want to

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread David Kerber
Context caseSensitive=false Buddy wu wrote: 2006/3/7, Long [EMAIL PROTECTED]: Buddy wu wrote: I wan't to know there is any way to set tomcat NOT CASE SENSITIVE in URL I mean: when I write in browser's 'http://localhost/test.html' equals to 'http://localhost/TEST.htm'. Can I do it

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread David Smith
I believe the case sensitivity is per spec and there aren't any settings to change it. One possibility (this is untested) is to wrap the request in your own request wrapper and then over ride the methods that provide different components of the request URI to normalize case. Use a request

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread David Delbecq
Be careful, there are security issues with this (jsp code disclosure!)!! David Kerber a écrit : Context caseSensitive=false Buddy wu wrote: 2006/3/7, Long [EMAIL PROTECTED]: Buddy wu wrote: I wan't to know there is any way to set tomcat NOT CASE SENSITIVE in URL I mean: when

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread David Kerber
I've seen that notice, but could you explain to me how that works? I don't see how this could cause any security issues, except for slightly reducing the number of attempts you would need in a brute-force hacking attempt. Dave David Delbecq wrote: Be careful, there are security issues

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread David Delbecq
I suspect a call to /something.JSP will not go thru the jsp engine. I can also guess that calls the security constraints applied on /servlet will not apply on /SERVLET David Kerber a écrit : I've seen that notice, but could you explain to me how that works? I don't see how this could cause

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread Vikram Godse
Hi, I am running Apache Tomcat/5.5.12 with JVM 1.5.0-b64.My O/S is RHEL4.0 ES.My hardware configuration is as follows Intel Xeon 3.0Ghz Dual CPU RAM 4gb I am running an JSP and Servlets based application with connectivity to MySQL 5 for database access. I am facing a problem, when my user

RE: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vikram Godse Subject: Re: How can I set tomcat NOT Case Sensitive Can anybody tell me where the problem lies? The problem lies in hijacking someone else's mailing list thread. Start your own if you have a new issue to discuss

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread David Kerber
If it works that way (and I haven't tried it), then I would say that the caseSensitive=false flag was not working as I would expect. I would expect that things defined for /MYNAME would work for /myname if caseSensitive was false. Can anybody tell me definitively how this security risk

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread David Delbecq
Looking at code, it seems the casesensitive flag is used when a ressources is loaded from filesystem (amongst others). if casesensitive is true, the absolute filename of loaded ressource is compared to the requested ressource (in filedircontext). If casesensitive is removed, anything accepted by

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread David Kerber
Would that mean that it only applies to stuff being read off the filesystem, like .jsp's and other files? Therefore it wouldn't apply to context paths, servlets, etc? Thanks! Dave David Delbecq wrote: Looking at code, it seems the casesensitive flag is used when a ressources is loaded from

RE: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread Tim Lucia
, March 07, 2006 9:04 AM To: Tomcat Users List Subject: Re: How can I set tomcat NOT Case Sensitive Looking at code, it seems the casesensitive flag is used when a ressources is loaded from filesystem (amongst others). if casesensitive is true, the absolute filename of loaded ressource is compared

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread David Kerber
To: Tomcat Users List Subject: Re: How can I set tomcat NOT Case Sensitive Looking at code, it seems the casesensitive flag is used when a ressources is loaded from filesystem (amongst others). if casesensitive is true, the absolute filename of loaded ressource is compared to the requested ressource

RE: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread Tim Lucia
with? -Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 07, 2006 9:35 AM To: Tomcat Users List Subject: Re: How can I set tomcat NOT Case Sensitive Yes, that was me, and that's why I chimed in here. However, still nobody has explained in any detail how

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread David Kerber
To: Tomcat Users List Subject: Re: How can I set tomcat NOT Case Sensitive Yes, that was me, and that's why I chimed in here. However, still nobody has explained in any detail how this is a security risk other than reducing the number of guesses you have to make to find static resources in a brute-force

RE: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread Peter Crowther
From: David Kerber [mailto:[EMAIL PROTECTED] Ok, I see that, and it's kind of scary! That seems like a pretty poor design for the compiler not to handle that kind of change. It ain't the compiler - the JSP compiler never gets invoked because the mapping is case-sensitive, and the mapping

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread David Delbecq
To: Tomcat Users List Subject: Re: How can I set tomcat NOT Case Sensitive Yes, that was me, and that's why I chimed in here. However, still nobody has explained in any detail how this is a security risk other than reducing the number of guesses you have to make to find static resources

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread David Kerber
Peter Crowther wrote: From: David Kerber [mailto:[EMAIL PROTECTED] Ok, I see that, and it's kind of scary! That seems like a pretty poor design for the compiler not to handle that kind of change. It ain't the compiler - the JSP compiler never gets invoked because the mapping is

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread Vikram Godse
Hi, Sorry for the incorrect posting... Regards, VIkram On 3/7/06, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vikram Godse Subject: Re: How can I set tomcat NOT Case Sensitive Can anybody tell me where the problem lies

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread Buddy wu
2006/3/7, David Kerber [EMAIL PROTECTED]: Context caseSensitive=false thanks a lot. it worked. and I think someone discussed other problem of these question maybe right. but my goal is only to let tomcat's URL or URI (I don't kown which is wright, or all are write) case-insensitive. I don't care

Re: How can I set tomcat NOT Case Sensitive

2006-03-06 Thread Long
Buddy wu wrote: I wan't to know there is any way to set tomcat NOT CASE SENSITIVE in URL I mean: when I write in browser's 'http://localhost/test.html' equals to 'http://localhost/TEST.htm'. Can I do it ? or just in WINDOWS can but Linux/unix can't? Right, url is case-insensitive under

Re: How can I set tomcat NOT Case Sensitive

2006-03-06 Thread Buddy wu
2006/3/7, Long [EMAIL PROTECTED]: Buddy wu wrote: I wan't to know there is any way to set tomcat NOT CASE SENSITIVE in URL I mean: when I write in browser's 'http://localhost/test.html' equals to 'http://localhost/TEST.htm'. Can I do it ? or just in WINDOWS can but Linux/unix