Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. windows service account query

windows service account query

Scheduled Pinned Locked Moved C / C++ / MFC
databasequestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    ku19832001
    wrote on last edited by
    #1

    Hi all, I have developed a windows service which runs executable files received from some remote machine. Now i dont want to give my service all the rights so i decided to run the service in "NT AUTHORITY\\LocalService" Account... but when i do that i am unable to create any files or destroy any files in the system Now i want mmy service to have capability of creating new files but it shud not be able to destroy any pre-exisiting files....also if possible i want to restrict this file creation to only one particulat folder....meaning for e.g if i have a folder called p2p then any excutable ran frm my service shud be able to create files in that folder only and not in any other folder like program files etc. How do i achieve the above thing thanks kunal

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups