473,490 Members | 2,488 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

security issues regarding the "ManagementObjectSearcher" object

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.
Nov 18 '05 #1
0 992

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1243
by: wh1974 | last post by:
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...
0
2137
by: Winterminute | last post by:
I am trying to read a list of install programs using WMI with ASP.NET/C#. However, it fails with "Invalid Class". I have confirmed that if I query LOCALHOST then it works fine, but if I query a...
7
1498
by: scorpion53061 | last post by:
I get the following error with the class below it when installing on a NT/98/Me machine. Any suggestions would be helpful. Kind of in a bind. Suspect the issue revolves ...
0
934
by: Mark Hollander | last post by:
Hi, The following code works on my machine but when I try to run it on any other machine I get the error message at the end of this post. Can anyone please help me, I am slowly losing my Mind ;)...
0
958
by: groups.pete | last post by:
Hello, I have an ASP.NET application which is querying the status of a Win32 service using WMI via ManagementObjectSearcher object. The query is "select state from win32_service where...
0
2872
by: mafandon | last post by:
Hello all... My application uses custom reports from Microsoft's report viewer and not Crystal Reports. My understanding is there is no way to make the printdialog select a different printer...
6
10054
by: =?Utf-8?B?UHVjY2E=?= | last post by:
Hi, I'm using vs2005 and .net 2.0. I currently prcoess each Security Log entry one by one to extract those that fit the selection criteria. Is there a function that I can use to query the entries...
3
6071
by: cmsimmers | last post by:
I'm trying to display the available space on a disk drive. This could be tricky if the user choose a drive on which they are limited to a quota. The "FreeSpace" property returns the total number...
1
5867
by: William Cruz | last post by:
Can anyone help me with this piece of code. - I keep on getting the error message "The object exporter specified was not found" If i change it to run on my local machine it works fine, the...
4
2315
by: Rasarx | last post by:
Being new to VB, I'm trying to understand what a construct like means and how to use it. I thought anything with brackets is an escaped variable to allow using keywords like boolean, as in . But I...
0
6967
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7181
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7352
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5445
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4565
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3071
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1383
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
618
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
272
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.