security issues regarding the "ManagementObjectSearcher" object

W

wh1974

Hi,

I have a question regarding the use of the ManagementObjectSearcher object
which I plan to use in an asp.net page to retrieve a list of users on a
Win2K server.

I have some code working on my development machine but as I'm logged in
using an account that is a member of the Administrators group on my
development machine (and am using Windows authentication to access the
asp.net pages), I don't know whether it's going to work when deployed to a
production server on our intranet.

The document for the ManagementObjectSearcher class states that 'Full trust
for the immediate caller' is required. I'm pretty sure that the asp.net
pages are running under a 'full trust' level. If so, then is this
sufficient?

Thanks,
Wayne.
 

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

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,023
Latest member
websitedesig25

Latest Threads

Top