Disallowing concurrent login using the same user account

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

  1. #1

    Default Disallowing concurrent login using the same user account

    I would like to prevent someone sharing a login in my .net app but I know
    that it would
    know that would be difficult so it would be acceptable to prevent concurrent
    logins. So here is my current plan, each time a user logins we will create
    a unique id (a guid for example) and store it both in the cookie and in our
    server for the login name. Our server will check for matching of that id for
    each subsequent access (read, write data etc), if it is not matched, then we
    will automatically log the user out. So if 2 people are using the same
    login name, the 2nd person logging in will kick the 1st one out. Does
    anybody
    see any problem/hole with that approach?

    Thank you very much advance for you help!


    Zeng Guest

  2. Similar Questions and Discussions

    1. Concurrent user
      How much water will a bucket hold? Depends on the size of the bucket. What is the application doing? How much database activity is going on? What...
    2. Concurrent user
      is there an answer to how many concurrent users a cf server can handle.
    3. How to allow a user account local login to server?
      Hi, I need to allow some local access so they can administer print jobs and print reports from a custom printing app installed on Server 2003. ...
    4. Setting user account login time restrictions
      Is it not possible to restrict user login times under Windows XP Home? I have kids that I want to force to logoff after a certain time.
    5. Old Windows user account VS New windows user account ROUND 1
      Larissa; Her name is listed because her name was used when the profile was created. Create a new profile and copy the data to the new profile:...
  3. #2

    Default Re: Disallowing concurrent login using the same user account

    I've been using a similar method, and it works well.

    Sincerely
    Svein Terje Gaup

    "Zeng" <zzy@nonospam.com> wrote in message
    news:eQX%23cfsiEHA.2340@TK2MSFTNGP11.phx.gbl...
    >I would like to prevent someone sharing a login in my .net app but I know
    > that it would
    > know that would be difficult so it would be acceptable to prevent
    > concurrent
    > logins. So here is my current plan, each time a user logins we will
    > create
    > a unique id (a guid for example) and store it both in the cookie and in
    > our
    > server for the login name. Our server will check for matching of that id
    > for
    > each subsequent access (read, write data etc), if it is not matched, then
    > we
    > will automatically log the user out. So if 2 people are using the same
    > login name, the 2nd person logging in will kick the 1st one out. Does
    > anybody
    > see any problem/hole with that approach?
    >
    > Thank you very much advance for you help!
    >
    >

    Svein Terje Gaup 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