ASP.NET MVC UpdateModel vulnerable to hacking?

前端 未结 5 1763
不知归路
不知归路 2020-12-15 13:51

I have an ASP.NET MVC application that is calendar-like. As per the NerdDinner example, I\'m updating the results of my edit page using UpdateMethod()

In my app, cer

5条回答
  •  死守一世寂寞
    2020-12-15 14:23

    You can mark fields on your model that should be ignored by update or pass a list of included/excluded fields using one of the other UpdateModel overloads.

提交回复
热议问题