all groups > asp.net security > august 2005 >
You're in the

asp.net security

group:

authentication mode=windows and forms togather in the same project


authentication mode=windows and forms togather in the same project Oren101
8/25/2005 1:17:04 AM
asp.net security:
is it possible to use authentication mode=windows and forms togather in the
same project?
i have a 2 different asp pages in my application .one of them should be
authenticated with 'forms' mode and the other one with 'windows' mode.
i was able to do each one alone with the help of the <application> element
in the web.config but i could'nt make them both live togather in the same
project. is that possible?

Regards,
OreN
Re: authentication mode=windows and forms togather in the same project Dominick Baier [DevelopMentor]
8/25/2005 5:25:48 AM
Hello Oren101,

no - thats not possible.

---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com

[quoted text, click to view]


Re: authentication mode=windows and forms togather in the same project WJ
8/25/2005 3:45:03 PM

"Dominick Baier [DevelopMentor]" <dbaier@pleasepleasenospamdevelop.com>
[quoted text, click to view]

You can use sub-web for his purpose. Allow 1st level to be
form-authenticated, the 2nd layer (sub-web) will use Windows-Auth, it will
still work within the same sln.

John

Re: authentication mode=windows and forms togather in the same pro WJ
8/28/2005 12:00:00 AM

[quoted text, click to view]

Unfortunately there is no otherway around but the sub-web concept works when
you deploy to the server.

John

Re: authentication mode=windows and forms togather in the same pro Oren101
8/28/2005 12:40:02 AM
when i use a different sub for another aspx page i have to convert this sub
to application in iis but then i get an error becouse it can't find the bin
sub. the only way i found to fix it is to copy the bin to the new sub as
well.is there any better solution?

[quoted text, click to view]
Re: authentication mode=windows and forms togather in the same project Pat
8/29/2005 12:00:00 AM
Or maybe you are interested in Mixed Auth.
Try looking at this article at"-
http://aspalliance.com/553
Hope that helps
PAtrick


[quoted text, click to view]

AddThis Social Bookmark Button