Announcement

Collapse
No announcement yet.

process-permissions

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • process-permissions

    A process inherits the permissions from the parent process.
    A process can with CreateProcessWithLogon() be started with other rights.
    Can the rights of the current process also be changed?
    Last edited by Bernhard Fomm; 21 Oct 2009, 08:25 AM.

  • #2
    I don't believe you can change the existing permissions, at least I can't find a function to do that. However, the doc says you should be able to use DuplicateHandle() on an access token if you need a handle with specific permissions.

    This sounds like a great way to get around security, so I would not be totally surprised if it is NOT allowed, but you can try it.
    Michael Mattias
    Tal Systems (retired)
    Port Washington WI USA
    [email protected]
    http://www.talsystems.com

    Comment

    Working...
    X