Wrox Programmer Forums
BOOK: Professional Apache Tomcat
This is the forum to discuss the Wrox book Professional Apache Tomcat by Chanoch Wiggers, Ben Galbraith, Vivek Chopra, Sing Li, Debashish Bhattacharjee, Amit Bakore, Romin Irani, Sandip Bhattacharya, Chad Fowler; ISBN: 9780764543722
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old October 27th, 2006, 06:03 AM
Registered User
Join Date: Jun 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Tomcat - Restrict Directory access

How do i restrict users from entering the image/text files path directly in the browser.
my web application has restrictions to jsp/servlet pages, wherein we ask for username and password which will chk and db and then authenticate.
but when an image or text file in a particular directory is accessed thru the web i have to restrict. how do i do that.

to be more clear

if i access
it will ask for login information and only then other jsp pages can be accessed.

if i type directly this image will appear, but i need to restrict, how to do that in Tomcat.


C ya

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why can't TOMCAT see WROX directory? I5commuter JSP Basics 0 May 29th, 2008 08:25 AM
How to: Restrict access to paged data jimibt BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 April 5th, 2007 05:50 AM
use tomcat outside of webapps directory ritzcoder Apache Tomcat 1 December 10th, 2005 10:22 PM
apache tomcat dev directory conf schradermj11 Apache Tomcat 0 November 21st, 2005 10:54 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.