Re: Seriously: Allowing anonymous and authenticated and anonymous access (somehow related to ASP.NET)
From: Christian Weyer (cw@_nospam-xmlwebservices.cc)
Date: 07/30/02
- Next message: PixPex: "WindowsPrincipal.IsInRole()"
- Previous message: Bassel Tabbara: "RE: Authentication from another Application on server"
- In reply to: Christian Weyer: "Seriously: Allowing anonymous and authenticated and anonymous access (somehow related to ASP.NET)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 30 Jul 2002 14:08:56 +0200 From: Christian Weyer <cw@_nospam-xmlwebservices.cc>
Thanks for all suggestions,
the overall requirements were 'loosened' a bit and so I have solved it
with a mixture of IIS settings and extending the OnAuthenticate event in
global.asax.
Thanks again,
Christian
--- http://www.xmlwebservices/ Christian Weyer wrote: > Hi experts, > > first of all excuse the cross post, but I hope and feel to get help from > all these groups. > > I have been thinking about this problem for quite a long time now ... > but I seem to go around in circles. > The following scenario is given: > my application (portal-like) allows access to all (anonymous) users by > default. But then there are some pages that require explicit > authentication. > It must be possible to use Windows Integrated Authentication in IIS to > enable Intranet users a seamless workflow (without having to login to > the Web app through a seperate page). When the user is not an Intranet > user then I have to 'redirect' him to a login page (ASP.NET forms > based-like). Everything on a single code base, no seperate Web or things > like that. > > How do I do this? > I have been trying out about 3469 settings in IIS and ASP.NET web.config > ... and must say that I am _not_ an absolute beginner ;-) But I cannot > figure out the right way to go. > One problem I see is that when both Anonymous and Windows Integrated are > enabled in IIS, then _always_ Anonymous i used!? Ah, of course I am > using 'Windows' in web.config's authentication section :-) > I also played around with the 'send a 401 back'. This works, then I get > NTLM authentication forced. But I then need a step to determine that it > is _not_ a Windows user and redirect him to the login page (therefore > anonymous -> authenticated -> anonymous). > > I hope my problem gets clear. > > Thanks a lot and cheers, > Christian > --- > http://www.xmlwebservices/ >
- Next message: PixPex: "WindowsPrincipal.IsInRole()"
- Previous message: Bassel Tabbara: "RE: Authentication from another Application on server"
- In reply to: Christian Weyer: "Seriously: Allowing anonymous and authenticated and anonymous access (somehow related to ASP.NET)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|