SSL Forms Login for multiple sites

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

  1. #1

    Default SSL Forms Login for multiple sites

    Hi,
    SSL newbie would love some advice :-)

    I have a server that hosts several independant domains (using host
    headers to differentiate them). Each domain runs an independant copy of
    the same ASP.NET application - this app uses forms-based authentication
    and a proprietary XML file on each site to authenticate users/passwords
    (i.e. each site has it's own set of users).

    I would like to implement SSL around the forms login page for each
    site, to protect the login process only.

    Since SSL is tied to a domain, is there a way I avoid having to buy an
    SSL cert for EACH domain?

    Thanks for any help!
    Jerry

    JerryMorton233@mail.com Guest

  2. Similar Questions and Discussions

    1. Strange problem with Forms authentication: After successfull login, login page is still displayed
      Hi there I have a quite strange problem with my ASP.NET-Application. The application has being deployed one year ago and worked fine till last...
    2. Multiple Sites + Multiple Languages + Unicode with Adobe Contribute ?
      Does Adobe Contributes allows you to maintan content in multiple language (with unicode support) over multiple web site (ie : www.myproduct.com,...
    3. Multiple users on multiple sites
      If several users edit their own sites using one pc with one version of Contribute, for example in a community venue, is it possible to issue...
    4. Best way to set up multiple sub-sites?
      I have a company intranet to set up, where each department has it's own subfolder under the root folder. Also, each department will have its own...
    5. Forms authentication and multiple login pages
      Hi, I use a "forms based" security scheme. As I understood it, all I need is a "login" page (the unsecured one) and the rest. I have a little...
  3. #2

    Default Re: SSL Forms Login for multiple sites

    Jerry,

    the short answer: No.

    As you are saying, the SSL certificate are tied to one domain and this is
    done for security reasons. Otherwise, you could have certificates saying
    that
    "I am site Y", when the site in reality is site X.

    What you could try to do (depending on your application/system) is to create
    a
    common login service which, after successful login, redirects the users to
    the correct
    domain.

    This would of course require a new "logon.yourdomain.com" which would handle
    this.


    --

    Best regards,
    Geir Aamodt
    geir.aamodt(AT)bekk.no

    <JerryMorton233@mail.com> wrote in message
    news:1108813638.870391.7790@c13g2000cwb.googlegrou ps.com...
    > Hi,
    > SSL newbie would love some advice :-)
    >
    > I have a server that hosts several independant domains (using host
    > headers to differentiate them). Each domain runs an independant copy of
    > the same ASP.NET application - this app uses forms-based authentication
    > and a proprietary XML file on each site to authenticate users/passwords
    > (i.e. each site has it's own set of users).
    >
    > I would like to implement SSL around the forms login page for each
    > site, to protect the login process only.
    >
    > Since SSL is tied to a domain, is there a way I avoid having to buy an
    > SSL cert for EACH domain?
    >
    > Thanks for any help!
    > Jerry
    >

    Geir Aamodt Guest

  4. #3

    Default Re: SSL Forms Login for multiple sites

    Hi,
    I thought this would be the case. I was thinking about the "common
    login" process - has anyone done this? I just wonder how the system
    will react i.e. when a cookie generated by a forms-authentication page
    at "https://logon.yourdomain.com" is then passed back for use under
    "http://www.myoriginaldomain.com"? I think there's a way of
    manipulating the domain name in the cookie - but what about the "https"
    -> "http" bit - does that still form part of the cookie validation?

    I was thinking that if I buy a "shared" ("wildcard"?) SSL cert, I can
    make something work? i.e. [url]www.adomain.com[/url] uses web.config to redirect
    unauthenticated users to "https://adomain.yourdomain.com/login.aspx"
    which ACTUALLY maps to a page under the "adomain" application (e.g.
    "http://www.adomain.com/adomainloginfolder/login.aspx"). I think I
    still have the same cookie problems though? Although this would let me
    use the correct "user database" for each app more easily.

    Maybe some kind person out there has tried this? :-)

    JerryMorton233@mail.com 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