Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


deny access to jsp folders and files when entering the url manually in the address bar

Posted on 2004-11-09
Medium Priority
Last Modified: 2010-04-11
hi all,
 is there a way to secure my folders and files in a jsp application?
how can i show a forbidden page error when the user enters in the address bar the ff:

what i'm trying to say is,they should not be able to view the file or the contents of the folder when they enter it manually in the address bar.

i'm using apache tomcat 4.0 and jdk1.3.1 and ms sql as the database.

thanks in advance!
Question by:etucyazit
1 Comment
LVL 51

Accepted Solution

ahoffmann earned 880 total points
ID: 12543279
in httpd.conf set following for / directory directive
  Options -Indexes

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s a season to be thankful, and we’re thankful for users like you who engage on site, solve technology problems, and network with others in the industry. What tech are we most thankful for? Keep reading.
Last month Marc Laliberte, WatchGuard’s Senior Threat Analyst, contributed reviewed the three major email authentication anti-phishing technology standards: SPF, DKIM, and DMARC. Learn more in part 2 of the series originally posted in Cyber Defense …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question