Thanks maverest for the response, but how do you prevent the popup when users do not have IE setup to premit the credentials being passed?
Main Topics
Browse All TopicsGood Morning Experts!
I have a website and I am trying to auto-authenticate domain users and those who are not domain users (most are not). What is the best way to accomplish this?
I attempted a virtual directory with integrated windows authentication where JavaScript called this "SubSite" after checking they were inside the network but could not find a way around a popup asking for credentials where the user has not added the site as a trusted site or a way for JavaScript check if the user has added the site as a trusted site.
I do not want to use a cookie to save their credentials because we have many shared workstations.
Is there a way to accomplish this?
I am using IIS6 (have an IIS7 server if needed) and ASP.net/VB.net
Thanks!
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Hi Marc,
>> but how do you prevent the popup when users do not have IE setup to premit the credentials being passed?
you can't. Since it is a browser function whether to show an auth dialog or not, then there is noting you can do at the server end to change that, other than use cookies etc in a manner that you have already said that you do NOT want to do.
Cheers, Mike.
Business Accounts
Answer for Membership
by: meverestPosted on 2009-06-21 at 18:23:36ID: 24679254
Hi,
in.com) then IE will automatically assume it is an intranet site.
when a user tries to access a web site that is listed in 'intranet sites' under IE security sttings, then IE will automatically send the local logged-on user credentials if prompted.
so there are two parts to implementing what you want:
1. make sure that your web site is listed in the client browser as 'intranet site', and
2. make sure that IE recognises the credentials used to log on to the local workstations.
for 1, you can simply add the web site hostname into each browser, or use a domain policy (if they are logging on to a domain) to add it. Alternatively, if the web site can be accessed with unqualified hostname (e.g http://myservername) and not fully qualified (e.g http://myservername.mydoma
for 2, again if they are logging on to a domain, you simply permit access to those users (or groups) to the relevant filesystem locations on the web site. If not, then you will need to manually add each one as a local user and then grant access rights to the filesystem locations.
cheers, Mike.