forms authentication over multiple projects

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

  1. #1

    Default forms authentication over multiple projects

    Here is my scenario:

    I have an aspx page that is essentially a table of contents to a bunch of
    other aspx pages. The table of contents page launches other aspx pages (from
    different asp projects). I do not want the users to access these pages
    directly as I want them to only go thru the table of contents page.
    Therefore I have set forms authentication on these pages.

    In order to get to the table of contents page, I use also use Forms
    authentication, so the user has to log in first to get to the page. This
    works fine. However, I want to be able to pass the user's authenticated
    credentials to the "sub" aspx pages. This is the part that I'm having
    trouble with.

    Any help would be appreciated.

    Thank you for your time.
    DaVBGuy Guest

  2. Similar Questions and Discussions

    1. Forms authentication with multiple projects in a solution
      I am attempting to break my application into multiple projects using the technique described in KB #307467. I successfully execute my 'Main'...
    2. 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. Unable to debug multiple ASP.NET projects simultaneously
      Hi, I was trying to debug two different ASP.NET projects at the same time. But I was only able to debug one of them and I got the following error...
    4. Uses ASP.NET form authentication across projects?
      Basically this needs to be done so that: a) synchronize <machineKey> elements in web.config for all applications b) synchronize <authentication>...
    5. One solution containing multiple projects and multiple hosts
      Can anyone help? jsausten@hotmail.com (Stephen Miller) wrote in message news:<cdb404de.0306160645.428f9f46@posting.google.com>...
  3. #2

    Default Re: forms authentication over multiple projects

    What is it mean ? "..to the "sub" aspx pages ..."

    Do u mean different ASP.NET applications? If yes, answer is easy. I think, u
    don't. But what?

    --

    Thanks,
    Yunus Emre ALPÖZEN
    BSc, MCAD.NET

    "DaVBGuy" <DaVBGuy@discussions.microsoft.com> wrote in message
    news:914A3978-2DF5-449A-AD5E-70B70CE70843@microsoft.com...
    > Here is my scenario:
    >
    > I have an aspx page that is essentially a table of contents to a bunch of
    > other aspx pages. The table of contents page launches other aspx pages
    > (from
    > different asp projects). I do not want the users to access these pages
    > directly as I want them to only go thru the table of contents page.
    > Therefore I have set forms authentication on these pages.
    >
    > In order to get to the table of contents page, I use also use Forms
    > authentication, so the user has to log in first to get to the page. This
    > works fine. However, I want to be able to pass the user's authenticated
    > credentials to the "sub" aspx pages. This is the part that I'm having
    > trouble with.
    >
    > Any help would be appreciated.
    >
    > Thank you for your time.

    Yunus Emre ALPÖZEN [MCAD.NET] Guest

  4. #3

    Default Re: forms authentication over multiple projects

    Hello DaVBGuy,

    be sure that the following is the same on all your "single-signon" sites

    - auth cookie name
    - cookie path
    - machinekey section in web.config to encrypt/decrypt/validate the auth cookie


    ---------------------------------------
    Dominick Baier - DevelopMentor
    [url]http://www.leastprivilege.com[/url]
    > Here is my scenario:
    >
    > I have an aspx page that is essentially a table of contents to a bunch
    > of other aspx pages. The table of contents page launches other aspx
    > pages (from different asp projects). I do not want the users to
    > access these pages directly as I want them to only go thru the table
    > of contents page. Therefore I have set forms authentication on these
    > pages.
    >
    > In order to get to the table of contents page, I use also use Forms
    > authentication, so the user has to log in first to get to the page.
    > This works fine. However, I want to be able to pass the user's
    > authenticated credentials to the "sub" aspx pages. This is the part
    > that I'm having trouble with.
    >
    > Any help would be appreciated.
    >
    > Thank you for your time.
    >


    Dominick Baier [DevelopMentor] Guest

  5. #4

    Default Re: forms authentication over multiple projects

    Adding further details to what Dominic said, you may take a look here:

    [url]http://weblogs.asp.net/hernandl/archive/2004/06/09/ssoformsauth.aspx[/url]

    --
    Hernan de Lahitte
    [url]http://clariusconsulting.net/hdl[/url]


    "DaVBGuy" <DaVBGuy@discussions.microsoft.com> wrote in message
    news:914A3978-2DF5-449A-AD5E-70B70CE70843@microsoft.com...
    > Here is my scenario:
    >
    > I have an aspx page that is essentially a table of contents to a bunch of
    > other aspx pages. The table of contents page launches other aspx pages
    > (from
    > different asp projects). I do not want the users to access these pages
    > directly as I want them to only go thru the table of contents page.
    > Therefore I have set forms authentication on these pages.
    >
    > In order to get to the table of contents page, I use also use Forms
    > authentication, so the user has to log in first to get to the page. This
    > works fine. However, I want to be able to pass the user's authenticated
    > credentials to the "sub" aspx pages. This is the part that I'm having
    > trouble with.
    >
    > Any help would be appreciated.
    >
    > Thank you for your time.

    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