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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Is it possible???

Is it possible???

Scheduled Pinned Locked Moved C#
csharpjsonhelpquestion
2 Posts 2 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.
  • S Offline
    S Offline
    students552 university
    wrote on last edited by
    #1

    hi Is it possible to write a program that allows us to cotrol users ability to run applications on the computer and determine which programs the user can run and prevent the user from being able to access the rest of te programs. If that's possible, what are the functions that I can use within C# that'll allow me do do this. Your help is greatly appreciated.

    H 1 Reply Last reply
    0
    • S students552 university

      hi Is it possible to write a program that allows us to cotrol users ability to run applications on the computer and determine which programs the user can run and prevent the user from being able to access the rest of te programs. If that's possible, what are the functions that I can use within C# that'll allow me do do this. Your help is greatly appreciated.

      H Offline
      H Offline
      Heath Stewart
      wrote on last edited by
      #2

      That's an IT issue, not really a programming issue. IT Administrators need to use ACLs (Access Control Lists) in Windows NT (on which Win2K, XP, and 2K3 are based, including all newer Windows to be released like "Longhorn") to allow or disallow users or - better yet - groups to run certain applications by removing the Read and Execute permissions (more specifically the Execute permission). To do that is a programming topic that can be solved in numerous ways, from using Process.Start on the cacls.exe console application to using System.DirectoryServices classes with the "WinNT://" scheme, which you can read more about at http://msdn.microsoft.com/library/en-us/adsi/adsi/winnt_adspath.asp[^]. Short of that there's no easy - nor recommended way - of doing what you want. This posting is provided "AS IS" with no warranties, and confers no rights. Software Design Engineer Developer Division Sustained Engineering Microsoft [My Articles] [My Blog]

      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