go to javawebserver admin screen - manage - security - resources - add the
directory or html file
make sure that  "Realm = defaultRealm" ,  "Acl = defaultAcl"  ,  "Scheme =
Basic"

path look like...

c://javawebserver2.0//secure_html//.............

this is without SSL.



thanx.
zulfi
Keep Smiling. It does improve your face value. :-)

----- Original Message -----
From: Krishnan Srinivasan <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 24, 2000 10:25 AM
Subject: Re: Java Security


> Does anyone know how to use the directory secure_html in JavaWebServer.
> The reason is as follows.
> How do you keep the user away from typing the directory to the html files.
> eg.
> my servlets are at
> c:\javawebserver2.0\servlets\
> the html files are at
> c:\javawebserver2.0\public_html\menu.html
> and lets say my IP address is 122.23.234.123
>
> if the user types in http://122.23.234.123/menu.html ..He can access the
> html file directly without even logging in.. Is there any other way
without
> using servlets in this case ? keep the html folders in the some place so
> that the user can't directly access it but has to log in and be a VALID
USER
> and can't just type the way to the html files !
>
> Thanks
> Krishnan
>
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to