IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 30th, 2006, 09:54 AM
masayeed78 masayeed78 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2006
Posts: 3 masayeed78 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 m 23 sec
Reputation Power: 0
ASP.NET logging as different user using window authentication mode

Hi All,

In ASP.Net web application how can I login as a different user, if authentication method is windows?

Let me explain the scenario.

I used windows authentication mode in web.config file as below and changed the settings in IIS server. I have changed the authentication method to integrated windows authentication and disabled other methods.

<authentication mode="Windows" />

It is working fine. But to login as different user then i have logout of windows and login with other username and password.

So without logging out of windows, I need to login as different user from asp.net webpage providing username , password and domain in webpage itself.

Can any one plese help me out, this is very urgent.

Thanks

Reply With Quote
  #2  
Old October 30th, 2006, 12:13 PM
Tekken Tekken is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Location: Texas
Posts: 98 Tekken User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 10 h 1 m 56 sec
Reputation Power: 3
I think how it works is if you're logged into windows with an account that has access to the website, then it will automatically pull those credentials. If you're not then it will prompt you to login.

Try logging in as a user that doesn't have access to the site and see what comes up. I would also try accessing from a seperate computer instead of locally, also.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > ASP.NET logging as different user using window authentication mode


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT