Ask a Question related to ASP.NET Security, Design and Development.
-
Sandy #1
IIS sends login dialog for already authenticated users.
Hi,
I am using ASP.NET windows authentication in one of the applications. My
application is deployed on one of the 2003 servers. This server is member of
a domain say "MyDomain".
Now, when a user who is logged on to a system which dos not belongs to
"MyDomain", tries to access this site, he gets a login dialog box which is
correct. However, if the user is logged on to a system that belongs to
"MyDomain", he should not get this dialog box. but in my case, he also gets
this box.
The same code works well in windows 2000.
Please suggest.
Sandy Guest
-
Programatically login to Basic Authenticated site?
With the WebRequest, you can just add the credentials to the CredentialCache and set PreAuthenticate to true. If you want to do it the hard way,... -
Has anyone actually managed to create a Forms Authenticated web app with login over SSL?
I cannot find a reference anywhere to anyone having done this successfully... can anyone enlighten me on how you get a SSL login page working with... -
ASP remote authentication / surpress login dialog
Hello everybody, I need to setup a mechanism (preferred in ASP .net) to open an URL on a different user level protected virtual server (or even... -
ASP.Net Windows Authentication problem = Login dialog keeps popping up
I'm using Windows Authentication in my C# ASP.Net intranet application. I have a "Delete" column in a DataGrid which I only want displayed if the... -
Suppress login dialog when impersonation on?
Does anyone know how I can suppress the "Enter Network Password" dialog when attempting to enumerate directories and/or files in ASP.NET? I want... -
Ken Schaefer #2
Re: IIS sends login dialog for already authenticated users.
This is a browser issue - it is the browser the decides whether to prompt
the user for credentials. Check the rquirements for "auto logon" here:
[url]http://support.microsoft.com/?id=258063[/url]
Internet Explorer May Prompt You for a Password
Cheers
Ken
"Sandy" <Sandy@discussions.microsoft.com> wrote in message
news:20E9B2C9-AD2D-410D-AC0B-A657A13DD5A6@microsoft.com...> Hi,
> I am using ASP.NET windows authentication in one of the applications. My
> application is deployed on one of the 2003 servers. This server is member
> of
> a domain say "MyDomain".
> Now, when a user who is logged on to a system which dos not belongs to
> "MyDomain", tries to access this site, he gets a login dialog box which
> is
> correct. However, if the user is logged on to a system that belongs to
> "MyDomain", he should not get this dialog box. but in my case, he also
> gets
> this box.
>
> The same code works well in windows 2000.
>
> Please suggest.
>
Ken Schaefer Guest
-
Sandy #3
Re: IIS sends login dialog for already authenticated users.
I checked this Ken.
This is not the case. IE is configured correctly.
The issues seems to happen only on windows 2003 servers with win XP clients.
"Ken Schaefer" wrote:
> This is a browser issue - it is the browser the decides whether to prompt
> the user for credentials. Check the rquirements for "auto logon" here:
>
> [url]http://support.microsoft.com/?id=258063[/url]
> Internet Explorer May Prompt You for a Password
>
> Cheers
> Ken
>
> "Sandy" <Sandy@discussions.microsoft.com> wrote in message
> news:20E9B2C9-AD2D-410D-AC0B-A657A13DD5A6@microsoft.com...>> > Hi,
> > I am using ASP.NET windows authentication in one of the applications. My
> > application is deployed on one of the 2003 servers. This server is member
> > of
> > a domain say "MyDomain".
> > Now, when a user who is logged on to a system which dos not belongs to
> > "MyDomain", tries to access this site, he gets a login dialog box which
> > is
> > correct. However, if the user is logged on to a system that belongs to
> > "MyDomain", he should not get this dialog box. but in my case, he also
> > gets
> > this box.
> >
> > The same code works well in windows 2000.
> >
> > Please suggest.
> >
>
>Sandy Guest
-
Paul Glavich [MVP ASP.NET] #4
Re: IIS sends login dialog for already authenticated users.
Have the Servers been "hardened" or had some security scripts run over them
to lock them down in any way?
--
- Paul Glavich
ASP.NET MVP
ASPInsider ([url]www.aspinsiders.com[/url])
"Sandy" <Sandy@discussions.microsoft.com> wrote in message
news:58A6FDC9-885B-4B85-831D-17CC2D986249@microsoft.com...clients.> I checked this Ken.
> This is not the case. IE is configured correctly.
> The issues seems to happen only on windows 2003 servers with win XPprompt>
> "Ken Schaefer" wrote:
>> > This is a browser issue - it is the browser the decides whether toMy> > the user for credentials. Check the rquirements for "auto logon" here:
> >
> > [url]http://support.microsoft.com/?id=258063[/url]
> > Internet Explorer May Prompt You for a Password
> >
> > Cheers
> > Ken
> >
> > "Sandy" <Sandy@discussions.microsoft.com> wrote in message
> > news:20E9B2C9-AD2D-410D-AC0B-A657A13DD5A6@microsoft.com...> > > Hi,
> > > I am using ASP.NET windows authentication in one of the applications.member> > > application is deployed on one of the 2003 servers. This server iswhich> > > of
> > > a domain say "MyDomain".
> > > Now, when a user who is logged on to a system which dos not belongs to
> > > "MyDomain", tries to access this site, he gets a login dialog box> >> > > is
> > > correct. However, if the user is logged on to a system that belongs to
> > > "MyDomain", he should not get this dialog box. but in my case, he also
> > > gets
> > > this box.
> > >
> > > The same code works well in windows 2000.
> > >
> > > Please suggest.
> > >
> >
> >
Paul Glavich [MVP ASP.NET] Guest
-
Paul Glavich [MVP ASP.NET] #5
Re: IIS sends login dialog for already authenticated users.
On our servers, we had to alter the setting mentioned in this article (
[url]http://www.microsoft.com/resources/documentation/WindowsServ/2003/all/deployguide/en-us/Default.asp?url=/resources/documentation/WindowsServ/2003/all/deployguide/en-us/28433.asp[/url] )
and set it back to its default setting as all client requests were failing,
although in our case, I think it was Win2000 that was always failing. Same
symptoms though.
--
- Paul Glavich
ASP.NET MVP
ASPInsider ([url]www.aspinsiders.com[/url])
"Sandy" <Sandy@discussions.microsoft.com> wrote in message
news:58A6FDC9-885B-4B85-831D-17CC2D986249@microsoft.com...clients.> I checked this Ken.
> This is not the case. IE is configured correctly.
> The issues seems to happen only on windows 2003 servers with win XPprompt>
> "Ken Schaefer" wrote:
>> > This is a browser issue - it is the browser the decides whether toMy> > the user for credentials. Check the rquirements for "auto logon" here:
> >
> > [url]http://support.microsoft.com/?id=258063[/url]
> > Internet Explorer May Prompt You for a Password
> >
> > Cheers
> > Ken
> >
> > "Sandy" <Sandy@discussions.microsoft.com> wrote in message
> > news:20E9B2C9-AD2D-410D-AC0B-A657A13DD5A6@microsoft.com...> > > Hi,
> > > I am using ASP.NET windows authentication in one of the applications.member> > > application is deployed on one of the 2003 servers. This server iswhich> > > of
> > > a domain say "MyDomain".
> > > Now, when a user who is logged on to a system which dos not belongs to
> > > "MyDomain", tries to access this site, he gets a login dialog box> >> > > is
> > > correct. However, if the user is logged on to a system that belongs to
> > > "MyDomain", he should not get this dialog box. but in my case, he also
> > > gets
> > > this box.
> > >
> > > The same code works well in windows 2000.
> > >
> > > Please suggest.
> > >
> >
> >
Paul Glavich [MVP ASP.NET] Guest
-
Sandy #6
Re: IIS sends login dialog for already authenticated users.
Yes. Some scripts does run but not sure what exactly they are. Its a
production server.
"Paul Glavich [MVP ASP.NET]" wrote:
> Have the Servers been "hardened" or had some security scripts run over them
> to lock them down in any way?
>
> --
>
> - Paul Glavich
> ASP.NET MVP
> ASPInsider ([url]www.aspinsiders.com[/url])
>
>
> "Sandy" <Sandy@discussions.microsoft.com> wrote in message
> news:58A6FDC9-885B-4B85-831D-17CC2D986249@microsoft.com...> clients.> > I checked this Ken.
> > This is not the case. IE is configured correctly.
> > The issues seems to happen only on windows 2003 servers with win XP> prompt> >
> > "Ken Schaefer" wrote:
> >> > > This is a browser issue - it is the browser the decides whether to> My> > > the user for credentials. Check the rquirements for "auto logon" here:
> > >
> > > [url]http://support.microsoft.com/?id=258063[/url]
> > > Internet Explorer May Prompt You for a Password
> > >
> > > Cheers
> > > Ken
> > >
> > > "Sandy" <Sandy@discussions.microsoft.com> wrote in message
> > > news:20E9B2C9-AD2D-410D-AC0B-A657A13DD5A6@microsoft.com...
> > > > Hi,
> > > > I am using ASP.NET windows authentication in one of the applications.> member> > > > application is deployed on one of the 2003 servers. This server is> which> > > > of
> > > > a domain say "MyDomain".
> > > > Now, when a user who is logged on to a system which dos not belongs to
> > > > "MyDomain", tries to access this site, he gets a login dialog box>> > > > is
> > > > correct. However, if the user is logged on to a system that belongs to
> > > > "MyDomain", he should not get this dialog box. but in my case, he also
> > > > gets
> > > > this box.
> > > >
> > > > The same code works well in windows 2000.
> > > >
> > > > Please suggest.
> > > >
> > >
> > >
> > >
>
>Sandy Guest
-
Sandy #7
Re: IIS sends login dialog for already authenticated users.
Paul, Thanks a lot.
Are you saying that in your case, clients were windows 2000 and Server was
windows 2003?
"Paul Glavich [MVP ASP.NET]" wrote:
> On our servers, we had to alter the setting mentioned in this article (
> [url]http://www.microsoft.com/resources/documentation/WindowsServ/2003/all/deployguide/en-us/Default.asp?url=/resources/documentation/WindowsServ/2003/all/deployguide/en-us/28433.asp[/url] )
> and set it back to its default setting as all client requests were failing,
> although in our case, I think it was Win2000 that was always failing. Same
> symptoms though.
>
> --
>
> - Paul Glavich
> ASP.NET MVP
> ASPInsider ([url]www.aspinsiders.com[/url])
>
>
> "Sandy" <Sandy@discussions.microsoft.com> wrote in message
> news:58A6FDC9-885B-4B85-831D-17CC2D986249@microsoft.com...> clients.> > I checked this Ken.
> > This is not the case. IE is configured correctly.
> > The issues seems to happen only on windows 2003 servers with win XP> prompt> >
> > "Ken Schaefer" wrote:
> >> > > This is a browser issue - it is the browser the decides whether to> My> > > the user for credentials. Check the rquirements for "auto logon" here:
> > >
> > > [url]http://support.microsoft.com/?id=258063[/url]
> > > Internet Explorer May Prompt You for a Password
> > >
> > > Cheers
> > > Ken
> > >
> > > "Sandy" <Sandy@discussions.microsoft.com> wrote in message
> > > news:20E9B2C9-AD2D-410D-AC0B-A657A13DD5A6@microsoft.com...
> > > > Hi,
> > > > I am using ASP.NET windows authentication in one of the applications.> member> > > > application is deployed on one of the 2003 servers. This server is> which> > > > of
> > > > a domain say "MyDomain".
> > > > Now, when a user who is logged on to a system which dos not belongs to
> > > > "MyDomain", tries to access this site, he gets a login dialog box>> > > > is
> > > > correct. However, if the user is logged on to a system that belongs to
> > > > "MyDomain", he should not get this dialog box. but in my case, he also
> > > > gets
> > > > this box.
> > > >
> > > > The same code works well in windows 2000.
> > > >
> > > > Please suggest.
> > > >
> > >
> > >
> > >
>
>Sandy Guest
-
Paul Glavich [MVP ASP.NET] #8
Re: IIS sends login dialog for already authenticated users.
Yes. Not all clients were Win2000, but only these ones had the problems. Our
server group had performed "hardening" on the servers, and configured that
specific setting to only accept the highest levels of encryption and
authentication. The new XP builds that had also been performed had a similar
hardening process and were configured appropriately. The older builds of
Windows2000 were not configured to support the extra security settings and
were failing. Once I set the Windows2003 servers back to the default
settings (as listed on that article link I posted) it all worked fine.
--
- Paul Glavich
ASP.NET MVP
ASPInsider ([url]www.aspinsiders.com[/url])
"Sandy" <Sandy@discussions.microsoft.com> wrote in message
news:44676A23-7A6E-4316-93E0-755168E07764@microsoft.com...[url]http://www.microsoft.com/resources/documentation/WindowsServ/2003/all/deployguide/en-us/Default.asp?url=/resources/documentation/WindowsServ/2003/all/deployguide/en-us/28433.asp[/url] )> Paul, Thanks a lot.
>
> Are you saying that in your case, clients were windows 2000 and Server was
> windows 2003?
>
>
> "Paul Glavich [MVP ASP.NET]" wrote:
>> > On our servers, we had to alter the setting mentioned in this article (
> >failing,> > and set it back to its default setting as all client requests wereSame> > although in our case, I think it was Win2000 that was always failing.here:> > symptoms though.
> >
> > --
> >
> > - Paul Glavich
> > ASP.NET MVP
> > ASPInsider ([url]www.aspinsiders.com[/url])
> >
> >
> > "Sandy" <Sandy@discussions.microsoft.com> wrote in message
> > news:58A6FDC9-885B-4B85-831D-17CC2D986249@microsoft.com...> > clients.> > > I checked this Ken.
> > > This is not the case. IE is configured correctly.
> > > The issues seems to happen only on windows 2003 servers with win XP> > prompt> > >
> > > "Ken Schaefer" wrote:
> > >
> > > > This is a browser issue - it is the browser the decides whether to> > > > the user for credentials. Check the rquirements for "auto logon"applications.> > > >
> > > > [url]http://support.microsoft.com/?id=258063[/url]
> > > > Internet Explorer May Prompt You for a Password
> > > >
> > > > Cheers
> > > > Ken
> > > >
> > > > "Sandy" <Sandy@discussions.microsoft.com> wrote in message
> > > > news:20E9B2C9-AD2D-410D-AC0B-A657A13DD5A6@microsoft.com...
> > > > > Hi,
> > > > > I am using ASP.NET windows authentication in one of thebelongs to> > My> > member> > > > > application is deployed on one of the 2003 servers. This server is> > > > > of
> > > > > a domain say "MyDomain".
> > > > > Now, when a user who is logged on to a system which dos notbelongs to> > which> > > > > "MyDomain", tries to access this site, he gets a login dialog box> > > > > is
> > > > > correct. However, if the user is logged on to a system thatalso> > > > > "MyDomain", he should not get this dialog box. but in my case, he> >> > > > > gets
> > > > > this box.
> > > > >
> > > > > The same code works well in windows 2000.
> > > > >
> > > > > Please suggest.
> > > > >
> > > >
> > > >
> > > >
> >
> >
Paul Glavich [MVP ASP.NET] Guest



Reply With Quote

