RESTful PUT and DELETE and firewalls

前端 未结 4 1881
清酒与你
清酒与你 2021-01-03 21:22

In the classic \"RESTful Web Services\" book (O\'Reilly, ISBN 978-0-596-52926-0) it says on page 251 \"Some firewalls block HTTP PUT and DELETE but not POST.\"

Is th

4条回答
  •  借酒劲吻你
    2021-01-03 22:01

    You can configure a firewall to whatever you want ( at least in theory ) so don't be surprised if some sys admins do block HTTP PUT/DELETE.

    The danger of HTTP PUT/DELETE is concerning some mis-configured servers: PUT replaces documents (and DELETE deletes them ;-) on the target server. So some sys admins decide up right to block PUT in case a crack is opened somewhere.


    Of course we are talking about Firewalls acting at "layer 7" and not just at the IP layer ;-)

提交回复
热议问题