开发者

What are some ways to secure a directory in ASP.NET?

开发者 https://www.devze.com 2023-01-20 11:11 出处:网络
Just need to secure the directory with possibly a pro开发者_如何学JAVAmpt box or something.Sorry, i am nublariffic.You can use basic authentication or go all-out with ASP.NET directory security option

Just need to secure the directory with possibly a pro开发者_如何学JAVAmpt box or something. Sorry, i am nublariffic.


You can use basic authentication or go all-out with ASP.NET directory security options, depends on what you need. See https://web.archive.org/web/20211020140238/https://www.4guysfromrolla.com/articles/031204-1.aspx for an overview of options available to you.

To sum it up:

  • Windows Authentication Provider for simple authentication, you can use a single username/password combination or integrate with AD if you want to
  • Passport Authentication Provider for integration with Microsoft passports
  • Forms Authentication Provider gives you the most options but requires the most work, you basically work out all of the authentication parts (the user/password stores and how a user enters his credentials and they are checked in the application).
0

精彩评论

暂无评论...
验证码 换一张
取 消