Force logon even for domain users

Posted on 2004-11-03
Medium Priority
Last Modified: 2008-01-09

I've got an IIS 5 server running. I've got things setup so that users need to logon using their domain user name and password (integrated security).

Things work fine. But when working from e.g. my local workstation, I am not prompted for a username, the server see's the way i am logged on to windows and since that account is valid, it will us that account for browsing the website.

Is there a way to force me to logon (and there by enableing me to use a different user)?

Question by:palloquin
LVL 57

Expert Comment

by:Pete Long
ID: 12487975
open the IIS admin console (under admin tools) or add it into a mmc console

right click default website, properties look for the security settings and untick allow anonymous login

Author Comment

ID: 12488361
uh... Thank you but I had that down :)

I have disabled anonymous logins, but because I am on the same network, IIS uses (my clients) windows logon user (which is a network user).

LVL 33

Expert Comment

ID: 12488432
If you disable the anonymous access and enable the Integrated Windows Authentication that even network users will be prompted for a username/password.  I have Win2kServer/IIS5 set up here at home and I just tested it.

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

LVL 37

Expert Comment

ID: 12488975
have you got both plain *and* integrated enabled?

LVL 14

Expert Comment

ID: 12493066
What you are asking for requires you to have basic authentication ONLY enabled.  (you will also need to check that the default domain is correct for your user accounts to authenticate).

If you use anonymous it will use the iusr account to authenticate.
If you use integrated it will use the currently logged on user to authenticate.

Ensure you ONLY have basic authentication ticked and it should always prompt for credentials allowing you to enter whichever user's credentials you wish.

Credentials will need to be entered in the format:

Accepted Solution

stephenlim earned 500 total points
ID: 12495704
As what i understand from your first post, maybe you can try this. Go to your Internet Explorer (if you are using it), click Tools -> Security -> Custom Level -> Users Authentication -> ckeck the "Prompt for a username and password".

The IE by default will use your logon for any domain authentication. Therefore when you test from your computer, it will actually use your current logon as the authentication parameters.

I might wrong, please correct me if you get the Real solution. Hope this helps!

Expert Comment

ID: 12509881
what if you want the opposite?  For the server to authenticate through the domain?

Featured Post

Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question