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
1
vote
1 answer

How to set the trust level for processor ID in .net window application?

I developing window application in C#. I created one installer with this windows application. It is running fine on nearly all computers. The window application takes the ID of processor & then based on that ID generates one unique key. On one…
Shailesh Jaiswal
  • 3,606
  • 13
  • 73
  • 124
1
vote
1 answer

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…
EightyOne Unite
  • 11,665
  • 14
  • 79
  • 105
1
vote
1 answer

Full Trust and Medium Trust Problems

My usual web site hosting provider changed its policy to allow only Medium Trust for hosted applications. I used to use Visual Studio 2010. But developed a new application using Visual Studio 2015. Got a security error. Just for testing tired to…
1
vote
2 answers

Can Silverlight (SLOOB) start a process even with full trust?

I have been tasked with writing an installer with a silverlight out of browser application. I need to. get the version off a local EXE check a web service to see that it is the most recent version download a zip if not unpack the zip overwrite the…
Jamey McElveen
  • 18,135
  • 25
  • 89
  • 129
1
vote
0 answers

Changing from Full Trust to Medium Trust

I have an ASP.NET website which run under .NET3.5 full trust for years. Now I am moving it to another hosting provider. I changed the project to .NET 4.0 and the provider is using medium trust. This results in a load of security exceptions. How can…
Martin Mulder
  • 12,642
  • 3
  • 25
  • 54
1
vote
1 answer

codesigning xbap with a trusted issuer on multiple domains

Until recently I've been making my own certificates for publishing xbap(ye ye I known, stuck in the world of LOB ;) ) applications on a wide range of servers and domains. I now need to change to using certificates from a trusted CA. Back in the day…
Stígandr
  • 2,874
  • 21
  • 36
1
vote
1 answer

XBAP full trust deployment

I did the following steps to deploy my wpf application that need full trust permission: 1-Creating a certificate using makecert.exe 2-Creating signed application and deployment manifests. 3-Building a website in IIS to host files (include…
mehran
  • 1,314
  • 4
  • 19
  • 33
1
vote
1 answer

Check for full trust

How do I check if my code is running in full trust mode? I have seen several suggestions to check for specific permissions using SecurityManager.IsGranted() method, but I specifically want to check for full trust because no specific permission in…
Tomasz Grobelny
  • 2,666
  • 3
  • 33
  • 43
1
vote
1 answer

Can Windows installer msi make the user full trust

our applicaton is installing with windows installer. The things working fine but the application itself is full trusted and not allowing to run on the employee's computer with less level (not full trusted). My question is that, is there any way to…
Adnan
  • 11
  • 1
1
vote
1 answer

IE9 XAML Security - Does a Full-Trust Certificate suffice?

Recently the IE developers (in their infinte wisdom) enhanced the way IE9 security works when it downloads an XAML browser file - which I need to do as I have a Winforms application hosted 'within' an XBAP IE9 now requires me (as a user) to go onto…
1
vote
1 answer

Visual studio security problems when running projects - Trust levels

I had been working fine on my previous machine, but i bought a new one and I installed everything I needed there (Win 7 x64 Enterprise, VS 2010 Proffesional SP1) and I downloaded several projects from my CVSNT repository. Now, in the new PC, I'm…
DkAngelito
  • 1,147
  • 1
  • 13
  • 30
1
vote
2 answers

System.Security.Permissions.FileIOPermission exception even though trust level is full

I am trying to upload some pics to server. But when I try to upload, it throws this error: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=4.0.0.0,…
cagin
  • 5,772
  • 14
  • 74
  • 130
1
vote
1 answer

How to fully trust a non-signed assembly?

I've got an assembly, which works just fine on my own pc, but when I try to reference it on a virtual machine, I'm getting following error: System.IO.FileNotFoundException: Could not load file or assembly 'X.dll' or one of its ependencies. The…
Arsen Zahray
  • 24,367
  • 48
  • 131
  • 224
1
vote
0 answers

Local assembly not full trust

How can I find out why a local assembly is not running with full trust? The problem originated with WCF and proxy see this question but seems to be a CAS problem. I have local assembly (i.e. C:\Whatever\xxx.exe) where I got an…
adrianm
  • 14,468
  • 5
  • 55
  • 102
0
votes
1 answer

XBAP - Can I grant full trust only for specific methods?

I'm considering using XBAP for an intranet application and I'd like to avoid setting the entire application to Full Trust. Essentially, I have a few method calls that I'll need to make that will require Full Trust (e.g. DriveInfo.GetDrives), but I…