Can you make a C# program which can not access to any local file system other than the folder it is installed?
<p>Let me ask whether you can make a C# program which can not access to any local file system other than the folder/sub folders it is installed? And how if the answer is yes.
For details if it is necessary and possible, users are supposed to accept the program runs under a special user account which is restricted the file access only to the folder  it is installed and to sub folders.</p>

<p>Thank you very much in advance.</p>

<p>Edit : Let me add context. I want users do not change their accounts. And as a programmer I do not have complete control over the program for some reasons.</p>
