CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Java

 Prevent access to directory

Print topic Send  topic

Author Message
Ans

Posts: 53
Posted: 05/30/2006, 6:08 PM

How do you set codecharge to prevent users from entering the folder directory when they manipulate the web address.

E.g.
http://localhost/data/summary/sum_content.jsp

If the user changes the address to
http://localhost/data/summary/
the user will be able to see the directory of the folder.

Is there any settings that can be set?
View profile  Send private message
jres
Posted: 05/30/2006, 10:37 PM

I think the simplest way is to set 'Home page' project property.
In this case if user tries http://localhost/data/summary/ he will see defined home page of the application.
Ans

Posts: 53
Posted: 05/30/2006, 11:34 PM

I tried that, but it does not work!

Is there other methods?
View profile  Send private message
peterr


Posts: 5971
Posted: 05/30/2006, 11:44 PM

That's not possible with CodeCharge, since CCS cannot have control of your server and directories there. You should configure your server the way you want, so Google for your server name and "protect folders", or check server documentation.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
WKempees
Posted: 05/31/2006, 3:55 AM

Ans

The easiest way to prevent users from seeing the content of a folder is to
put an empty "index.html" in the folder.
In any editor create a new file named "index.html" and copy that to every
empty folder.
It will not prevent the user to address the folder but it will NOT show any
content.

Walter

"Ans" <Ans@forum.codecharge> schreef in bericht
news:9447cec70d94b6@news.codecharge.com...
> How do you set codecharge to prevent users from entering the folder
> directory
> when they manipulate the web address.
>
> E.g.
> http://localhost/data/summary/sum_content.jsp
>
> If the user changes the address to
> http://localhost/data/summary/
> the user will be able to see the directory of the folder.
>
> Is there any settings that can be set?
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

Ans

Posts: 53
Posted: 06/01/2006, 7:55 PM

Thanks...
View profile  Send private message

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.