Cross Domain Auto Login

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Cross Domain Auto Login

    I have multiple asp.net websites living in different domains. The
    websites (pages, code, etc) are all identical. The databases driving
    the websites are different. This is not a web farm.

    I use Forms Authentication as the authentication method against custom
    users and passwords stored in the databases. Assume the user/password
    information is replicated across all the databases.

    I would like to provide seamless navigation across the websites. In
    other words, if the user has logged into website A and they click a
    link which leads them to website B, I don't want them to have to login
    with the same credentials on website B.

    One solution is to save the credentials they used in session and then
    pass them as url parameters to the login page. The login page would
    have to know how to use the parameters. This is obviously a large
    security hole and generally bad practice.

    Another idea is to again save the credentials in session and manually
    post to the login page with the credentials as post parameters (assume
    ssl). The trick is to save the resulting cookie and reuse it when
    redirecting the user to the requested page on the new website. I can't
    get this working for a number of reasons and thought I would post here
    to see if this has been done before or if anyone had any other ideas on
    this topic.

    Thanks.
    Grim

    grimgroups@gmail.com Guest

  2. Similar Questions and Discussions

    1. CROSS DOMAIN POLICY
      Flex 1.5 HI anyone told me why to use the crossdomain policy and where to put the crossdomain.xml file in an webapplication(Web Server) is it in...
    2. Cross domain CF access
      'lo all, I'm trying to host my .swf file on one domain, but have the flash remoting call CF on another domain (ie totally separate web servers)....
    3. Cross domain xml loading
      I?m trying to get some xml data loaded into flash across domain. I have the crossdomain.xml file in place and everything works fine in flash player...
    4. Cross domain sessions
      Hi, I'm building a shopping cart system, which is almost complete if it wasn't for this bug (grrr). The site has about 10 domains pointing to it,...
    5. Cross domain webservice
      Hi, We have developed a webservice that retrieves Free/Busy information from the Exchange Server and returns it to the client. The webservice...
  3. #2

    Default Re: Cross Domain Auto Login

    I think it might be of some help this post:
    [url]http://weblogs.asp.net/hernandl/archive/2004/06/09/ssoformsauth.aspx[/url]

    Regards,

    Hernan de Lahitte
    [url]http://weblogs.asp.net/hernandl[/url]
    [url]http://www.lagash.com/english/index.html[/url]

    <grimgroups@gmail.com> wrote in message
    news:1104427700.406178.12860@c13g2000cwb.googlegro ups.com...
    >I have multiple asp.net websites living in different domains. The
    > websites (pages, code, etc) are all identical. The databases driving
    > the websites are different. This is not a web farm.
    >
    > I use Forms Authentication as the authentication method against custom
    > users and passwords stored in the databases. Assume the user/password
    > information is replicated across all the databases.
    >
    > I would like to provide seamless navigation across the websites. In
    > other words, if the user has logged into website A and they click a
    > link which leads them to website B, I don't want them to have to login
    > with the same credentials on website B.
    >
    > One solution is to save the credentials they used in session and then
    > pass them as url parameters to the login page. The login page would
    > have to know how to use the parameters. This is obviously a large
    > security hole and generally bad practice.
    >
    > Another idea is to again save the credentials in session and manually
    > post to the login page with the credentials as post parameters (assume
    > ssl). The trick is to save the resulting cookie and reuse it when
    > redirecting the user to the requested page on the new website. I can't
    > get this working for a number of reasons and thought I would post here
    > to see if this has been done before or if anyone had any other ideas on
    > this topic.
    >
    > Thanks.
    > Grim
    >

    Hernan de Lahitte Guest

Posting Permissions

  • You may not post new threads
  • You may 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