IIS 5 question please

spooky617

Member
Dec 2, 2002
67
0
0
I am trying to figure something out, I am very new to IIS ( I am running Windows 2000 Advanced Server ), I have set up a website with a subdirectory called "mark" ( I do not have the domain name registered, I am using the IP address at the moment for my friends to get to the site until I learn more about IIS )this directory has a directory called PDFs, now when they simply type http://192.168.1.1/mark/ they get to the default page with out any problems (sample IP address) but when I create a link to any PDF file under PDFs directory & anyone tries to access it they are prompted for user name, password & domain. I have gone through the directories & made sure that the security has IUSR_XXX is there & made sure that Web Sharing even is on for this directory. Why would it be asking anyone for user name & password & domain? Do I have anything set up incorrectly?
Thank you for your help.

 

spyordie007

Diamond Member
May 28, 2001
6,229
0
0
Using your example you can access the /mark/ directory correctly because the IUSER_XXX account has read privilages to it, however I'm trying to load one of your PDFS at /mark/files/mypdf.pdf and do not have privilages to that file.

What are your permissions set to on that PDF? (The names I used are fictional, assume I mean the names you PMd me).

-Spy
 

spooky617

Member
Dec 2, 2002
67
0
0
The directory where the PDF file is located I have the same permissions set up as in the "mark" directory ( the directory is "files" ) plus the annon. access is checked.
Add on:
OK I did not know that I need to modify file permissions to EACH file I would want to place in that directory, I would think that any file that is inside the directory would be accessible once it is in a directory that has the correct permissions as well as it is part of the URL

Thank you for your help
 

spooky617

Member
Dec 2, 2002
67
0
0
Is there a way to set it up so any file I will place in the directory would get the same IUSR permissions?
 

spyordie007

Diamond Member
May 28, 2001
6,229
0
0
sure, goto the permissions tab and click on "advanced" check "replace permissions on all child objects" and hit "apply"

-Spy