简体   繁体   中英

Restricting process rights

I have a native Windows application which starts another process. Is it possible from the mother process to restrict the rights of the child process? I'm thinking along the lines of a sand box. The exact requirements aren't finished yet, but potentially I would like to restrict:

  • Access to the file system
  • Access to the registry
  • Access to connected hardware (web cams, printers etc.)

I guess I could create a user with certain rights and start the process using that user, but that is not really a good solution in this case, as I might potentially end up with a large number of different processes each with their own set of required access rights. Any ideas?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM