user1786107
user1786107

Reputation: 3081

Log in as different user using asp.net windows authentication

I have created a asp.net web application and have used windows authentication, for testing purposes i want to use the application as a different user.

I thought running firefox as a different user would achieve this but doing this does not seem to work. The HttpContext.Current.User property is still logged in AD user.

Is there a setting or anything i need to change in firefox to fix this?

Upvotes: 0

Views: 766

Answers (3)

Piotr Stapp
Piotr Stapp

Reputation: 19828

There is an very easy option for every program. Use RUNAS command. Open cmd and type:

runas /user:DOMAIN\USER "c:\Program Files (x86)\Mozilla Firefox\firefox.exe"

Upvotes: 1

bAN
bAN

Reputation: 13835

I think you can configure the "Integrated windows authentication" in fireFox in the about:config page.

Please take a look at the following link. This link is to activate the integrated authentication but maybe you can use it to do the revert operation.

Once FireFox ask you for username and password you will be able to enter a different from yours (logged one).

Upvotes: 1

BaconSah
BaconSah

Reputation: 421

I don't know to much about firefox, but there is a setting under IE properties (which I think most other browsers derive security settings from). "Automatic login for intranet sites" - or something to that effect, needs to be turned off and it should then start to prompt you for login details.

Upvotes: 0

Related Questions