Form Authentication with cookieless browser

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

  1. #1

    Default Form Authentication with cookieless browser

    This is a definition for Form Authentication from MSDN :
    "The Forms authentication provider is an authentication
    scheme that makes it possible for the application to
    collect credentials using an HTML form directly from the
    client. The client submits credentials directly to your
    application code for authentication. If your application
    authenticates the client, it issues a cookie to the client
    that the client presents on subsequent requests. If a
    request for a protected resource does not contain the
    cookie, the application redirects the client to the logon
    page."
    My Question : If i want to use Form authentication but
    client browsers does not support cookies (Since we do not
    know whether particular users' browsers will support
    cookie or not), when user tries to sign in to my page, how
    actually ASP.NET works internally in order to support
    cookieless browser??? Thanks
    Machi Guest

  2. Similar Questions and Discussions

    1. mx 7 flash form The form data has expired, Please reloadthis page in your browser.
      When i first go to any flash form on my CFMX 7 server i get the following message. The form data has expired, Please reload this page in your...
    2. Authentication and multiple browser session
      Hi, I have discovered what I consider to be an annoyance at best and, in some scenarios, a security flaw. After browsing the news groups, I...
    3. authenticate win32 form client with form based authentication web services
      (Type your message here) -------------------------------- From: kitchai yong Hi, Can you tell me how i authenticate the win32 form client...
    4. forms authentication, cookieless?
      Hi. I want a login framework that uses the ASP.NET web.config / forms authentication security schema (including roles in principals etc), but...
    5. Authentication ticket, cookieless, forms authentication?
      Hi. I want to use Forms Authentication, cookieless. The issue is setting the Authentication Ticket without using cookies (!) That is, the...
  3. #2

    Default Re: Form Authentication with cookieless browser

    Hi,

    working without cookies with Forms Authentication needs bit custom work to
    be done, namely you need to manually persist the forms authentication ticket
    in the querystring.

    The query string variable name needs to match the cookie name specified at
    web.config for the forms authentication and the actual data is the encrypted
    FormsAuthenticationTicket instance (result from FormsAuthentication.Encrypt
    method)

    One view to the subject and alternative solution is provided here as well:
    [url]http://www.codeproject.com/aspnet/cookieless.asp[/url]
    [url]http://www.dotnet247.com/247reference/msgs/18/92912.aspx[/url]

    --
    Teemu Keiski
    MCP, Microsoft MVP (ASP.NET), AspInsiders member
    ASP.NET Forum Moderator, AspAlliance Columnist






    "Machi" <pangtatsean1977@yahoo.com> wrote in message
    news:049501c396b0$c4ddda30$a301280a@phx.gbl...
    > This is a definition for Form Authentication from MSDN :
    > "The Forms authentication provider is an authentication
    > scheme that makes it possible for the application to
    > collect credentials using an HTML form directly from the
    > client. The client submits credentials directly to your
    > application code for authentication. If your application
    > authenticates the client, it issues a cookie to the client
    > that the client presents on subsequent requests. If a
    > request for a protected resource does not contain the
    > cookie, the application redirects the client to the logon
    > page."
    > My Question : If i want to use Form authentication but
    > client browsers does not support cookies (Since we do not
    > know whether particular users' browsers will support
    > cookie or not), when user tries to sign in to my page, how
    > actually ASP.NET works internally in order to support
    > cookieless browser??? Thanks

    Teemu Keiski Guest

  4. #3

    Default Re: Form Authentication with cookieless browser

    Thank you very much.
    >-----Original Message-----
    >Hi,
    >
    >working without cookies with Forms Authentication needs
    bit custom work to
    >be done, namely you need to manually persist the forms
    authentication ticket
    >in the querystring.
    >
    >The query string variable name needs to match the cookie
    name specified at
    >web.config for the forms authentication and the actual
    data is the encrypted
    >FormsAuthenticationTicket instance (result from
    FormsAuthentication.Encrypt
    >method)
    >
    >One view to the subject and alternative solution is
    provided here as well:
    >[url]http://www.codeproject.com/aspnet/cookieless.asp[/url]
    >[url]http://www.dotnet247.com/247reference/msgs/18/92912.aspx[/url]
    >
    >--
    >Teemu Keiski
    >MCP, Microsoft MVP (ASP.NET), AspInsiders member
    >ASP.NET Forum Moderator, AspAlliance Columnist
    >
    >
    >
    >
    >
    >
    >"Machi" <pangtatsean1977@yahoo.com> wrote in message
    >news:049501c396b0$c4ddda30$a301280a@phx.gbl...
    >> This is a definition for Form Authentication from MSDN :
    >> "The Forms authentication provider is an authentication
    >> scheme that makes it possible for the application to
    >> collect credentials using an HTML form directly from the
    >> client. The client submits credentials directly to your
    >> application code for authentication. If your application
    >> authenticates the client, it issues a cookie to the
    client
    >> that the client presents on subsequent requests. If a
    >> request for a protected resource does not contain the
    >> cookie, the application redirects the client to the
    logon
    >> page."
    >> My Question : If i want to use Form authentication but
    >> client browsers does not support cookies (Since we do
    not
    >> know whether particular users' browsers will support
    >> cookie or not), when user tries to sign in to my page,
    how
    >> actually ASP.NET works internally in order to support
    >> cookieless browser??? Thanks
    >
    >
    >.
    >
    Machi 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