Welcome to MSDN Blogs Sign in | Join | Help

July 2004 - Posts

Tin Foil Hat Tool

Based on some of Nicole's feedback , I decided to write a basic app that checked your .NET security settings for you -- kind of like a very basic version of the Windows XP SP2 "Security Centre" tool which pops up and annoys you if you don't have the firewall
Posted by ptorr | 2 Comments
Filed under: ,

What good is StrongNameIdentityPermission if you can disable it?

Nicole asks a good question -- why do we have things like StrongNameIdentityPermission in the CLR if people can just go ahead and disable the security system altogether? There are a couple of answers here. The first one -- purely logistical -- is that
Posted by ptorr | 0 Comments
Filed under:

RequestRefuse and RequestOptional example

Dave asks for an example of how to use RequestRefuse and RequestOtional . Here's my attempt to post a short blog entry that describes it (luckily I had the code already at hand... ;-) ). The code consists of two libraries ("Optional" and "Refuse") and
Posted by ptorr | 0 Comments
Filed under: ,

Everett SP1 Tech Preview and VSA / VSTO

Updated information about VSTO below As you may know, the .NET Framework 1.1 ("Everett") Service Pack 1 Tech Preview is available for download . You should try to install this on your non-production machines and test to make sure your existing applications
Posted by ptorr | 3 Comments
Filed under: ,

When is the Local Intranet not the Local Intranet?

When it's in another zone, of course. One of the recommendations we give for setting policy on VSTO projects is to sign your assembly (either with an Authenticode certificate or a strongname) and then trust that key only for a specific computer (eg, your
Posted by ptorr | 5 Comments
Filed under: ,

A useful regfile for VSTO

Here's a quick post with a regfile you can use to help you test your VSTO projects. Cut and paste the text below into a text file (be careful of line wrapping) and save it with a reg extension. Then open up regedit (as a member of the Administrators group)
Posted by ptorr | 8 Comments
Filed under: , ,

RequestOptional and RequestRefuse

The other day Eric Wilson asked how to ensure his code never ran with FullTrust. I replied that the "best" way was to refuse permissions you didn't want, and then Nicole Calinoiu replied that maybe requesting optional permissions was better. Nicole is
Posted by ptorr | 9 Comments
Filed under:
 
Page view tracker