Home All Groups Group Topic Archive Search About

Querying the local machine security policy

Author
19 Feb 2006 5:14 PM
Michael
Is there any way for a program when loaded to query the local machine zone
to determine what the security policy settings are  and what permissions are
available.

The program I have written requires access to almost all permissions
requiring the full trust in the my computer zone.  If the local machine
security level has been set otherwise then I would have to error trap
virtually every call to the registry, file IO and environment.  There has to
be an easier way although I just can't seem to find it in the help info.

Any ideas would be appreciated.

Mike

Author
19 Feb 2006 7:41 PM
vbnetdev
http://www.kjmsolutions.com/downloads/lsa.zip

I hope this gets you started. Needs some work yet.

--
Get a powerful web, database, application, and email hosting with KJM
Solutions
http://www.kjmsolutions.com



Show quoteHide quote
"Michael" <mconnol***@houston.rr.com> wrote in message
news:OH1Kf.11312$Ob5.4359@tornado.texas.rr.com...
> Is there any way for a program when loaded to query the local machine zone
> to determine what the security policy settings are  and what permissions
> are available.
>
> The program I have written requires access to almost all permissions
> requiring the full trust in the my computer zone.  If the local machine
> security level has been set otherwise then I would have to error trap
> virtually every call to the registry, file IO and environment.  There has
> to be an easier way although I just can't seem to find it in the help
> info.
>
> Any ideas would be appreciated.
>
> Mike
>