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

  • Home
  • SEARCH
  • 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 69427
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T19:34:20+00:00 2026-05-10T19:34:20+00:00

When supporting a new web app in an enterprise environment, it is often necessary

  • 0

When supporting a new web app in an enterprise environment, it is often necessary to log in as a specific user in order to diagnose a real or perceived problem they are having. Two opposing issues apply here:

  1. Best practice is to use hashed or encrypted passwords, not clear text. Sometimes, there is a third-party SSO (single sign-on) in the middle. There is no way to retrieve the user’s password. Unless the user provides it (not encouraged), there is no way to log in as that user.

  2. Many web app’s have personalization and complex authorization. Different users have different roles (admin, manager, user) with different permissions. Sometimes users can only see their data — their customers or tasks. Some users have read-only access, while others can edit. So, each user’s view of the web app is unique.

Assume that in an enterprise environment, it isn’t feasible to go to the user’s desk, or to connect directly to their machine.

How do you handle this situation?

Edit: I want to reiterate that in a large financial institution or typical Fortune 500 company with hundreds of thousands of employees all of the country, and around the world, it is not possible for a mere developer in some IT unit to be able to directly access a user’s machine. Some of those are public-facing web apps used by customers (such as online banking and stock trading). And, many of those are intranet applications rely on Active Directory or an SSO, meaning that user credentials are the same for many applications. I do thank you all for your suggestions; some may be highly useful in other kinds of environments.

  • 1 1 Answer
  • 1 View
  • 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. 2026-05-10T19:34:21+00:00Added an answer on May 10, 2026 at 7:34 pm

    A number of these ideas inconvenience the user, either by forcing them to change their password, or by occupying their desktop for your debugging session.

    Markc’s idea is the best: augment your authentication logic to allow superusers to log in as a particular user by supplying not the user’s credentials, but the user’s name plus their superuser credentials.

    I’ve done it like this in the past (pseudo-ish python):

    if is_user_authenticated(username, userpassword):     login the user else if ':' in userpassword:     supername, superpassword = userpassword.split(':')     if is_superuser_authenticated(supername, superpassword):         login the user 

    In other words, if the username and password don’t authenticate, if the password has a colon, then it’s actually the admin username and admin password joined by a colon, so login as the username if they are the right admin username and password.

    This means you can login as the user without knowing their secrets, and without inconveniencing them.

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

Sidebar

Related Questions

I'm currently supporting a Python web app with increasingly complicated user/role/permission management requirements. Currently,
I'm supporting a ASP.NET v2.0 app installed on a Windows 2003 SP3 Enterprise on
Is new Web API supporting pushing messages to clients (instead of continuous polling)?
We inherited a new product that we are now supporting. It is a web
I have implemented a new web app that makes use of the default membership
I'm really new to programming... I set up a class to give supporting information
I've created a new web application project in Visual Studio 2008, and then copied
Is there some collection implementation supporting expiration of the elements. For example: Collection<User> cachedUsers
I'm currently optimizing my iOS app for the new iPad . Unfortunately by adding
I'm developing a web application using ASP.NET MVC (I'm new to the framework and

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.