Hide a site directory in Dev tools

-1

I made a website shortly and realized that it is possible to see some directories of the site in the Developer Tools of Google Chrome (I have not tested this tool in other browsers). And I was a bit worried about this because a security tip is always trying to put different names in the directory that manages the content of the site, but with this feature of Dev Tools this point of safety is a bit useless. I noticed that other more advanced sites do not display the content management directory.

Is there any script or form that I can hide the directory on my system?

    
asked by anonymous 19.01.2018 / 13:41

1 answer

1

This is because you are serving resources for the site that are located within your sistema/class/uploads administrative directory.

It may even be correct for the upload to be made within this directory that only it has write permission.

But to consume these features you can use a "CDN" solution, as suggested in the comments. The simplest parentheses would be to create a subdomain by pointing to this path or map a virtual directory out of the directory sistema

Another detail is that the recommendation is not only to hide the administrative directory of the site, it should not even exist.

It should be a different and isolated application without sharing the same client environment directly. Which in turn should not directly access the database and share as little of the business objects as possible.

    
19.01.2018 / 14:38