R
Robin Tucker
Hi,
I recently wrote a really simple key generator for our software. It is
designed so that it is only capable of being run from a given server, by
checking an encrypted MAC address and other noddy stuff. When I run the
software by double clicking it in the server folder, I get security
exception for WMI and File I/O, however when I copy the .exe to my desktop
and run it from there, I don't get any security exceptions.
Does the .NET framework pick up security policy from the .EXE location, or
from the local machine, or both? I would have thought, as the .EXE is
running on the local machine even though it is located on the server, that
the local machine policy would be the only thing useful for the .NET
runtime.
Thanks
Robin
I recently wrote a really simple key generator for our software. It is
designed so that it is only capable of being run from a given server, by
checking an encrypted MAC address and other noddy stuff. When I run the
software by double clicking it in the server folder, I get security
exception for WMI and File I/O, however when I copy the .exe to my desktop
and run it from there, I don't get any security exceptions.
Does the .NET framework pick up security policy from the .EXE location, or
from the local machine, or both? I would have thought, as the .EXE is
running on the local machine even though it is located on the server, that
the local machine policy would be the only thing useful for the .NET
runtime.
Thanks
Robin