Groups | Blog | Home
all groups > asp.net security > june 2006 >

asp.net security : Web service security issues after recovery


Dmitry Duginov
6/6/2006 2:32:12 PM
After hard drive died on my machine, I had to phisically replace it and
restore full system from backup. I was lucky enough and nothing was lost.
But after the recovery I noticed checkdisk was doing the follwing:

Replacing invalid security id with default security id for file 4171
Replacing invalid security id with default security id for file 4172
Replacing invalid security id with default security id for file 4173

Now I'm getting security problems with my ASP.NET applications:

HTTP 401.3 - Access denied by ACL on resource
Internet Information Services

Any ideas how to fix it?


--
Regards,
Dmitry Duginov
Tom Kaminski [MVP]
6/6/2006 2:52:51 PM
[quoted text, click to view]

What are the NTFS permissions on that content?

--
Tom Kaminski IIS MVP
http://www.microsoft.com/windowsserver2003/community/centers/iis/
http://mvp.support.microsoft.com/
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS

Dmitry Duginov
6/6/2006 3:24:07 PM

[quoted text, click to view]

Looking on folder properties, "Security" tab, ASPNET user has full access


--
Regards,
Dmitry Duginov
Tom Kaminski [MVP]
6/6/2006 5:25:07 PM
[quoted text, click to view]

That's it? If so that's not nearly enough.
http://support.microsoft.com/kb/812614/

--
Tom Kaminski IIS MVP
http://www.microsoft.com/windowsserver2003/community/centers/iis/
http://mvp.support.microsoft.com/
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS

Dmitry Duginov
6/6/2006 5:33:30 PM

[quoted text, click to view]

That looks like the document I was looking for. Thanks, I'll give it a try.


--
Regards,
Dmitry Duginov
stcheng NO[at]SPAM online.microsoft.com
6/7/2006 12:00:00 AM
Hello Dmitry,

In addition to Tom's suggestion on checking the default permission set for
IIS. Here is some articles describing the permission required for ASP.NET
application's worker process idenitity. Not sure whether you're developing
upon ASP.NET 1.1 or 2.0, so I involve both of them here:

#How To: Create a Custom Account to Run ASP.NET 1.1
http://msdn.microsoft.com/library/en-us/dnnetsec/html/SecNetht01.asp?frame=t
rue

#How To: Create a Service Account for an ASP.NET 2.0 Application
http://msdn.microsoft.com/library/en-us/dnpag2/html/paght000009.asp?frame=tr
ue

Hope this also helps.

Regards,

Steven Cheng
Microsoft Online Community Support


==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.



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







stcheng NO[at]SPAM online.microsoft.com
6/8/2006 12:24:44 PM
Hi Dmitry,

How are you doing on this issue, does the further reference I provided also
helps a little? If there is anything else we can help, please feel free to
post here.

Regards,

Steven Cheng
Microsoft Online Community Support


==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.



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