Is there a way to restrict who has the ability to run your .exe through code? I'd like to add code to an app so only system administrators can run the .exe. I know that I could do it easily on NT/Win2k by changing the security settings on the program directory or the individual files, but if the app is going to be installed on 400 machines that would take a lot of extra work. And I'm not sure what to do about win95/98 since I don't recall those OS's handling permissions quite the same.

Is there any solution?


Thanks