Securing a control assembly against use of foreign assemblies
From: Jürgen Bayer (jb42[nospam)
Date: 08/03/05
- Next message: Nicole Calinoiu: "Re: sn.exe exit code documentation ?"
- Previous message: Thibaut: "sn.exe exit code documentation ?"
- Next in thread: Nicole Calinoiu: "Re: Securing a control assembly against use of foreign assemblies"
- Reply: Nicole Calinoiu: "Re: Securing a control assembly against use of foreign assemblies"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 3 Aug 2005 14:14:28 +0200
Hi all,
I know how to use the StrongNameIdentityPermission attribute to secure an
assembly against callers which have no strong name with the given public
key. Securing controls is problematic, since the Visual Studio (7) designer
has no strong name (even if it would, the public key would be another). So
dragging a secured control from the tooolbar results in a SecurityException.
The only workaround I know is, to only secure the public methods of the
control (except InitializeComponent). But this does not satisfy the security
guidlines of the company I work for.
Does anyone know another workaround to secure controls in a way that allows
the using in the VS designers?
Is this problem fixed in 2.0?
Thanks in advance
Juergen Bayer
- Next message: Nicole Calinoiu: "Re: sn.exe exit code documentation ?"
- Previous message: Thibaut: "sn.exe exit code documentation ?"
- Next in thread: Nicole Calinoiu: "Re: Securing a control assembly against use of foreign assemblies"
- Reply: Nicole Calinoiu: "Re: Securing a control assembly against use of foreign assemblies"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|