Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 69691 invoked from network); 2 Nov 2009 02:45:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Nov 2009 02:45:47 -0000 Received: (qmail 57795 invoked by uid 500); 2 Nov 2009 02:45:43 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 57671 invoked by uid 500); 2 Nov 2009 02:45:42 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 57660 invoked by uid 99); 2 Nov 2009 02:45:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Nov 2009 02:45:41 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [192.61.61.103] (HELO usea-naimss1.unisys.com) (192.61.61.103) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Nov 2009 02:45:30 +0000 Received: from usea-nagw2.na.uis.unisys.com ([129.224.72.18]) by usea-naimss1 with InterScan Message Security Suite; Sun, 01 Nov 2009 20:45:09 -0600 Received: from usea-nagw2.na.uis.unisys.com ([129.224.72.53]) by usea-nagw2.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 1 Nov 2009 20:45:08 -0600 Received: from usea-nahubcas2.na.uis.unisys.com ([129.224.76.115]) by usea-nagw2.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 1 Nov 2009 20:45:08 -0600 Received: from USEA-EXCH8.na.uis.unisys.com ([129.224.76.42]) by usea-nahubcas2.na.uis.unisys.com ([129.224.76.115]) with mapi; Sun, 1 Nov 2009 20:45:08 -0600 From: "Caldarale, Charles R" To: Tomcat Users List Date: Sun, 1 Nov 2009 20:45:04 -0600 Subject: RE: Will tomcat allow me to configur access to a single folder? Thread-Topic: Will tomcat allow me to configur access to a single folder? Thread-Index: AcpbYtenJ9pbvUnvQyywpefRqhjXoAAAh46w Message-ID: <99C8B2929B39C24493377AC7A121E21F967C164A29@USEA-EXCH8.na.uis.unisys.com> References: <4d7e0b220911011818q715d0903rcacf567802e8c87f@mail.gmail.com> In-Reply-To: <4d7e0b220911011818q715d0903rcacf567802e8c87f@mail.gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 02 Nov 2009 02:45:08.0674 (UTC) FILETIME=[7DACAA20:01CA5B66] X-Virus-Checked: Checked by ClamAV on apache.org > From: Josh Gooding [mailto:josh.gooding@gmail.com] > Subject: Will tomcat allow me to configur access to a single folder? >=20 > Can I configure tomcat so that everytime someone went to the=20 > /external site dump section, it would ask for credentials? Read section 12 of the servlet spec for a description of how to configure s= ecurity. In particular, you will need a WEB-INF/web.xml file containing a = section with a of / (which indicates al= l URLs are covered; you will not need any or de= clarations, since they're covered by Tomcat's default web.xml. Look at the= WEB-INF/web.xml of Tomcat's manager or host-manager app for examples. You= will need a declaration for the webapp to provide the authenticati= on mechanism. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MA= TERIAL and is thus for use only by the intended recipient. If you received = this in error, please contact the sender and delete the e-mail and its atta= chments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org