security - Securing ASP.NET MVC Application Checklist -


I'm looking at a set of guidelines or a checklist that you can also get to the public ASP.NET MVC website. Can go. I just want to make sure that I am not making clear and well-known issues while deploying a website.

Thank you. As always, make sure you have the right encoding output - note that I'm saying encode here and not HtmlEncode. If you are outputting content on HTML If you are output in JavaScript then you want to use the Javascript encoding function - this will help you against Cross Site Scripting (XSS) < Li> Use assisters who help against CSRF attacks where necessary (or perhaps everywhere)

  • Depending on how you access your data collection, if it is a SQL database , So to protect yourself against SQL injunctions, remember either questions with parameters, stored procedures, LINQ or what you have.
  • When you do the test - make sure that you come The test data Dji output (goods where HTML failed to call. Encoded, easily, & lt; script type = "text / javascript" & gt; alert ( "Aksss Attack!"); & Lt; / Script & gt; Will appear through XSS!
  • Using a whitelist approach to model binding properties, users can not create binder binding properties, which is not intended to be binding!

  • Comments

    Popular posts from this blog

    c# - ListView onScroll event -

    PHP - get image from byte array -

    Linux Terminal Problem with Non-Canonical Terminal I/O app -