473,505 Members | 13,696 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Controlling windows service

We have created a windows service which works fine, and commands are sent to
it via an ASP.NET web application using the ServiceController class and the
ExecuteCommand method.

The problem is that the users log into the web application using integrated
windows authentication, so not all of the users have permission to send
commands to the service.

Is it possible to change the permissions within the service code that allows
all users (or a specified set users) to call ExecuteCommand ?

I've looked at the ServiceControllerPermission class but I don't fully
understand this and I'm not sure it will do what we want.
Thanks,

Neil Stephens,
Foresite Systems.
Nov 21 '05 #1
0 829

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

Similar topics

0
1893
by: Bart Simpson | last post by:
Hi, I would like to create/delete ftp accounts of windows IIS, and to control MS Media Service under windows 2003 by Python program. A few days ago, I found there is iisftp.vbs vb-script that...
2
1507
by: Skip Montanaro | last post by:
I updated the patch that supports PEP 304, "Controlling Generation of Bytecode Files" to apply cleanly against current CVS. I've tested it on Mac OS X (straight Unix build only). I'd appreciate...
1
1488
by: Seda Ozulku | last post by:
I don't have much information about .Net. May be it must be a silly question. I have Windows Application running at the server. I need to Access the program functions ( like at given time...
3
610
by: Jan Waga | last post by:
Hello, Is there some way to control SCM timeout while starting or stopping a C# windows service? I know I can work on a different thread and quickly return from OnStart(), but I'd like my...
0
973
by: Bob Weiner | last post by:
Hi, I'm looking at creating an account management system for our Windows AD and have a generic OO design question. I have a user class (user.cs) which will serve two purposes. First, it will...
2
1331
by: OpticTygre | last post by:
Imagine this scenario: I have 3 servers: A, B, and C. These servers are in remote locations across the country not easily accessible. On each of these servers, I have a windows service...
2
1207
by: VBTricks.de.vu Webmaster | last post by:
Hello, I'm trying to speed up windows start a bit. Therefore I want to start some services at a later point of time and some only if I run the application which needs the services. The first...
1
1527
by: Jawad Rehman | last post by:
I have Stand alone program .It may be service/demon. I insert another program to this demon as Thread. How it is possible to controll From the Main Program(Demon) the events of Instance which i...
6
2382
by: Eric_Dexter | last post by:
I am having trouble contolling vim with subprocess on a windows machine. It appears that vim comes up on the machine all right and it sometimes looks like it is doing the searchs what I am asking...
0
7298
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7366
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
7471
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
5610
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,...
1
5026
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4698
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
3187
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1526
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 ...
0
406
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.