Ask a Question related to ASP.NET Security, Design and Development.
-
Jonathan Van Eenwyk #1
Minimum Privileges for Debugging Local ASP.NET
Hi all!
I'm trying to debug ASP.NET applications on my local computer, but with
minimum privileges? I've added my limited user to the Debugger Users group.
What else is needed to get debugging to work? I get the error message:
Unable to start debugging on the web server. Access is denied. Debugging
works fine (from what I can tell) when using an administrator account.
Thank you in advance for any insight!
Jonathan
Jonathan Van Eenwyk Guest
-
Debugging output does not appear when use Debugging IPAddresses
I recently absorbed the task of supporting our CF MX 6.1 server. We have an app that we need to debug - the developer asked us to add her IP... -
#25656 [Opn->Bgs]: Not able to set the minimum value
ID: 25656 Updated by: pollita@php.net Reported By: vijay at mitoken dot com -Status: Open +Status: ... -
#25656 [NEW]: Not able to set the minimum value
From: vijay at mitoken dot com Operating system: windows 2000 Professional PHP version: 4.3.3 PHP Bug Type: *General Issues... -
Minimum version of DB2?
Hello All, What is the minimum version of DB2 that I would need to have a hot spare? I am concerned with ANY down time for the DB and need a way... -
Different types of privileges
How do you distinguish between an admin privilege and an object privilege? Thanks -
David Coe, MCAD #2
RE: Minimum Privileges for Debugging Local ASP.NET
Have you tried starting the application, then attaching to the ASPNET worker process?
The Debugger Users should be enough (SHOULD be...) but try the VS Developers group as well.
"Jonathan Van Eenwyk" wrote:
> Hi all!
>
> I'm trying to debug ASP.NET applications on my local computer, but with
> minimum privileges? I've added my limited user to the Debugger Users group.
> What else is needed to get debugging to work? I get the error message:
> Unable to start debugging on the web server. Access is denied. Debugging
> works fine (from what I can tell) when using an administrator account.
>
> Thank you in advance for any insight!
>
> Jonathan
>
>
>David Coe, MCAD Guest
-
Jonathan Van Eenwyk #3
Re: Minimum Privileges for Debugging Local ASP.NET
Thank you for the quick response!
No, I'm not able to manually attach to the ASPNET worker process. I still
get access denied. But I have found some other things out. If I change the
ASPNET worker process to run as the same user as the one debugging, then it
works. But this requires changing machine.config (it seems). Using
impersonation in web.config doesn't seem to work. But from what I've read
it seems that if I grant the user "Debug Programs" privileges in "Local
Security Policy", then that user should be able to debug programs started by
another user, in this case the worker process running as ASPNET. If that's
the case, then I should be able to allow the worker process to continue to
run under the account ASPNET, instead of the local user, while the local
user will be able to debug the worker process because it has that privilege.
But this doesn't seem to work. I'd prefer to be able to grant this
privilege as opposed to editing machine.config, since the password would
then be sitting there in plain text.
This website referred to the idea of changing machine.config to get
debugging to work:
[url]http://www.derkeiler.com/Mailing-Lists/securityfocus/focus-ms/2004-07/0004.html[/url]
This one talks about granting "Debug Programs" privileges:
[url]http://www.bluevisionsoftware.com/WebSite/TipsAndTricksDetails.aspx?Name=AspNetDebugging[/url]
Thank you again!
Jonathan
<David Coe>; "MCAD" <DavidCoeMCAD@discussions.microsoft.com> wrote in
message news:02EF44E2-D1A3-4149-9D01-817ADFF7FC54@microsoft.com...worker process?> Have you tried starting the application, then attaching to the ASPNETDevelopers group as well.>
> The Debugger Users should be enough (SHOULD be...) but try the VSgroup.>
> "Jonathan Van Eenwyk" wrote:
>> > Hi all!
> >
> > I'm trying to debug ASP.NET applications on my local computer, but with
> > minimum privileges? I've added my limited user to the Debugger UsersDebugging> > What else is needed to get debugging to work? I get the error message:
> > Unable to start debugging on the web server. Access is denied.> > works fine (from what I can tell) when using an administrator account.
> >
> > Thank you in advance for any insight!
> >
> > Jonathan
> >
> >
> >
Jonathan Van Eenwyk Guest



Reply With Quote

