Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
IIS Authentication (windows) and AJAX
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  10 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Dean  
View profile  
 More options Nov 22 2005, 11:30 pm
From: "Dean" <dean.cumm...@det.nsw.edu.au>
Date: Tue, 22 Nov 2005 20:30:01 -0800
Local: Tues, Nov 22 2005 11:30 pm
Subject: IIS Authentication (windows) and AJAX
Hi,

I am running AJAX with an application that uses IIS Authentication.
While this poses no issues with Internet Explorer, when used with
Firefox it pops up a window asking for a user name and password. This
is expected once when loading the page, but it asks for it every time
something to do with AJAX is used (and never seems to stop).

This seems to render pages with AJAX useless when IIS authentication is
used.

Has anyone encountered this problem? Any workarounds?

(IIS Authentication is where one must be logged in with a Windows/NT
account - so is good for workplaces, LANs where internal applications
are involed.)

Thanks,

Dean


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Harry Holt  
View profile  
 More options Nov 22 2005, 11:37 pm
From: Harry Holt <harryh...@gmail.com>
Date: Tue, 22 Nov 2005 23:37:57 -0500
Local: Tues, Nov 22 2005 11:37 pm
Subject: Re: [ajaxpro] IIS Authentication (windows) and AJAX

That's because firefox doesn't hold on to your password, and go ahead and
re-try it a few times whenever it gets a challenge from the webserver (IE
does).  But if it's internal-only application, you can require IE-only,
can't you?  Also make sure that none of that client-server
challenge/response traffic is moving through your edge routers, because it's
travelling over the network in plain-text.

... HH

On 11/22/05, Dean <dean.cumm...@det.nsw.edu.au> wrote:

--
====================================================
I would rather be exposed to the inconveniences attending too much liberty
than to those attending too small a degree of it.
  - Thomas Jefferson

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dean  
View profile  
 More options Nov 22 2005, 11:50 pm
From: "Dean" <dean.cumm...@det.nsw.edu.au>
Date: Tue, 22 Nov 2005 20:50:45 -0800
Local: Tues, Nov 22 2005 11:50 pm
Subject: Re: IIS Authentication (windows) and AJAX
Well yes, it is internal but it would also be good to make it work
cross browser. I have written some custom ajax script which only asks
for the password once (so works as expected), so was wondering if it
was a AJAX-pro specific issue (that it cannot work without IE when IIS
auth. is turned on)

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cummins, Dean  
View profile  
 More options Nov 23 2005, 12:39 am
From: "Cummins, Dean" <dean.cumm...@det.nsw.edu.au>
Date: Wed, 23 Nov 2005 16:39:02 +1100
Local: Wed, Nov 23 2005 12:39 am
Subject: RE: [ajaxpro] Re: IIS Authentication (windows) and AJAX

AJAX doesn't seem to work on a MAC either - can anyone verify this?

________________________________

From: ajaxpro@googlegroups.com [mailto:ajaxpro@googlegroups.com] On
Behalf Of Harry Holt
Sent: Wednesday, 23 November 2005 03:38
To: ajaxpro@googlegroups.com
Subject: [ajaxpro] Re: IIS Authentication (windows) and AJAX

That's because firefox doesn't hold on to your password, and go ahead
and re-try it a few times whenever it gets a challenge from the
webserver (IE does).  But if it's internal-only application, you can
require IE-only, can't you?  Also make sure that none of that
client-server challenge/response traffic is moving through your edge
routers, because it's travelling over the network in plain-text.

... HH

On 11/22/05, Dean <dean.cumm...@det.nsw.edu.au> wrote:

Hi,

I am running AJAX with an application that uses IIS Authentication.
While this poses no issues with Internet Explorer, when used with
Firefox it pops up a window asking for a user name and password. This
is expected once when loading the page, but it asks for it every time
something to do with AJAX is used (and never seems to stop).

This seems to render pages with AJAX useless when IIS authentication is
used.

Has anyone encountered this problem? Any workarounds?

(IIS Authentication is where one must be logged in with a Windows/NT
account - so is good for workplaces, LANs where internal applications
are involed.)

Thanks,

Dean

--
====================================================
I would rather be exposed to the inconveniences attending too much
liberty than to those attending too small a degree of it.
  - Thomas Jefferson

**********************************************************************
This message is intended for the addressee named and may contain
privileged information or confidential information or both. If you
are not the intended recipient please delete it and notify the sender.
**********************************************************************


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
fraschetti@gmail.com  
View profile  
 More options Nov 23 2005, 1:25 pm
From: "frasche...@gmail.com" <frasche...@gmail.com>
Date: Wed, 23 Nov 2005 18:25:39 -0000
Local: Wed, Nov 23 2005 1:25 pm
Subject: Re: IIS Authentication (windows) and AJAX
I had the same issue... Firefox constantly asking for
username/password. Sometimes I can get an Ajax call or two through but
even if I do, it'll break eventually.
I upgraded from VS 2003 and Ajax.NET to VS 2005 and Ajax.NET Pro ...
and Firefox's ability to handle the NT auth broke somewhere inbetween.
It's crucial that my web app use IIS and have the ability to read the
windows NT logon info .... to get IE or Firefox to return that info,
IIS must have anonymous access disabled and NT info enabled ... which
is where the Firefox issue occurs ...Enabling both doesn't work because
IIS defaults to anonymous as it's first verification method (no idea
why). I've yet to find a solution/work around/etc ... I'd really
appreciate it if anyone with any knowledge on the subject could help us
out.

-Chris Fraschetti


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stanley  
View profile  
 More options Nov 25 2005, 1:28 am
From: "Stanley" <stanley...@gmail.com>
Date: Fri, 25 Nov 2005 06:28:43 -0000
Local: Fri, Nov 25 2005 1:28 am
Subject: Re: IIS Authentication (windows) and AJAX

Actually, i also have the same problem... it seem to me that firefox
cannot handle AJAX request as a single session while waiting for the
callback method when we enable "Digest Authentication through LDAP or
Windows Domain". I think firefox expert might help us in this issue.

cheers,
Stanley


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
fredrik.bonde@gmail.com  
View profile  
 More options Nov 25 2005, 10:37 am
From: "fredrik.bo...@gmail.com" <fredrik.bo...@gmail.com>
Date: Fri, 25 Nov 2005 15:37:13 -0000
Local: Fri, Nov 25 2005 10:37 am
Subject: Re: IIS Authentication (windows) and AJAX
have you tried to set the lmauth in about:config on firefox?
1. type about:config in url field
2. search for variable network.automatic-ntlm-auth.trusted-uris
3. set the value to a comma separated field of the servers you want to
allow windows authentification on

please see more on ;
http://forums.mozillazine.org/viewtopic.php?p=631269


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Fraschetti  
View profile  
 More options Nov 25 2005, 10:55 pm
From: "Chris Fraschetti" <frasche...@gmail.com>
Date: Fri, 25 Nov 2005 19:55:44 -0800
Local: Fri, Nov 25 2005 10:55 pm
Subject: Re: IIS Authentication (windows) and AJAX
yes, I have done this... the problem occurs when I develop both
remotely and locally.. I've tried adding every combination of hostname
that firefox might resolve the host to... localhost and hostname
alike...  I'm actually glad the firefox ntlm uri solution didn't work..
it would certainly not be acceptable to tell my customers to do as such.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jason W  
View profile  
 More options Nov 27 2005, 7:40 pm
From: "Jason W" <jason...@gmail.com>
Date: Sun, 27 Nov 2005 16:40:03 -0800
Local: Sun, Nov 27 2005 7:40 pm
Subject: Re: IIS Authentication (windows) and AJAX
I had the same issue myself recently. The problem seems to be the
following line of code:

        this.xmlHttp.setRequestHeader("Connection", "close");

I am now removing this line of code at runtime with the following piece
of Javascript:

        if (typeof(AjaxPro) == "object" && AjaxPro.Request &&
                AjaxPro.Request.prototype["_invoke"])
        {
                var data = AjaxPro.Request.prototype["_invoke"]+"";
                data = data.replace(
                        "this.xmlHttp.setRequestHeader(" +
                        "\"Connection\", \"close\");", ";");
                var new_func = eval(data);
                if (new_func)
                {
                        AjaxPro.Request.prototype["_invoke"] = new_func;
                }
        }


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Fraschetti  
View profile  
 More options Dec 4 2005, 8:20 am
From: "Chris Fraschetti" <frasche...@gmail.com>
Date: Sun, 04 Dec 2005 05:20:27 -0800
Local: Sun, Dec 4 2005 8:20 am
Subject: Re: IIS Authentication (windows) and AJAX
interesting. can any firefox experts out there shed any light on this?
and/or anyone familiar with the Ajax.NET Pro code tell me the
consequences of removing this header? If removing it seems to work, why
is it even used?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »