fulltrust

How to stop CAS security demands from a FullTrust assembly

I have a FullTrust assembly, Assembly A, which calls a 3rd party component, Assembly B. Is there any way I can, via A.dll.config or in A's code, prevent any CAS demands from propagating up the stack to Assembly B, which does not have FullTrust? I do not want to alter the machine's security policy, if possible. ...

Process Class and .NET security?

I am using the Process class in my application, right at the beginning of the static Main method. I am using the Process class to know if another instance of my application is currently running. If my application is already running, I will exit. i am not looking for a way of change this, this has been working for years But recently thi...

Edit and run .NET projects from network shares

Since I run my stuff in a VM I like to save my data on shares on the host. But then running and debugging (web) applications and tests from within Visual Studio has problems. How can I configure everything to run with FullTrust when it's started in Visual Studio? Or how to just configure full trust for all network drives? I have turne...

Do we need to install Intermediate Code Signing cert for full trust XBAP/ClickOnce app?

We are creating a Full-Trust XBAP application and it needs to be installed/executed remotely outside of the customer's domain. In order to accomplish this we have purchased a Thawte code-signing certificate. We have used the spc and pvk from Thawte to create the pfx file for code-signing in VS 2008 on our XBAP. We import the pvx/cer...

Tool to determine an assembly's trust level in .NET?

Is there a tool to indicate what kind of trust level it has? ...

Security issue with Azure

I need my application to run in FullTrust mode so I added this line to my web/config file: I also modified the .csdef filr to enableNativeCodeExecution. But when I want to run my application (which runs with no problems as a standard Asp.Net web app) I get the following message : "Role isntances did not start within the time allowed. P...

Security issue with FullTrust

I have a .NET2.0 assembly on a network share for everyone to access. I've enabled FullTrust on everyone's machine for LocalIntranetZone. However, on SOME machines (not all... that's the part that's driving me nuts) the app crashes. The error I get is below. I'm completely stumped at this point. Any thoughts would be GREATLY appreciate...

Partial Trust in WPF 4

...

Grant FullTrust in trusted assembly called by partial trust assembly

Hi Stackoverflowers :) imagine the following environment: an XBAP application running in partial trust mode (default behaviour; requiring Full Trust is not an option - but before you ask, if full trust is given to the XBAP, everything works as expected) is referencing a locally installed assembly, which is located in the GAC. To achieve...

Satellite assemblies and FullTrust issues when .NET exe is on the network.

I'm executing my .NET app from a network share. Since framework 3.5 SP1, and as explained here: http://blogs.msdn.com/shawnfa/archive/2008/05/12/fulltrust-on-the-localintranet.aspx, the main exe and all the DLLs located in the same folder (but not subfolders) are granted with FullTrust security policy. My problem is that I have subfold...

Has .Net 4 ClickOnce made full trust XBAPs viable?

Here's my situation. I've just started a new job and I've inherited an application recently which is going to need a rewrite. I know what you're thinking but trust me,...this really IS one of those rare cases where the system I've got is beyond refactoring and almost everything has to go. The current app is a Silverlight 2.0 app with ...