authentication for directory via IIS 5.0


I am trying to limit access to cgi directory for authenticated users only. When I go to IIS Manager -> I right clicked the cgi directory -> properties -> directory security -> anonymous access and authentication ... -> edit -> and left only windows integrated authentication -> picked the user name which can access.

OK, BUT when I open the file inside this directory I do not know what domain and as a result I am denied.

I also tried first to go to directory (NOT via IIS) and changed security and or sharing (permission) to authenticated users and this did not even give me this authentication window when opening the page from "secured" directory.

What should I do, please ?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I think if you go into the DOS prompt and type: ipconfig /all
it wil show you what domain you are on.

alternativly, if you go to you domain controller and have a look at the config, im sure you can find the domain.

hope that helps


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jbmdAuthor Commented:
I know my default domain is jab (from dns, from iis and from ipconfig). But it does not work. I also changed this autenthicated user from user to guest and it does not work - again I get the window with user, pssw and domain query.

The only way how to open the protected file is to define the specific user as administartors - but in that case it does not ask me for psswd etc.

jbmdAuthor Commented:
actually correction:

when I use administrators login - it is the only thing which works= it will give me the authentication window and it will accept complete login incl. local default domain - but it is kind of too strong....
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
OS Security

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.