• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Want block files under folder for web

 
Vetri Selvi
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have web application residing on webserver and working fine.
file structure is as follows
app/html/*.html
app/jsp/*.jsp
app/web-inf/classes/*.class
app/images/*
if some one types as below on web browser
http://localhost/app/jsp
it will display all the files under that folder same goes to all folders.
I want to restrict this so that user will not know what files are excisting in the folder.
How do i do this?
any help appreciated
Thanks
Vetri selvi
 
hemanth kumar
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Which Web Server are u working on?
Anyhow just look for something like Directory Browsing and disable it.
hemanth
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic