No, there isn't. Programs themselves have no identity, and therefore,
can't have permissions that are granted to them. The program runs under the
user's identity, and what they can do, the program can do.
.NET security will apply a reduction in permissions depending on other
factors, but the reverse can not be applied. You can not have an elevation
of privledges.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
<Sh**********@gmail.comwrote in message
news:11*********************@n76g2000hsh.googlegro ups.com...
So I recently developed an C# application to be ran by quite a few
people from a shared drive. The application is stored in say:
"ROOT". The program accesses files within say "ROOT\BIN". Is there a
way to allow the program access to this folder, but prevent users from
being abel to access it and view the files directly?
Thanks a lot!!