code-access-security
How to inherit from DataAnnotations.ValidationAttribute (it appears SecureCritical under Visual Studio debugging host in .NET 4 !)
I have an [AllowPartiallyTrustedCallers] class library containing subtypes of the System.DataAnnotations.ValidationAttribute. The library is used on contract types of WCF services.[详细]
2022-12-27 23:54 分类:问答Satellite assemblies and FullTrust issues when .NET exe is on the network
I\'m executing my .NET app from a network share. Since framework 3.5 SP1, and as explained here: http://blogs.msdn.com/shawnfa/archive/2008/05/12/fulltrust-on-the-localintranet.aspx, the main exe and[详细]
2022-12-25 14:25 分类:问答Code Access Security problem - what's the issue here?
Background I have a post-build event which I use to generate some batch files which contain the current version number of our application. The event calls a batch file, which calls a managed app whic[详细]
2022-12-20 18:17 分类:问答Limiting Access to a DLL in .NET
I write in-house soft开发者_JS百科ware for a company. I always want to leverage OOP techniques as best as I can. In this thinking, I want to create a Data Access Layer (DAL) isolated in its own .DLL[详细]
2022-12-20 13:00 分类:问答SharePoint Code Access Security-requirements to call Page.TemplateControl.ParseControl
What are the CAS policy requirements to call the method Page.TemplateControl.ParseControl as referenced here?[详细]
2022-12-20 03:20 分类:问答Adding a license key to a zip file
I\'ve got a product that ships as a zip file. I\'d like to add some security to it or perhaps a password or license ke开发者_运维技巧y to deter unauthorized trading of the file. Any tips?Just password[详细]
2022-12-19 13:04 分类:问答Calling extension methods across classes requires ControlEvidence permission
I\'ve been working on understanding Code Access Security and I was hoping somebody mi开发者_运维百科ght be able to explain to me this behavior and why it requires added permissions.Say I have two exte[详细]
2022-12-19 05:46 分类:问答How will Code Access Security work under .NET Framework 4?
I\'ve heard that 开发者_运维知识库Code Access Security is changing completely under .NET Framework 4. Can anyone confirm how this will now work, and what the implications will be for legacy applicatio[详细]
2022-12-19 00:08 分类:问答Are there commercially deployed and used .NET CAS (Code Access Security) based applications?
I\'ve seen a couple threads here on SO that ask about what CAS is and how to use it.My specific is specifically focused on real-world usages of CAS.[详细]
2022-12-18 21:31 分类:问答How to access relatively places text files in folders below a Silverlight .xap file?
In a WPF application, I load in xaml files with the xamlreader by finding the current directo开发者_开发问答ry like this:[详细]
2022-12-18 14:04 分类:问答