Forms based authentication pointing at a different URL

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

  1. #1

    Default Forms based authentication pointing at a different URL

    Everyone,

    I have a question about forms based authentication. Can the
    loginURL point at a different server than the current one?

    Example: A typical forms based authentication line in a web.config
    <authentication mode = "Forms">
    <forms name="ProgAspNetCookie" loginURL="/login.aspx">
    </authentication>

    can I do something like ....

    <authentication mode = "Forms">
    <forms name="ProgAspNetCookie"
    loginURL="http://www.somewhereelse.com/login.aspx">
    </authentication>

    and have it return an authentication cookie that I'm currently
    using?

    Thanks in advance for any help.

    Scott Vercuski
    Scott Vercuski Guest

  2. Similar Questions and Discussions

    1. forms based authentication - ticket not expiring
      I have set up forms based authentication according to the KB article (http://support.microsoft.com/kb/308157/EN-US/) using the...
    2. Role based Forms Authentication
      Before I start I must point out that this does work on my local Windows XP machine but does not work on a Windows 2003 Server. I have created a...
    3. Forms Authentication based on roles.
      HI, I have the following problem. I am making a portal of DJs. The djs must have a Menu, the administrator another menu. I created 2 directories...
    4. Forms Based Authentication - Groups
      What example are you talking about? It doesn't appear in the newsgroup where you posted. Joe K. "cathie corcoran via .NET 247"...
    5. Forms-based Authentication
      HI I'm using Forms-based Authentication and trying out the example from the book: "ASP.NET Professional Secrets" after downloading the c# code...
  3. #2

    Default Re: Forms based authentication pointing at a different URL

    You can't access a cookie from another web site, so you wouldn't be able to
    offload this to another site.

    [url]http://wp.netscape.com/newsref/std/cookie_spec.html[/url]

    However, you could set up a system whereby you post back and authenticate
    using another mechanism, much like Passport does. It just wouldn't be forms
    authentication with all of the built-in support for it.

    --
    Chris Jackson
    Software Engineer
    Microsoft MVP - Windows XP
    Windows XP Associate Expert
    --
    "Scott Vercuski" <svercuski@neo.rr.com> wrote in message
    news:f40373ba.0309051148.478b24af@posting.google.c om...
    > Everyone,
    >
    > I have a question about forms based authentication. Can the
    > loginURL point at a different server than the current one?
    >
    > Example: A typical forms based authentication line in a web.config
    > <authentication mode = "Forms">
    > <forms name="ProgAspNetCookie" loginURL="/login.aspx">
    > </authentication>
    >
    > can I do something like ....
    >
    > <authentication mode = "Forms">
    > <forms name="ProgAspNetCookie"
    > loginURL="http://www.somewhereelse.com/login.aspx">
    > </authentication>
    >
    > and have it return an authentication cookie that I'm currently
    > using?
    >
    > Thanks in advance for any help.
    >
    > Scott Vercuski

    Chris Jackson 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