Security Expoit (FormsAuthentication.SignOut()) Does not Work

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

  1. #1

    Default Security Expoit (FormsAuthentication.SignOut()) Does not Work

    Our security people have been able to copy and use the FormsAuthentication
    cookie. Our Authetication cookie is based on an encrypted ticket and we use
    FormsAuthentication.SignOut() when users loggout or kill their session, but
    apparently the secure ticket does not get removed from the server by
    FormsAuthetication.SignOut().

    We have been able to time-out the ticket on the server, but we need to be
    able to remove the ticket at any time.

    This is our logout procedure:

    FormsAuthetication.SignOut()
    Session.Abandon()
    Response.Redirect("Autheticate.aspx")

    Thanks

    Ali


    Ali Guest

  2. Similar Questions and Discussions

    1. FormsAuthentication.SignOut() problem
      Hi All, (thanks in advance for your time) I have a standard login.aspx page (UserName\Password). When the user successully sign in they are...
    2. FormsAuthentication.SignOut not working
      Hello This SignOut code is not working, any ideas? TIA. public class logout : System.Web.UI.Page { private void Page_Load(object sender,...
    3. FormsAuthentication.SignOut() not working.
      In my search to understand ASP.NET security, I went to www.asp.net and was looking at their beginner source code. Here is the link to the code that I...
    4. What is the purpose of FormsAuthentication.SignOut()?
      MSDN documentation says: Removes the authentication ticket. That's it. Where does it remove the authentication ticket from (server /...
    5. FormsAuthentication.signout does not ??
      I am using forms authentication to secure my pages. For my logout, I created a logout page with FormsAuthentication.signout is called at the...
  3. #2

    Default Security Expoit (FormsAuthentication.SignOut()) Does not Work

    Don't persist the ticket and your problem will be
    solved. Dig through your code and look for the line
    similar to:

    Dim authTicket as FormsAuthenticationTicket = new
    FormsAuthenticationTicket(1, _
    "Some
    user",DateTime.Now, DateTime.Now.AddMinutes(20),
    false, "")

    Notice the false in the 4th parameter. That false means
    to not store the ticket in a cookie on the users machine.

    Good luck.
    >-----Original Message-----
    >Our security people have been able to copy and use the
    FormsAuthentication
    >cookie. Our Authetication cookie is based on an
    encrypted ticket and we use
    >FormsAuthentication.SignOut() when users loggout or kill
    their session, but
    >apparently the secure ticket does not get removed from
    the server by
    >FormsAuthetication.SignOut().
    >
    >We have been able to time-out the ticket on the server,
    but we need to be
    >able to remove the ticket at any time.
    >
    >This is our logout procedure:
    >
    >FormsAuthetication.SignOut()
    >Session.Abandon()
    >Response.Redirect("Autheticate.aspx")
    >
    >Thanks
    >
    >Ali
    >
    >
    >.
    >
    Keith 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