Securing ASP.NET MVC Application Checklist

后端 未结 4 1343
轻奢々
轻奢々 2021-02-02 03:14

I am looking for a set of guidelines or a checklist that you can go over for securing a public ASP.NET MVC Website. I just want to make sure that I am not making any of the obvi

4条回答
  •  一生所求
    2021-02-02 04:17

    The below are general ASP.NET measures

    1. Set Debug=false in web.config
    2. Turn on custom error
    3. Encrypt your cookies
    4. Validate all inputs
    5. Enable Request Validation
    6. Encode your output

提交回复
热议问题