1 Reply Latest reply on Sep 21, 2018 11:23 AM by Dwi Ardi Irawan

    Prevent exposed web.xml under WEB-INF

    Dwi Ardi Irawan Newbie

      Hi All,

       

      I have an issue regarding wildfly exposing my web.xml through internet.

      my directory structure

      src

      ---main

           ---webapp

                ---WEB-INF

                          ---web.xml

       

      when I try to access directly www.example.com/WEB-INF/web.xml, it show the context of the web.xml

      is there any configuration we can do to prevent this?

       

       

      thank you

      Dwi Ardi Irawan