.NET-.NET的安全框架 [英] .NET - Security Frameworks for .NET

查看:156
本文介绍了.NET-.NET的安全框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道.NET的任何安全框架吗?

就安全框架而言,我指的是由一组包含代码的库和API组成的框架,这些代码可用于提高整体开发的应用程序的安全性.

到目前为止,我只确定了Spring.NET.我发现了.NET的其他框架,例如Castle MonoRail,但是它并非完全针对解决安全问题.

举个例子,Java程序员可以使用以下安全框架:

  1. Apache Shiro(Java)
  2. JAAS(Java)
  3. JGuard(Java)
  4. JSecurity(Java)
  5. PicketBox(Java)
  6. Spring Security(Java)

解决方案

我不知道那些框架,但是快速浏览一下Apache Shiro和Spring Security,我发现您正在寻找可以实现密码学的东西会话管理身份验证授权.不幸的是,除了默认情况下.NET中内置的框架之外,我不知道有任何框架可以为您做到这一点.

密码学提供System.Security.Cryptography名称空间.

默认情况下,ASP.Net提供

身份验证授权,以Windows,窗体或密码身份验证.例如,请参见 ASP.NET身份验证和授权文章.在CodeProject上.

会话管理也内置在ASP.Net中.例如,请参阅MSDN上的 ASP.NET状态管理概述. >

Does anyone know of any security frameworks for .NET?

By security framework, I am referring to a framework consisting of a set of libraries and APIs containing code which can be used to improve the security of the application being developed overall.

So far, I have only identified Spring.NET. I have found other frameworks for .NET such as Castle MonoRail, however it is not exactly directed towards solving security issues.

To give you an example, a Java programmer can make use of the following security frameworks:

  1. Apache Shiro (Java)
  2. JAAS (Java)
  3. JGuard (Java)
  4. JSecurity (Java)
  5. PicketBox (Java)
  6. Spring Security (Java)

解决方案

I don't know those frameworks but from a quick glance at Apache Shiro and Spring Security I get that you are looking for something that will do cryptography, session management, authentication and authorization. Unfortunately I don't know any frameworks that will do that for you except what's built into .NET by default.

Cryptography is provided by the System.Security.Cryptography namespace.

Authentication and authorization are provided by default by ASP.Net, as Windows, Forms or password authentication. See for example the ASP.NET authentication and authorization article on CodeProject.

Session management is also built into ASP.Net. For example, see ASP.NET State Management Overview on MSDN.

这篇关于.NET-.NET的安全框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆