Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7090927
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T08:07:02+00:00 2026-05-28T08:07:02+00:00

I am looking for a way to prevent my web site users, who sign

  • 0

I am looking for a way to prevent my web site users, who sign on with a pair of username passwords after their registration, from logging in from multiple computers. Actually i am looking for a way to register the computers that the users log on from and prevent them to give their username,passwords to eachother. I found out that in asp.net and actually in all websites programming languages, it is not possible to detect the mac address of the client’s network card. Meanwhile things like browsername and ip address which can be detected via httpcontext.current are not usable for me because most of the users have dynamic ips. Also i want something more strict than the computer name because it is not something unforefitable.

Please guide me what solutions i can use without involving hardware token based solutions.
Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T08:07:02+00:00Added an answer on May 28, 2026 at 8:07 am

    About the best you can do is to record (likely in a database or in-memory cache) when one user is logged in with a timeout and then update the timeout on each request. Then, dissalow that user to log in while the “isLoggedIn” value is current (ie. hasn’t expired). You should also expire the timeout on an explicit logout.

    In theory, you could also expire the timeout in the sessionExpire event, but we’ve noticed that event isn’t particularly reliable, and we wanted a shorter timeout, hence using our own timeout scenario.

    For more stringent securities, you can also stash the session ID, and a browser fingerprint if you feel so inclined, along side the timeout to combat users who get in between your timeout and the session timeout.

    In the long run, however, there isn’t really any 100% secure way to keep users from sharing accounts. About the best you can do is try to limit the “duplicate user” scenario to make it painful for them to have the same account logged on more than once at the same time.

    Lastly, just as a side-note, a dynamic IP doesn’t typically change that often (unlikely to change within an application session), so you may be able to leverage that as well in a fuzzy fashion.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking for a way to prevent a user in SharePoint from deleting his
I'm looking for a way to prevent multiple hosts from issuing simultaneous commands to
The subject of how to store web site users passwords in tables has come
Is there a way to prevent the UpdateListItems() web service call in SharePoint's Lists.asmx
I'm looking for the safest way to not allow my web form, which uses
I am looking for a way to prevent loading a specific JavaScript file on
I'm looking for a decent way to ensure that high scores sent from clients
I'm looking for way to create list view as like in IOS with pinned
I'm looking a way to enable IP logging with log4net in ASP.NET. I found
I'm looking for way to write Javascript programs / scripts on desktop, not inside

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.