The issue: Knowledge about paths and extensions makes it easier to exploit your system.
The solution: Hide information