code-access-security
Proper way to secure domain objects?
If I have an entity Entity and a service EntityService and EntityServiceFacade with the following interfaces:[详细]
2023-01-25 07:14 分类:问答Load Assembly with custom Permissions
I need to load an untrusted assembly into my AppDomain. I don\'t want to Sandbox a new AppDomain for this assembly to execute in, because it internally requires access to certain functionality such as[详细]
2023-01-24 16:02 分类:问答Looking for a practical approach to sandboxing .NET plugins
I am looking for a simple and secure way to access plugins from a .NET application. Although I imagine that this is a very common requirement, I am struggling to find anything that meets all my needs:[详细]
2023-01-24 04:19 分类:问答Protecting source code from theft during development [closed]
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.[详细]
2023-01-23 05:26 分类:问答Code Access Security is a joke?
I have just read about this article about Code Access Security. It has such an example in it: using System.Security.Permissions;[详细]
2023-01-20 19:57 分类:问答Restricting Certificate access from C# Code
The use case: I have a hosting platform (server) where multiple ASP.Net applications are hosted. I do not want to have application to have programmatic access to the certificates on the Server. Only[详细]
2023-01-18 21:10 分类:问答Question about the working paradigm of Code Access Security (CAS)
I wrote the following code to test the CAS: [SecurityPermission(SecurityAction.Demand,Flags=SecurityPermissionFlag.Execution)][详细]
2023-01-18 11:12 分类:问答Question about Code Access Security (CAS)
I am studying the Code Access Security of .NET 2.0. My current understanding is as below: The basic mechanism of the CAS is for the CL开发者_如何转开发R to collect certain evidences from the assembly[详细]
2023-01-18 10:10 分类:问答.NET/Security: Limiting runtime-loaded assemblies from accessing certain APIs
In a shell application, I need to be able to load and execute other .NET assemblies at runtime, but without giving them full trust. Essentially, I want to limit them (the loaded assemblies) from touch[详细]
2023-01-18 00:13 分类:问答GetDirectories call in msi CustomAction throws security exception ONLY when All Users
I have a custom action that I\'m using to deploy some files that sit next to the msi in the handoff package. My custom action is passed the ms开发者_如何转开发i path via the OriginalDatabase parameter[详细]
2023-01-17 16:17 分类:问答