Ask a Question related to ASP.NET Security, Design and Development.
-
InspektorDerrick #1
Forms authentication <-> Windows user?
Hi,
I'm new in ASP.NET and I've got a question about authentication in an
intranet application:
I want to authentify and authorize the user by a database. Authentication
should work like this:
1. evaluate the windows username
2. check if user exists in database
yes -> new customIdentiy (IsAuthenticated = true), new customPrincipal
(roles from database)
no -> 3.
3. redirect to logon form
4. check if the user exists in database
yes -> new customIdentiy (IsAuthenticated = true), new customPrincipal
(roles from database)
no -> securityexception or redirect
The problem is, if I use Windows-Authentication I may not change
Principal(?), if I use Forms-Authentication I cannot get the windows-user
from step 1 (?)
--
Regards, InspektorDerrick
InspektorDerrick Guest
-
Register new user forms authentication
Ok I admit to being new at this and having problems getting my head around IIS. So if you can help me I will much appreciate it. I have a login... -
Forms Authentication Anonymous User
Hi, I have implemented Forms-Based Authentication for a website I am designing which is working fine. However I want to get a list of Roles for... -
ASP.NET Forms Authentication Via A SQL Server Database With Windows User types?
We have built an ASP.NET application that will run on the Intranet using SQL 2000 as our data layer. We have decided to use Form Authentication... -
User Session issue with ASP.NET Forms authentication & Windows 2003
Hi, I first posted this query in just the aspnet ng but didn't get a reply so I'm posting here (probably more appropriate) Hope one of you guys... -
Forms authentication with Windows authentication
Hi, I have an ASP.NET web site that uses IIS Basic Authentication and accesses an OLAP Server at various stages. The OLAP Server authentication... -
Paul Glavich [MVP ASP.NET] #2
Re: Forms authentication <-> Windows user?
This might help. Similar scenario to yours. A little different but the
technique can still apply.
[url]http://aspalliance.com/553[/url]
--
- Paul Glavich
ASP.NET MVP
ASPInsider ([url]www.aspinsiders.com[/url])
"InspektorDerrick" <inspektor.derrick@kstp.at> wrote in message
news:6A26C79B-432F-4CF9-8754-DF5641E10A6E@microsoft.com...> Hi,
>
> I'm new in ASP.NET and I've got a question about authentication in an
> intranet application:
>
> I want to authentify and authorize the user by a database. Authentication
> should work like this:
>
> 1. evaluate the windows username
> 2. check if user exists in database
> yes -> new customIdentiy (IsAuthenticated = true), new customPrincipal
> (roles from database)
> no -> 3.
> 3. redirect to logon form
> 4. check if the user exists in database
> yes -> new customIdentiy (IsAuthenticated = true), new customPrincipal
> (roles from database)
> no -> securityexception or redirect
>
> The problem is, if I use Windows-Authentication I may not change
> Principal(?), if I use Forms-Authentication I cannot get the windows-user
> from step 1 (?)
> --
> Regards, InspektorDerrick
Paul Glavich [MVP ASP.NET] Guest
-
Peng Jie #3
RE: Forms authentication <-> Windows user?
you can authenticate against the Active Directory by using Forms.
try the link below:
[url]http://support.microsoft.com/?id=316748[/url]
"InspektorDerrick" wrote:
> Hi,
>
> I'm new in ASP.NET and I've got a question about authentication in an
> intranet application:
>
> I want to authentify and authorize the user by a database. Authentication
> should work like this:
>
> 1. evaluate the windows username
> 2. check if user exists in database
> yes -> new customIdentiy (IsAuthenticated = true), new customPrincipal
> (roles from database)
> no -> 3.
> 3. redirect to logon form
> 4. check if the user exists in database
> yes -> new customIdentiy (IsAuthenticated = true), new customPrincipal
> (roles from database)
> no -> securityexception or redirect
>
> The problem is, if I use Windows-Authentication I may not change
> Principal(?), if I use Forms-Authentication I cannot get the windows-user
> from step 1 (?)
> --
> Regards, InspektorDerrickPeng Jie Guest



Reply With Quote

