asp.net mvc - When is it necessary to protect both GET and POST versions of /Edit? -


all controllers have pairs of actions /edit, 1 request , 1 post request. add permissions-checking (authorization) on call make sure nobody shouldn't have access object, doesn't in there.

do need add same check on post version of method? redundant, or should reasonably expect spoof http post request though won't have access version?

it's trivially easy send post request url. if site deals sensitive/secret data, should expect people try sorts of ways of getting @ it, , should make sure access points (including post requests) check user authorized access request.


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -