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 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
  • 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. 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

Ask A Question

Stats

  • Questions 123k
  • Answers 123k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Firefox is launched by the command "firefox" because there is… May 12, 2026 at 1:11 am
  • Editorial Team
    Editorial Team added an answer With an EXE, you should call the SHGetFileInfo API function… May 12, 2026 at 1:11 am
  • Editorial Team
    Editorial Team added an answer You can use the (deprecated) browser attribute: if ($.browser.msie &&… May 12, 2026 at 1:11 am

Related Questions

We will be developing a very large vertical market web application, and are leaning
I have recently been thinking alot about where to draw the line, and I
Microsoft have explained that they won't be supporting Edit and Continue under the x64
Well, to begin with, I'm using Visual Studio 2008 on a 32-bits Windows XP

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.