|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
kaycontainerThere is two option to asign keypair to an assembly 1. In assenblyinfo.cs file asign .snk file name to AssemblyKeyFile atrribule. for exam - [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] 2. Install keypair in kaycontiner by use sn.exe - i and and asign keycontainer name to AssemblyKeyName attribute in assemblyinfo.cs file. for exampl - [assembly: AssemblyKeyName("InsTechKeyPair")] my question is when we install keypair in keycontiner what is the location of keycontainer ? is it reside in windows registry or somthing where else ? can I see the keypair location physicaly after install it in keycontainer ? looking forward for your answer Thank BLM The key container location will depend on which CSP you're using and your
version of Windows. For example, if you're using the default CSP on Windows XP without the sn -m option, your container physical store will likely be under C:\Documents and Settings\<userid>\Application Data\Microsoft\Crypto\RSA\. If you have reason to be concerned about storing your private key locally (which you should unless it's a purely temporary key), you might want to consider using a smart card for your strong naming keys (http://www.dotnetthis.com/Articles/SNandSmartCards.htm). Show quoteHide quote "BLM" <B**@discussions.microsoft.com> wrote in message news:7EE74996-5543-4306-9F7C-22BEF54B48EC@microsoft.com... > Hello > > There is two option to asign keypair to an assembly > > 1. In assenblyinfo.cs file asign .snk file name to AssemblyKeyFile > atrribule. > for exam - > [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] > > 2. Install keypair in kaycontiner by use sn.exe - i and and asign > keycontainer name to AssemblyKeyName attribute in assemblyinfo.cs file. > for exampl - > > [assembly: AssemblyKeyName("InsTechKeyPair")] > > my question is when we install keypair in keycontiner what is the > location > of keycontainer ? is it reside in windows registry or somthing where else > ? > > can I see the keypair location physicaly after install it in keycontainer > ? > > looking forward for your answer > > Thank > > BLM > >
Using remoting features inside a .NET applet loaded in a tag object
Configuration Tool missing Registry Permission Attributes .NET 2.0: SetAccessControl wipe out inherited ACEs deserialize and "medium trust" remote registry access issue on Vista RC1 EnvironmentPermission ASN1 unexpected end of data Runtime Security Policy Question Events over remoting and security problem, related/not related, I don't know |
|||||||||||||||||||||||