Is it possible to give public access to files in a folder within wwwroot?

1

I want to share some files on my computer using IIS within the wwwroot folder. I'm currently getting a 403 error when I enter the URL ipaddress/Folder. Is there any way to get rid of the 403 error and allow my computer to make the files public?

cfarm54

Posted 2010-09-13T05:37:01.137

Reputation: 203

Yes, but to tell you how we need to know what OS (and hence, version of IIS) you're using. – BillP3rd – 2010-09-13T06:40:03.727

I'm on IIS7 and windows vista – cfarm54 – 2010-09-13T18:07:09.657

Answers

2

Displaying "ipaddress/Folder", meaning to list all files in the folder, requires Directory browsing permission for this folder. Directory browsing permission is off by default, as a security measure.

For Vista and above see Enable or Disable Directory Browsing in IIS 7 .

You do not need this permission for accessing a file via "ipaddress/Folder/file", but you then need to know the file's name in advance.

harrymc

Posted 2010-09-13T05:37:01.137

Reputation: 306 093

0

You might be able to use chmod if you're on Linux and give read access to all users, I'm not entirely sure though.

guru1525

Posted 2010-09-13T05:37:01.137

Reputation: 1

IIS is Windows only – Canadian Luke – 2012-02-04T18:47:03.897