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 3939290
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T00:16:58+00:00 2026-05-20T00:16:58+00:00

I have a control panel that allows admins to enter in certain search criteria

  • 0

I have a control panel that allows admins to enter in certain search criteria about a user for moderation purposes. I almost afraid to admit this on here due to the backlashing I will surely receive, but on this page the admins can look up users passwords, so they can sign in as them for moderation purposes. So before you tear me a new one, let me say that I JUST finished hashing everyones password with sha1 and unique salt!

That being said. I want to allow the admins to be able “become” a user or login as any user they choose.

I am looking for the easiest most secure method on how to do this. Please let me know any information you may need from me for you to be able to better answer my question.

Thanks in advance.

  • 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-20T00:16:59+00:00Added an answer on May 20, 2026 at 12:16 am

    I did this when I designed a high school site. I allowed staff to “proxy” in as another user. However, they would just enter the username, and then it would emulate a session for that user. They would never access the password at any point.

    I had a $USER object and a $SESSION object. The $USER stored the currently active user, and the $SESSION stored the actual logged in user. Normally, they would be the same, but if a user was proxied in as another user, then $USER->username would not equal $SESSION->username and that would allow me to display a banner that said “You are proxied in as USER, to resume your session, click here”

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

Sidebar

Related Questions

I have an Panel control that I need to maintain position across postbacks. I
I have a program where i use a modal popup that allows the user
I have a form that will multiple Panel controls stacked on top of each
Is there a way to Minimize an external application that I don't have control
I have a control that, upon postback, saves form results back to the database.
I developed a user control that displays a list of products and it works
I have a ModalPopupExtender that allows a customer to apply payment info. It has
I have a panel sitting in a div, and I want to use that
Windows 7 and Windows Vista have a Region and Language control panel which contains
I have a Panel and I am adding controls inside this panel. But there

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.