Solving access denied errors using Process Monitor

Access denied errors are not uncommon when deploying new websites / features that interact with the filesystem. While it might work in local testing, it suddenly doesn't anymore when deployed. Using Process Monitor I'll show how to easily debug these issues.

Read the complete 4425 bytes...

Digg it | Kick it | Dzone it | Reddit


Implementing imperative security declaratively using PostSharp

At a recent TechTalk I talked about code access security and how to perform declarative and imperative security demands & requests. There's no doubt declarative security checking is nicer than imperative checking, but not everything can be done declaratively.

Read the complete 11044 bytes...

Digg it | Kick it | Dzone it | Reddit


TechTalk material part 2

I continued my TechTalk on security in the .NET framework today, taking off from where we left last time. As promised, here are the demos and slides (in Danish).

Read the complete 484 bytes...

Digg it | Kick it | Dzone it | Reddit


TechTalk material

I held my TechTalk on CAS security in the .NET framework today. As promised, here are the demos and slides (in Danish). If you're asked for a key password, it's "123456".

Read the complete 322 bytes...

Digg it | Kick it | Dzone it | Reddit


.NET Security TechTalk

I will be hosting two TechTalks on security in .NET, at Microsoft Denmark in August. The TechTalks will be held in DANISH.

Read the complete 651 bytes...

Digg it | Kick it | Dzone it | Reddit


Providing custom assembly evidence

I recently mentioned the possibility of having an assembly provide custom evidence alongside the CLR provided evidence. Let's see how to do it.

Read the complete 4239 bytes...

Digg it | Kick it | Dzone it | Reddit


Analyzing assembly evidence

When the CLR loads an assembly and needs to determine the appropriate permission set to apply, it's based on various evidence. Assembly evidence tells the CLR about the origins of the assembly, the zone it's loaded from and the file hash of the actual assembly file - these are just some of the more common evidence types the CLR uses, there are a lot more that are rarely used. Any object can be a piece of evidence, the CLR will only react on well known evidence types though.

Read the complete 5594 bytes...

Digg it | Kick it | Dzone it | Reddit