CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Java

 Hiding/Stricting the viewing Codecharge XML files in Tomcat.

Print topic Send  topic

Author Message
rmbrowngr

Posts: 12
Posted: 03/20/2006, 6:58 AM

I need to hide the XML files of codecharge when published to Tomcat 4.1.31, because anyone can download or view them. This is a serious security problem for commerical applications.
View profile  Send private message
peterr


Posts: 5971
Posted: 03/20/2006, 1:02 PM

Shouldn't this be configured on the Web server? I don't use Tomcat, but in most Web servers it's possible to select which file types should be accessible via the Web.
Actually I'm not sure if there is any other way to prevent access to file types since there is no program involved in this - just the Web server.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
miko

Posts: 50
Posted: 03/21/2006, 1:37 AM

'Project Settings' -> 'Server/Scripts' -> 'Template Folder' is used as path to store xml models.
I tru to use 'WEB-INF\models' to store models.
_________________
Regards,
Michael
View profile  Send private message
WKempees
Posted: 03/21/2006, 2:29 AM

A general remark:
Put an empty index.html in the directory where your templates are stored.
(or one containing some text or a redirect to the main page, or whatever)

From reading your post the main problem is that if you point the browser to
the template directory it will display its content as a directory listing.
Putting an empty file called index.html in will prevent that.
(Not specific to Tomcat, so might differ)

Walter


"rmbrowngr" <rmbrowngr@forum.codecharge> schreef in bericht
news:9441ec333c7abd@news.codecharge.com...
>I need to hide the XML files of codecharge when published to Tomcat 4.1.31,
> because anyone can download or view them. This is a serious security
> problem
> for commerical applications.
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.