Link to home
Start Free TrialLog in
Avatar of stephenlim
stephenlim

asked on

How to get rid of windows authentication box on iis 6.0

I have configured IIS 6 to work with Tomcat 5 on Windows Server 2003. To run JSP pages, i added a virtual directory that points to JSP directory under Tomcat. It is fine along the way until when JSP page is called. It prompt a windows authentication box asking for username and password. How can i get rid of this box? Below is the error i have if i choose to cancel on that box.

#################
HTTP Error 401.3 - Unauthorized: Access is denied due to an ACL set on the requested resource.
Internet Information Services (IIS)
#################

I have tried:-
1. Enabled the Anonymous Access under IIS -> Security Directory -> Authentication and Access Control -> Authentication Method. The username by default is IUSR_machinename.

2. Added a new permission for Internet User access right on the virtual directory.

It is urgent, please provide your knowledge on this. Thank you in advance!
Avatar of ajaikumarr
ajaikumarr

Hai,

Can u please check this... I do not have exposure on Tomcat... But it seems there is an option to set the value request.tomcatAuthentication=false on tomcat.

Bye...
Ajai
Hai,

And also please make sure that to recheck the following options

Enable Anonymous Access & Integrated Windows Authentication & Allow IIS to control password

Bye
Ajai
If you're not using IWA, you can just turn it off.  If you are using it, make sure that the anon account has (at least) read permissions for all folders, and also on any relevant executable files related to your JSP pages.
Avatar of stephenlim

ASKER

What is IWA? DOes it cause the authentication windows prompt up? I still cant get it work although i assigned the permission for IUSR_machinename.
ASKER CERTIFIED SOLUTION
Avatar of humeniuk
humeniuk
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi,
Look at the permissions of the JSP file i am sure it doesnt have enough permissions for IUSR_

Thanks and Regards
CyberAdy
Thanks guys, now is working perfectly! Here to close the posted question.