473,405 Members | 2,294 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Reduce authentication traffic (remove anonymous requests)

Hi all,

We have an ASP.NET 2.0 intranet application on Win2003 server. The
virtual directory is configured to use Windows Intergrated
Authentication only.

Using Fiddler (http://www.fiddlertool.com/fiddler/) we notice that for
each page/image/javascript request IE makes 2 requests. The first one
is using anonymous authentication, and IIS rejects it (HTTP/1.1 401
Unauthorized). The second one uses the integrated authentication, and
the server accepts it and sends the user the data.

I am wondering if there is a way to reduce the "chatter" between the
clients and the server. Can I somehow instruct the IE to try
Intergrated Authentication the first time instead of the Anonymous?
Is there a setting on the server/client?

Thanks,

-Oleg.

Oct 17 '06 #1
1 1604
no. ntlm is a challenge/response protocol. 2 requests is the optimized mode.
normally its 3.

note: the 401 you see is the server challenge. if you use fiddler to track
first hit, you will an initial 401 without the chanllenge. (look at the
base64 coded data in the header)

-- bruce (sqlwork.com)
<Ol*********@gmail.comwrote in message y its 6
news:11**********************@h48g2000cwc.googlegr oups.com...
Hi all,

We have an ASP.NET 2.0 intranet application on Win2003 server. The
virtual directory is configured to use Windows Intergrated
Authentication only.

Using Fiddler (http://www.fiddlertool.com/fiddler/) we notice that for
each page/image/javascript request IE makes 2 requests. The first one
is using anonymous authentication, and IIS rejects it (HTTP/1.1 401
Unauthorized). The second one uses the integrated authentication, and
the server accepts it and sends the user the data.

I am wondering if there is a way to reduce the "chatter" between the
clients and the server. Can I somehow instruct the IE to try
Intergrated Authentication the first time instead of the Anonymous?
Is there a setting on the server/client?

Thanks,

-Oleg.

Oct 18 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Michael Foord | last post by:
#!/usr/bin/python -u # 15-09-04 # v1.0.0 # auth_example.py # A simple script manually demonstrating basic authentication. # Copyright Michael Foord # Free to use, modify and relicense. #...
4
by: Jay | last post by:
I have authentication set for my site but I need one page to be an exception case. Namely my forgot password page. How do I tell the webconfig file to authenciate all pages except one page? ...
3
by: Kris van der Mast | last post by:
Hi, I've created a little site for my sports club. In the root folder there are pages that are viewable by every anonymous user but at a certain subfolder my administration pages should be...
2
by: Rob Mayo | last post by:
What I'm trying to do is Create an ASP.Net app that has both Windows-authenticated users and Anonymous users. The idea is this: When authenticated users attempt to access the site, their...
9
by: dana lees | last post by:
Hello, I am developing a C# asp.net application. I am using the authentication and authorization mechanism, which its timeout is set to 60 minutes. My application consists of 2 frames - a...
1
by: Arnaud Martel | last post by:
Hi, I am developping a custom Webdav server in C#. The IIS configuration is just an application Website with all verbs redirected to aspnet_isapi.dll and the server works as a httpModule. This...
3
by: KNC | last post by:
Hi all, I'm developing a website and deployed on webserver, it always display an authentication dialog that user must login with valid Windows user. Would anyone helps to instruct how to...
18
by: troywalker | last post by:
I am new to LDAP and Directory Services, and I have a project that requires me to authenticate users against a Sun Java System Directory Server in order to access the application. I have found...
16
by: rogerjames1 | last post by:
How would I go about protecting a whole directory, e.g. http://www.example.com/members/ and all sub-directories with login protection? I wouldn't like to put a .php script in each directory and...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.