Professional Web Applications Themes

Single sign-on with .ASPXAUTH cookie - ASP.NET Security

How I can issue web forms authentification cookie that can be used by both applications located on same server(server wide asp.net cookie)?I've one users' domain but asp.net encrypts .ASPXAUTH cookies differently for these two applications What can I do with it?...

  1. #1

    Default Single sign-on with .ASPXAUTH cookie

    How I can issue web forms authentification cookie that can be used by both applications located on same server(server wide asp.net cookie)?I've one users' domain but asp.net encrypts .ASPXAUTH cookies differently for these two applications
    What can I do with it?
    Andrey Skvortsov Guest

  2. #2

    Default Re: Single sign-on with .ASPXAUTH cookie

    Make sure the cookie name and path are the same. Also, in the
    machine.config, it will have the encryption key set to something like :-

    <machineKey validationKey="AutoGenerate,IsolateApps"
    decryptionKey="AutoGenerate,IsolateApps" validation="SHA1" />

    The "isolateApps" means that a different key will be AutoGenerated for
    *each* application. You can either remove the isolateApps option or insert a
    specific key value for it to use.

    --
    - Paul Glavich
    Microsoft MVP - ASP.NET


    "Andrey Skvortsov" <anonymousdiscussions.microsoft.com> wrote in message
    news:9705438A-78E2-43FB-A0E6-EBBBFF705E09microsoft.com...
    > How I can issue web forms authentification cookie that can be used by both
    applications located on same server(server wide asp.net cookie)?I've one
    users' domain but asp.net encrypts .ASPXAUTH cookies differently for these
    two applications.
    > What can I do with it?

    Paul Glavich [MVP - ASP.NET] Guest

  3. #3

    Default Re: Single sign-on with .ASPXAUTH cookie

    Thanks Paul,don't know about this setting, so ASP.NET supports single sign-on out of the box-wonderful!
    Andrey Skvortsov Guest

  4. #4

    Default Re: Single sign-on with .ASPXAUTH cookie

    You have a full sample of SSO with Forms here:
    [url]http://weblogs.asp.net/hernandl/archive/2004/06/09/ssoformsauth.aspx[/url]

    --
    Hernan de Lahitte
    Lagash Systems S.A.
    [url]http://weblogs.asp.net/hernandl[/url]


    This posting is provided "AS IS" with no warranties, and confers no rights.

    "Andrey Skvortsov" <anonymousdiscussions.microsoft.com> wrote in message
    news:9705438A-78E2-43FB-A0E6-EBBBFF705E09microsoft.com...
    > How I can issue web forms authentification cookie that can be used by both
    applications located on same server(server wide asp.net cookie)?I've one
    users' domain but asp.net encrypts .ASPXAUTH cookies differently for these
    two applications.
    > What can I do with it?

    Hernan de Lahitte Guest

Similar Threads

  1. Forms Authentication - Single Sign-On
    By jct in forum ASP.NET Security
    Replies: 0
    Last Post: January 18th, 03:51 PM
  2. VPN Single-sign on?
    By Scott Brookhart in forum ASP.NET Security
    Replies: 0
    Last Post: February 2nd, 07:57 PM
  3. Single sign-on w/ASP?
    By Paul Woods in forum ASP
    Replies: 4
    Last Post: September 18th, 08:08 PM
  4. php and apache...single sign on
    By Mike Klein in forum PHP Development
    Replies: 0
    Last Post: September 17th, 07:13 PM
  5. Single sign-on solution
    By Timmy Sin in forum Oracle Server
    Replies: 0
    Last Post: December 24th, 06:30 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

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 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139