Code Paste

Monday, March 31, 2014

Code Paste during the years I maintains code snippets as notes for myself.recently goes over it and thought it might be useful to some of you, so I decided to publish it on my blog. you can see my code snippet at you have to do is to fill the "By" filed with my name and click search. enjoy it
no comments

CLR 4.0 transparent security

Friday, February 5, 2010

CLR 4.0 transparent security CLR 4.0 come with some changes to the security model. in general the CLR 4.0 no longer assume the sandbox for the application.   you can still sandboxed your AppDomain and the CLR 4.0 will onerous that sandbox, but running the same exe from local computer or from network shared folder won't grant the exe different privileges (sandbox).   as result the security setting goes back into the administrators hands, as it was before the .NET era and application restriction will be define equally...
no comments

Changes in the CLR 4.0 security model

Tuesday, January 19, 2010

Changes in the CLR 4.0 security model   The CAS (Code Access Security) model of the .NET is changing in CRL 4.0. in general Microsoft has obsolete many of the CAS operations, simplify the access to security related information, and omitting the support for having security restriction at the assembly level (security restriction will solely manage by the AppDomain sandbox).   using obsolete APIs result with warning at the compilation and exception at run-time. in general you should be suspicious of any APIs that getting Evidence parameter...
no comments