.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


AS3 Numbers - get real

Skilled developers are hard to come by these days, that includes Flash/AS3/Flex developers. As the product I'm working on is very much dependent on a Flash based frontend, I've been forced to learn & work with AS3 & Flex recently.

Read the complete 5416 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


Using IDisposable to write indented text

I often need to output indented text in one way of the other, it could be HTML, XML, source code etc (please look beyond the actual problem domain - I'd enver write XML this way, it's just an example). Usually that involved me writing tab characters manually (or by calling a function that returned the current indentation string), cluttering the actual output. An example might look like this:

Read the complete 4375 bytes...

Digg it | Kick it | Dzone it | Reddit