Re: Allowing access to Inetpub subdirectories
From: Jeff Cochran (jcochran.nospam_at_naplesgov.com)
Date: 05/13/03
- Next message: Per Hagstrom: "Re: Prevent IIS to show the Content-Location + internal IP ?!"
- Previous message: Jon Scace: "Error with .wsc obj"
- In reply to: Stew: "Allowing access to Inetpub subdirectories"
- Next in thread: Stew: "Re: Allowing access to Inetpub subdirectories"
- Reply: Stew: "Re: Allowing access to Inetpub subdirectories"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 13 May 2003 19:39:10 GMT
On Tue, 13 May 2003 10:02:03 -0700, "Stew" <smeyers@snet.net> wrote:
>I have a web site that allows users to upload images. I
>want to place the images in an 'images' subdirectory of
>the Web site directory (i.e.
>c:\Inetpub\wwwroot\MyWebSite\images). I am using an HTML
>File Field to upload the image and am using ASP.NET.
>When I try to write the image to the directory, I get the
>message 'Access to the
>path "c:\Inetpub\wwwroot\MyWebSite\images\1.jpg" is
>denied.". How do I give security privalages to allow
>create/write access to that directory? I tried setting
>the 'Write' property of the directory in IIS, but that
>did not solve the problem. I even tried creating a Web
>Share, but that did not work either. By the way, it
>works fine if I use a directory not within 'Inetpub'.
Did you set the proper NTFS permissions on the folder itself? ie:
Modify for the IUSR account?
Of course, you also may open yourself to hosting WaReZ by simply doing
it this way.
Jeff
- Next message: Per Hagstrom: "Re: Prevent IIS to show the Content-Location + internal IP ?!"
- Previous message: Jon Scace: "Error with .wsc obj"
- In reply to: Stew: "Allowing access to Inetpub subdirectories"
- Next in thread: Stew: "Re: Allowing access to Inetpub subdirectories"
- Reply: Stew: "Re: Allowing access to Inetpub subdirectories"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|