Ask a Question related to ASP.NET Security, Design and Development.
-
Holysmoke #1
A newbie question on SSO
Hi,
I am trying to implement a SSO using FormsAuthentication for all my
applications.
When Authenticated, I am saving ApplicationID and RoleID in CSV form and
store it on the cookie.
Here is the sequence of events I try to implement
When an user requests an web application for the first time, he/she is
redirected to my SSO Web application
which does authentication and retrieves list of applications and its
respective roles and store on the ticket/cookie.
When the user requests a new web application (ie., when he/she changes to
the new url)
I would like to pass the Ticket(cookie) which I have created before to a web
service and check this user
has some role to this application or not.
For implementing this logic,
I would like to know which global.asax event should I use? I see
OnAuthenticationRequest event but don't know
how to use it. Can you explain how that event works as I see little
documentation about it in MSDN.
I appreciate your help and comments,
Holy
Holysmoke Guest
-
Newbie Question: Biz Card Template Question
Hi, I got the Pagemaker PlugIn - I am using one of the templates for Business Cards - the elements appear to be grouped (bound box all around when I... -
A newbie with a newbie question
Good afternoon everyone, My Name is Dusty I am new to this forum and pretty new to Acrobat. I have Acrobat 9 running on an IMAC running 10.5.2 I... -
newbie question,,,
I converted an AVI to FLV in the encoder. The resulsting file only opens a blank flash 8 player. I can't even get it to play within the flash app.... -
Pen Tool Use Question. (Embarrassingly Newbie Question)
I'm currently using Flash MX and whenever I choose the Pen Tool instead of the pen nib with the small "x" beside it that supposed to show up on... -
Newbie OO question
In article <EbkRa.331382$fC.2436421@news.easynews.com>, "Ed W" <dodgynewsgroups@ewildgoose.demon.co.uk> wrote: perldoc perltoot it's all you... -
Hernan de Lahitte #2
Re: A newbie question on SSO
Hi Holy,
Here is a post that will show you SSO with Forms Authentication.
[url]http://weblogs.asp.net/hernandl/archive/2004/06/09/ssoformsauth.aspx[/url]
If you want further insight about roles management with forms, check out
these links as well.
[url]http://weblogs.asp.net/hernandl/archive/2004/07/30/FormsAuthRolesRev.aspx[/url]
[url]http://weblogs.asp.net/hernandl/archive/2004/08/05/FormsAuthRoles2.aspx[/url]
Regards.
--
Hernan de Lahitte
Lagash Systems S.A.
[url]http://www.lagash.com[/url]
[url]http://weblogs.asp.net/hernandl[/url]
"Holysmoke" <Holysmoke@discussions.microsoft.com> escribió en el mensaje
news:9F8213CB-A169-47EA-86AF-DD9E32A6FC97@microsoft.com...> Hi,
>
> I am trying to implement a SSO using FormsAuthentication for all my
> applications.
> When Authenticated, I am saving ApplicationID and RoleID in CSV form and
> store it on the cookie.
>
> Here is the sequence of events I try to implement
>
> When an user requests an web application for the first time, he/she is
> redirected to my SSO Web application
> which does authentication and retrieves list of applications and its
> respective roles and store on the ticket/cookie.
>
> When the user requests a new web application (ie., when he/she changes to
> the new url)
> I would like to pass the Ticket(cookie) which I have created before to a
> web
> service and check this user
> has some role to this application or not.
>
> For implementing this logic,
> I would like to know which global.asax event should I use? I see
> OnAuthenticationRequest event but don't know
> how to use it. Can you explain how that event works as I see little
> documentation about it in MSDN.
>
> I appreciate your help and comments,
>
> Holy
Hernan de Lahitte Guest
-
Holysmoke #3
Re: A newbie question on SSO
Hi Hernan,
Can you explain what how to handle in code for this scenario.
A user asks for an application 1 by typing the url.
First time he/she is redirected to SSO
Signs in successful and access the application 1
now he types url the new application 2 which he has no roles defined
Now I decrypt the ticket and found no roles defined for this application.
I want to redirect to a page saying you have no access.
I don't want to config on web.config or from the code of every page.
Is it possible to do something simple in AuthenticateRequest event?
TIA,
Holy
Now i would like to say you have no access,
How to
"Hernan de Lahitte" wrote:
> Hi Holy,
>
> Here is a post that will show you SSO with Forms Authentication.
>
> [url]http://weblogs.asp.net/hernandl/archive/2004/06/09/ssoformsauth.aspx[/url]
>
> If you want further insight about roles management with forms, check out
> these links as well.
>
> [url]http://weblogs.asp.net/hernandl/archive/2004/07/30/FormsAuthRolesRev.aspx[/url]
> [url]http://weblogs.asp.net/hernandl/archive/2004/08/05/FormsAuthRoles2.aspx[/url]
>
> Regards.
> --
> Hernan de Lahitte
> Lagash Systems S.A.
> [url]http://www.lagash.com[/url]
> [url]http://weblogs.asp.net/hernandl[/url]
>
> "Holysmoke" <Holysmoke@discussions.microsoft.com> escribió en el mensaje
> news:9F8213CB-A169-47EA-86AF-DD9E32A6FC97@microsoft.com...>> > Hi,
> >
> > I am trying to implement a SSO using FormsAuthentication for all my
> > applications.
> > When Authenticated, I am saving ApplicationID and RoleID in CSV form and
> > store it on the cookie.
> >
> > Here is the sequence of events I try to implement
> >
> > When an user requests an web application for the first time, he/she is
> > redirected to my SSO Web application
> > which does authentication and retrieves list of applications and its
> > respective roles and store on the ticket/cookie.
> >
> > When the user requests a new web application (ie., when he/she changes to
> > the new url)
> > I would like to pass the Ticket(cookie) which I have created before to a
> > web
> > service and check this user
> > has some role to this application or not.
> >
> > For implementing this logic,
> > I would like to know which global.asax event should I use? I see
> > OnAuthenticationRequest event but don't know
> > how to use it. Can you explain how that event works as I see little
> > documentation about it in MSDN.
> >
> > I appreciate your help and comments,
> >
> > Holy
>
>Holysmoke Guest



Reply With Quote

