Posts Tagged ‘Security’

RSA Key Container’s name limitation

In one of our projects we use a machine level key container in order to store a RSA key. The code is well tested and used in our test environment before production. But today something very strange happened. The Unit tests failed on our continuous integration server. What’s wrong? Every failed test has failed with [...]

COMException- Unsupported type for field or property setter

I need a custom role based security for our project. It should be based on resources and resources’ permissions. All resources are somehow objects.
Firstly, I’ve implemented custom principal inherited from GenericPrincipal class, custom permission that implements IPermission and IUnrestrictedPermission. And than as it is expected I implement my realization of CodeAccessSecurityAttribute in order to [...]

Rijndael vs TripleDES in .Net (performance)

Today, I was in front of a dilemma which algorithm to use? Rijndael or TripleDES. As far as I know Rijndael is faster then TripleDES but i found some information about their realization in .Net which tells that in 2.0 TripleDES is even faster than Rijndael. As it is expected I decided to make a [...]