3 Replies Latest reply on Jul 8, 2005 12:11 AM by vizcaine

    How to disable PUT and DELETE methods?

    hari711

      Hi,

      Due to security reasons i have to disable the PUT and DELETE methods. Can anybody suggest where i could change the settings?

      Thanks,
      Hari Shankar

        • 1. Re: How to disable PUT and DELETE methods?
          sviluppatorefico

          hi...in what situation?

          • 2. Re: How to disable PUT and DELETE methods?
            hari711

            Hey,

            iam a graduate student at Texas A&M University. Before getting the webserver global our university firewall does some wierd sort of security scanning. In the result they wanted me to disable PUT and DELETE methods. I have seen one configuration file mentioning that the PUT and DELETE methods are by default disabled. But our security scan program detects the methods being enabled. I dont understand how i can disable the methods. If i cant, i could never get my webserver up with our university regulations.

            thanks
            Hari Shankar

            • 3. Re: How to disable PUT and DELETE methods?
              vizcaine

              Well I know how you can disable the methods for a specific Web Application...
              You declare a <security-constraint> in your deployment descriptor (web.xml) with the
              <http-method> element inside your
              <web-resource-collection>

              but not for a server

              Hope this helps

              Alex