exe on server

  • Thread starter Thread starter Frank
  • Start date Start date
F

Frank

hi

I have an exe on a server, how can I configure this to
access certain files/resources on client machines which
connect to the server using Code Access Security in an
intranet.

I will be knowing the machines /users who will be
needing this

thanks
 
Frank,

Code access security isn't going to help you in this situation.
Basically, it is a matter of the user that the service process running under
having access to the machines that the clients are connecting to. If that
user has the rights to access the machines, then it's possible (either
because the service is running as an administrator, or the clients have
shared the appropriate resources).

Hope this helps.
 
The EXE is sitting on a fileshare, and running on the client, or the EXE is
running on the server... which one?

If the EXE is running on a fileshare, it is running Partially Trusted. You
will need to use the attribute AllowPartiallyTrustedCallers on the class
that calls any .NET calls that access the client resources.

Hope this helps,
--- Nick
 
Back
Top