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
0
votes
2 answers

Deploy XBAP Application?

We have a WPF Application that has a two flavors with a consistent UI etc,one that runs from a Windows OS Desktop and one that is supposed to run as an XBAP application. Currently I am publishing the XBAP application to my localhost machine IIS…
abmv
  • 7,042
  • 17
  • 62
  • 100
0
votes
1 answer

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…
jlew
  • 10,491
  • 1
  • 35
  • 58
0
votes
1 answer

How does Siverlight 5 with P/Invoke compare to XBAP with FullTrust?

I'm considering XBAP with full trust, but just heard about SL5's ability to P/Invoke. This is quite exciting because XBAP deployments are very difficult considering it only really works with IE, works sometimes with Firefox, and never with…
makerofthings7
  • 60,103
  • 53
  • 215
  • 448
0
votes
0 answers

Problems with AppServiceConnection when a third project is the package's entry point

I have a solution consisting of a Windows Application Packaging Project that groups two other projects: A UWP project, named UwpUI, which is the entry point of the package. It can also be launched by protocol activation. A .NET framework project,…
Eric P.
  • 97
  • 1
  • 7
0
votes
0 answers

UWP/DesktopBridge app - Can't launch fulltrust process

I have a uwp - desktop bridge app (SyncFolder - a folder sync/copy app) in the Windows Store which delegates copying, scanning folders etc. to a win32 process that is launched from the uwp part as a fulltrust process. As follows: public static async…
Jos Huybrighs
  • 73
  • 1
  • 5
0
votes
1 answer

UWP / Desktop-Bridge communication using (Packaged) COM

I'm currently developing a UWP application that now needs access to APIs that are normally not accessible by apps in an AppContainer. As I'm not (yet) able to migrate to WinUI3, I want to try using DesktopBridge to do the otherwise restricted…
0
votes
1 answer

Missing file name and line numbers in stack trace in sandbox AppDomain

I'm running code in a locked-down AppDomain sandbox. Exceptions thrown from within this AppDomain don't include line numbers, even though pdbs are available. The code that tries to access the stack trace is fully trusted: assembly is signed and…
Bouke
  • 11,768
  • 7
  • 68
  • 102
0
votes
0 answers

Bug in .NET Framework (mscorlib) preventing stack trace line numbers (in portable pdbs)?

Update: as pointed out in the comments, the code below refers to portable pdbs. Portable pdbs are not relevant to my situation, but the question might still be interesting to people using sandboxed application domains and portable pdbs. I'm running…
Bouke
  • 11,768
  • 7
  • 68
  • 102
0
votes
1 answer

UWP FullTrustProcessLauncher gives "Element not found" exception on launch

I have a solution in visual studio containing a Windows Application Packaging Project, a UWP project, and a Console Application project. The UWP app contains a single button that when pressed is supposed to launch the console application as a…
jsDorian
  • 28
  • 5
0
votes
5 answers

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…
Oscar Cabrero
  • 4,168
  • 8
  • 29
  • 49
0
votes
1 answer

Can I launch a FullTrust Win32 app from within a UWP app's out-of-process background task?

I needed to read the registry every system login in order to determine whether to launch a notification or not. So I had to create an out-of-process background task with SystemTriggerType.SessionConnected to do this. The background task…
Jer Yango
  • 582
  • 2
  • 8
  • 22
0
votes
2 answers

Accessing HTTPS content from out-of browser Silverlight 4 applications

I am using some of the local machine's resources using COM interop functionality provided in Silverlight 4.0. Hence, naturally I need OOB with elevated permissions. However, in my case I am consuming the WCF services hosted on HTTPS channel. Here is…
0
votes
0 answers

This submission failed with error code(s) 1201- Microsoft Store error

I have developed a UWP app desktop bridge application. Everything seems to work when I build the project. Also, I have uploaded many bundle files to the store which are successfully certified earlier. But, now when I upload a bundle file I get an…
Shakita
  • 99
  • 2
  • 12
0
votes
1 answer

Error when calling two fullTrust apps on the load of the page

I have a UWP app that does the recording and calling functionality. For this I have added two FullTrust Apps using Desktop bridge application. When I call just one fullTrust app everything works perfectly, but when I call two FullTrust apps by…
Shakita
  • 99
  • 2
  • 12
0
votes
1 answer

Problem accessing native executable resources in UWP package in user installation

I have a windows native binary (actually, a small collection of them, but one is the 'controller' for everything else), which I want to be able to put in the Windows Store. The controller needs to run elevated. They're designed to be used with an…
Jules May
  • 753
  • 2
  • 10
  • 18