Help This Is Killing Me: Access to the path is denied

M

moondaddy

This has worked before but not now for this project. I'm using vb.net and
web services to talk to IIS and read and write to files (image files). I've
gone in to the IIS MC and assigned write access to the folder. The I went
into window explorer/props/security on this folder and assigned every type
of user I could think of and given them read/write access. These users
included me, IUSR, NETWORK, Machine\Users, etc...

What can I do to allow write access to files in this folder?
 
M

moondaddy

I found it, but it doesnt seem right. I assigned read/write access to the
user account MACHINE\ASPNET, but I had to assign full control to it and not
just read/write.
 
S

Steven Cheng[MSFT]

Hi Moondaddy,

Yes, by default(if we don't use impersonate,) the asp.net application will
run under the workerprocess acount which can be set in the machine.config's
<processModel> element. By default, the workerprocess account is
Machine\aspnet or NetworkService(in IIS6 on W2K3 Server).
So we need to grant proper permissions for them when encountered some
general secuirty issues. Here is a certain kb article discussing on the
asp.net security overview:

#INFO: ASP.NET Security Overview
http://support.microsoft.com/?id=306590

Hope also helps. Thanks.


Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
 
S

Steven Cheng[MSFT]

Hi Moondaddy,

Have you had a chance to check out the suggestions in my last reply or have
you got any further ideas on this issue? If you have anything unclear or if
there're anything else we can help, please feel free to post here. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top