Questions tagged [full-trust]

Full trust is a trust level in ASP.NET. It authorize a code to do anything that the account running it can do.

Trust level refers to permissions set in the Web.config file that dictate what operations can and cannot be performed by Web applications.

With the full trust level, a code can do anything that the account running it can do.

93 questions
2
votes
1 answer

WebPermission Exception even though I'm in Full trust

I'm trying to do what I thought was a simple HttpWebRequest (the code is deep inside a dll so I can't give a small code snippet, but it should be relatively simple), but I'm getting a security exception: System.Security.SecurityException: Request…
Paul
  • 9,409
  • 13
  • 64
  • 113
2
votes
2 answers

.NET 4.0 Medium Trust Level and MYSQL connection

I have a problem and I think a proper answer will help a lot of people which is having same problem.Because it is a common and not well answered problem. The problem is about "Medium trust level" configuration in IIS.A few months ago I coded my…
2
votes
1 answer

Partial Trust in WPF 4

I've started a new project in WPF 4 (.NET 4) and trying to see if I can run it in xbap mode. I need to run the application in Full Trust with the new mode made available in .NET 4 which asks the end user if the full trust application should be run.…
Hadi Eskandari
  • 25,575
  • 8
  • 51
  • 65
2
votes
1 answer

WIF 4.5 and partial-trust environments

Is WIF 4.5 supported in a partial-trust environment? I have a WCF service that uses it and when deployed to a medium-trust environment the following error is occurring: An error occurred creating the configuration section handler for…
user1804020
  • 79
  • 1
  • 3
2
votes
1 answer

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…
Jerry
  • 4,507
  • 9
  • 50
  • 79
2
votes
1 answer

Would a Silverlight full trust in-browser application on the Internet work?

I am developing a Silverlight application which needs to run with elevated trust, because of what it does and how it works. I have duly obtained a Certificate from COMODO and signed the application with this certificate. Next, in Visual Web…
2
votes
0 answers

Error starting Click-Once app. Application cannot be started. Contact the vendor

We are having a weird problem with on of our customer's clickonce installation. This is a full trust winforms application. Our application installs correctly on the Windows 7 computer and the user can use it. After a day or a few hours of use, the…
Manish
  • 53
  • 4
2
votes
2 answers

Enabling In-browser elevated trust

I'm trying to get in-browser elevated trust to work and having an issue. I've: Purchased a certificate Signed the xap with that certificate Added AllowElevatedTrustAppsInBrowser=1 in the registry Yet the app still doesn't think it is running in…
ConsultUtah
  • 6,639
  • 3
  • 32
  • 51
1
vote
1 answer

How to prevent the console window from opening when fire FullTrustProcessLauncher.LaunchFullTrustProcessForCurrentAppAsync

FullTrustProcessLauncher.LaunchFullTrustProcessForCurrentAppAsync always opening console window, it is possible to prevent this?
Pete
  • 61
  • 5
1
vote
0 answers

How to Terminate .exe file in uwp app using fulltrustlauncher?

Referring to this: How to launch .exe file in uwp app using fulltrustlauncher? How can i terminate the .exe file after starting it???
1
vote
0 answers

How can I change my app's Package.appxmanifest file to deny requiring RunFullTrust mode?

I don't know why the MS Store is claiming that my app is demanding RunFullTrust mode. When I try to prepare my app for submission to the Microsoft Store, it tells me: I don't believe my app needs to run full trust, but I see nothing in…
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
1
vote
2 answers

Run another program with C# UWP

I wrote a .Net Core app and an C# UWP app, which uses FullTrustProcessLauncher to run the first app. When I use xcopy for the executable of the first app in Postbuild of the UWP app, the executable is added to Appx directory and can be executed from…
Wolfgang Wieser
  • 111
  • 1
  • 9
1
vote
1 answer

System.Diagnostics will allow user kill their own process in IIS7

Hosted customers in IIS7 can use asp.net and System.Diagnostics to list all the system's process ID. They can also kill the ones that belong to their own application pools. Seems like a big security problems in IIS7 for shared hosting environment.…
Erwin Yu
  • 25
  • 2
1
vote
1 answer

permission issue??? with using System.IO.File.Exists

I have a .net 4 winform application that for one computer the System.IO.File.Exists("my file path") that returns false every time. The file is there. If the user, using file explorer can see, open, save... the file and has complete access to the…
Paul
  • 13
  • 2
1
vote
1 answer

Can I pass parameters specific to an exe while launching it from a UWP app that has full trust capabilities?

In the Package.appmanifest we specify the GroupID and the parameters for launching an executable, for example - mstsc.exe. Can we also pass some parameters like mstsc /v:hostname? I have tried passing it that way but that hasn't worked. Is there a…