ASPNET permissions

Z

Z D

Hello,

I was wondering what permissions I have to give the ASPNET account in order
for it to be able to start/stop/modify/etc specific services on a machine
using the System.ServiceProcess.ServiceController class?

I can only seem to get it working when I make the ASPNET account part of the
admin group.

ZD
 
A

Alvin Bruney [MVP]

Your post went unanswered. Have you resolved this issue? If you still need
help, please post the original question with your request.
 
Z

Z D

Thanks Alvin, I will try posting it again.

-ZD

Alvin Bruney said:
Your post went unanswered. Have you resolved this issue? If you still need
help, please post the original question with your request.

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
Z D said:
Hello,

I was wondering what permissions I have to give the ASPNET account in order
for it to be able to start/stop/modify/etc specific services on a machine
using the System.ServiceProcess.ServiceController class?

I can only seem to get it working when I make the ASPNET account part of the
admin group.

ZD
 
A

Alvin Bruney [MVP]

the best thing to do would be to impersonate to the admin account. have a
look at impersonation

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
Z D said:
Thanks Alvin, I will try posting it again.

-ZD

Alvin Bruney said:
Your post went unanswered. Have you resolved this issue? If you still need
help, please post the original question with your request.

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
Z D said:
Hello,

I was wondering what permissions I have to give the ASPNET account in order
for it to be able to start/stop/modify/etc specific services on a machine
using the System.ServiceProcess.ServiceController class?

I can only seem to get it working when I make the ASPNET account part
of
the
admin group.

ZD
 
Z

Z D

Alvin,

I considered that option but the secruity implications scare me.
I dont want the aspnet account to be able to run as admin.

I'm sure there must be a way to only grant that type of access... I'll keep
digging...

ZD
Alvin Bruney said:
the best thing to do would be to impersonate to the admin account. have a
look at impersonation

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
Z D said:
Thanks Alvin, I will try posting it again.

-ZD

Alvin Bruney said:
Your post went unanswered. Have you resolved this issue? If you still need
help, please post the original question with your request.

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
Hello,

I was wondering what permissions I have to give the ASPNET account in
order
for it to be able to start/stop/modify/etc specific services on a machine
using the System.ServiceProcess.ServiceController class?

I can only seem to get it working when I make the ASPNET account
part
 

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

Top