🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #8144

Re: JSP login screen??

#8144
From: Stefan Bouynov
Date: Fri, 20 Apr 2001 21:12
27 lines
1976 bytes
Hi,
First of all, I would like to say that Im a newbie to Java, too, but I
recently came to a common problem. It depends on what JSP interpreter you
are using - I made some tests with Tomcat, and found two ways to solve the
problem. The first one is to use the Tomcat's usernames and passwords, and
there is a way to make your app "protected" by putting it in the WEB.XML
file in the app's WEB-INF directory (see Servlet2_2 specification on SUN's
javasoft page, and the demo which comes with Tomcat, it's called Security) -
you can set login page and error page there. The other way is my idea, and
Im not quite sure how secure it is - its said in the documentation that the
WEB-INF directory is not visible to a client by any chance. That means (in
my opinion) that you could place a users list there (if not in the
database), and it should be secure. Then you can make the login check by
code.

Regards,
Stefan


"Tom Jorissen" <tom.jorissen@idp.be> wrote in message
news:3adedf78_1@dnews...
> Anyone got  an example of a login screen with an access database?? I'm
> searching for it and i couldn't find it anywhere....
>
> Please Help me
>
>
Technical Details
Message-ID: <3ae0a784_2@dnews>
Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed1.uni2.dk!newssuck.uni2.dk!dnews
References: <3adedf78_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,86708ee0ae725250
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-04-20 14:22:18 PST
From: "Stefan Bouynov" <bouynov@yahoo.com>
Newsgroups: borland.public.jbuilder.java.language
References: <3adedf78_1@dnews>
Subject: Re: JSP login screen??
Date: Sat, 21 Apr 2001 00:12:29 +0300
Lines: 29
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 213.226.11.18
Message-ID: <3ae0a784_2@dnews>
X-Trace: dnews 987801476 213.226.11.18 (20 Apr 2001 14:17:56 -0700)
Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed1.uni2.dk!newssuck.uni2.dk!dnews