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

  1. #1

    Default Hijack Session

    Has anyone seen any good examples of how to stop someone
    from stealing the session id to hijack the session?

    Thanks...
    Dave Guest

  2. Similar Questions and Discussions

    1. #16263 [Com]: session.start() create new empty session file and not resume existing session
      ID: 16263 Comment by: pat at burnttech dot com Reported By: kur at natur dot cuni dot cz Status: No Feedback...
    2. #25551 [Bgs->Opn]: Session data loss when accessing session from multiple windows.
      ID: 25551 User updated by: brett at realestate-school dot com Reported By: brett at realestate-school dot com -Status: ...
    3. #25551 [NEW]: Session data loss when accessing session from multiple windows.
      From: brett at realestate-school dot com Operating system: Linux - Red Hat PHP version: 4.3.1 PHP Bug Type: Session related...
    4. #25307 [Ver]: Crash when session.serialize_handler=wddx & session, post, get vars
      ID: 25307 User updated by: cristea at pntcd dot ro Reported By: cristea at pntcd dot ro Status: Verified Bug Type: ...
  3. #2

    Default Re: Hijack Session

    Well, the only way to really do this is to prevent somebody from gettng the
    session id in the first place - this is the danger of cookieless session
    state, where it is in the URL for all to see. Once somebody has the ID,
    there isn't anything you can do to differentiate that person from the
    legitimate user. If information is extremely senstive, then don't use
    persistent cookies (so they won't be sitting on disk) and use HTTPS so it's
    encrypted over the wire. Require authentication again when you get to
    something particularly sensitive.

    --
    Chris Jackson
    Software Engineer
    Microsoft MVP - Windows Client
    Windows XP Associate Expert
    --
    More people read the newsgroups than read my email.
    Reply to the newsgroup for a faster response.
    (Control-G using Outlook Express)
    --

    "Dave" <anonymous@discussions.microsoft.com> wrote in message
    news:014e01c3d60d$9ca9abb0$a301280a@phx.gbl...
    > Has anyone seen any good examples of how to stop someone
    > from stealing the session id to hijack the session?
    >
    > Thanks...

    Chris Jackson Guest

  4. #3

    Default Hijack Session

    An apporach I'm considering is to:

    1. Store the source IP and user agent
    2. Compare the request IP and user agent on each page to
    the session ID
    3. Not use cookieless sessions
    4. Not persist the ticket

    This will give me the security I need to get ASP.Net
    working in my organization.
    >-----Original Message-----
    >Has anyone seen any good examples of how to stop someone
    >from stealing the session id to hijack the session?
    >
    >Thanks...
    >.
    >
    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