Re: How do I share .net applications from a network location

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



If you strong name them you can give the permissions based on the publisher
rather than the application itself.

"Chris" <anonymous@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:01fe01c5561b$bdfac080$a601280a@xxxxxxxxxx
> Hi,
>
> I receive an error when I try to run an EXE (and linked
> DLL's) from a shared network location.
>
> The error is:
> "The application attempted to perform an operation not
> allowed by the security policy. The operation requried the
> SecurityException. To grant this application the required
> permission please contact your system administrator, or use
> the Microsoft .NET security policy administration tool."
>
> "Request for the permission of type
> System.Data.SqlClient.SqlClientPermission"
>
> I can use the .net security wizard to update the trust
> level for the assemblies, and that works. BUT I often
> update the application, maybe once a week, which means I'd
> need to update the trust level every time on all client
> machines.
>
> How can I give full access to my applications to run from a
> shared network folder?
>
> Thanks,
> Chris


.



Relevant Pages

  • Re: [TOMOYO 15/15] LSM expansion for TOMOYO Linux.
    ... This approach doesn't mess up user-supplied buffer. ... a file descriptor said "read ready" but readgets an error ... if security policy or security-id of the file has changed ... I think checking permission at dequeue time ) ...
    (Linux-Kernel)
  • Re: please help with file access and security issues
    ... If that is not the case try resetting the security policy ... > this application the required permission please contact your system ... So I sent him a little app to try and ... > Naturally the message box showed the second message about trying ...
    (microsoft.public.dotnet.security)
  • Re: How can I change the applications trust level in the configuration file.
    ... >> How can I change the application's trust level in the ... >> not allowed by the security policy. ... >> application the required permission please contact your ... >> level in the configuration file. ...
    (microsoft.public.cert.exam.mcsd)
  • Re: Custom Principal Permission (non-CodeAccessPermission derived) not working
    ... What do you mean with declarative permission is ignored? ... your permission to the security policy, it's likely that your assembly won't ... > I didn't add the assembly to the Security Policy as MSDN states that it is ... but declarative permission is ignored. ...
    (microsoft.public.dotnet.security)
  • Re: Adding permissions to predefined permission sets
    ... The information concerning an inability to modify the predefined permission ... could modify security policy directly by changing those files and was ... > need to copy the permission set, modify it, then change the permission set ...
    (microsoft.public.dotnet.security)