Abdul Ali
Abdul Ali

Reputation: 1

My assembly has been granted the FullTrust permission set, and I'm running it on the Internet zone

I want to know what permissions are granted for my assembly when I run it directly from the c:\ drive, and when I run it from the default C$ share.

I understand that the assembly will be granted the FullTrust permission set by default if it runs from the local file system.

Problem is, the assembly has been granted the FullTrust pemission set, and I'm running it on the Internet zone. How did that happened?

The assembly is located in the default c$ share. So, to run it, I typed the following command into the Command prompt: \\127.0.0.1\C$\Assembly.exe.

I was expecting that the assembly would be denied the Registery, the FileIO, and the EventLog permissions; but they're all granted for my assembly.

Upvotes: 0

Views: 302

Answers (1)

aleroot
aleroot

Reputation: 72676

What version of the framework are you using ?

Applications running from a network share on .NET 3.5 SP1 and later, will receive a grant set of FullTrust by default.

Upvotes: 1

Related Questions