How to determine required privileges?



When writing applications, how can I determine the minimum required
privileges necessary for an operation to run?
For instance, say my application needs rights to write/read to the registry,
or I want to block some ports - how do I go about finding out what the
minimum privileges required are? Is there a documentation somewhere that
says "function X requires privilege leve Y"?

Thanks!


.



Relevant Pages

  • Re: How to determine required privileges?
    ... S> privileges necessary for an operation to run? ... say my application needs rights to write/read to the ... Is there a documentation ... the design from the start, not tacked on to the end. ...
    (microsoft.public.dotnet.security)
  • Re: How to determine required privileges?
    ... what version of the .NET framework are you targeting? ... privileges necessary for an operation to run? ... say my application needs rights to write/read to the ...
    (microsoft.public.dotnet.security)

Quantcast