Jump to content

Limiting an application's directory access...


Recommended Posts

Guest Ray Mitchell
Posted

Hello,

 

I teach a C/C++ programming course and students submit their source code to

me by email. I currently have an automated program that compiles their files

into an executable, checks their files with PC-lint, then does a bunch of

style checking on them. I would like to be able to also run the executables

but I'm somewhat afraid to lest they inadvertently (or intentionally) do

something like system("DEL /S C:\\ . ").

 

I'm not much of a Windows system type but I understand that there is a way

to run an application with limited privileges or maybe to run it as another

user with limited privileges. The executables do need to be able to create

and delete files but I need to limit this to a specific set of directories

rather than the entire computer. I know how to setup multiple users manually

but I've always had to simply switch between them from the Start button.

Obviously I don't know what I'm talking about here so any information would

be appreciated, the more specific the better.

 

Thanks,

Ray Mitchell

  • Replies 0
  • Created
  • Last Reply

Popular Days

Popular Days

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...