Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Forms based authentication + multiple applications + directory service....

Reply
Thread Tools

Forms based authentication + multiple applications + directory service....

 
 
Jéjé
Guest
Posts: n/a
 
      10-20-2005
Hi,

I have to implement a security like this:
1. The user is logged into a home made extranet in PHP, a directory server
is used (not the active directory) (its a form based authentication)
2. the user click on a link on the extranet application and jump to another
server & application which is my ASPX application

I want to be able to keep the login of the user, so the user is directly
authenticated.

After this, I have to impersonate the page context because I have some
secure information to retrieve from the disk and OLAP cubes.

Today my ASPX application works correctly if I'm using the NTLM or Basic
authentication.
So the impersonation is easy in this case.

Also its important for me to use the group membership to manage some
authorization using the User.IsInRole system.

To finish, I'm developping an ASP.NET 2.0 application.

How can I implement this?
I have to confirm this, but I can change the PHP application code to add
some step in the process.

thanks for your guide.

Jerome.


 
Reply With Quote
 
 
 
 
=?Utf-8?B?Q293Ym95IChHcmVnb3J5IEEuIEJlYW1lcikgLSBNVlA=?=
Guest
Posts: n/a
 
      10-20-2005
For single sign on across apps, you have to persist the sign on. In your PHP
app, save something that you can carry with you in the ASP.NET application.
You can then pull the user's info and store it in session, if you desire.

Cross product authentication makes things hard, as PHP does not respect IIS
logins. One day this may not be the case, but it is right now. I would
consider passing the user's info in the header encrypted in some way. You can
then pull it out in your "login" form and send the user to the page he
requested if the header information matches an account (which it will if you
coded correctly).

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************


"Jéjé" wrote:

> Hi,
>
> I have to implement a security like this:
> 1. The user is logged into a home made extranet in PHP, a directory server
> is used (not the active directory) (its a form based authentication)
> 2. the user click on a link on the extranet application and jump to another
> server & application which is my ASPX application
>
> I want to be able to keep the login of the user, so the user is directly
> authenticated.
>
> After this, I have to impersonate the page context because I have some
> secure information to retrieve from the disk and OLAP cubes.
>
> Today my ASPX application works correctly if I'm using the NTLM or Basic
> authentication.
> So the impersonation is easy in this case.
>
> Also its important for me to use the group membership to manage some
> authorization using the User.IsInRole system.
>
> To finish, I'm developping an ASP.NET 2.0 application.
>
> How can I implement this?
> I have to confirm this, but I can change the PHP application code to add
> some step in the process.
>
> thanks for your guide.
>
> Jerome.
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible for java based applications to use asp.net forms authentication mechanism santosh.tripathy@gmail.com ASP .Net 5 11-15-2007 01:00 AM
Multiple applications/multiple web.configs: how to structure a big collection of (seemingly) nested web applications? ASP .Net 3 06-14-2007 09:25 AM
forms authentication -- expired forms cookie vs. not provided forms cookie Eric ASP .Net Security 2 01-27-2006 10:09 PM
Forms authentication - Multiple login forms based on directory acc Keltex ASP .Net Security 1 01-24-2006 03:06 PM
Forms based authentication + multiple applications + directory service.... Jéjé ASP .Net Security 1 10-20-2005 05:23 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57