Mobile app version of vmapp.org
Login or Join
Shanna517

: If I hide files in my web servers directory root, can users find them anyway? More specifically, how can I theoretically find the files that is in a website's root directory? For example: My

@Shanna517

Posted in: #Apache #Apache2

More specifically, how can I theoretically find the files that is in a website's root directory?

For example:

My current imaginary website has 2 folders (labeled rescources and screenies) and 3 files (labeled index.html, index.alt.html, and favicon.ico).

I am aware that, if no index.html or index.php exists, Apache automatically routes users that attempts to visit that virtual host to a directory page giving raw access to the files in the root folder (or whichever folder they specify).

Because most folders and or root directories of people's web servers have an index.html or index.php, the average user cannot access a directory page listing all files in the active directory... Right?

Is there a way that, not including brute-forcing to attempt to find the directory name, a user can find my rescources or screenies folders, or even my index.alt.html without being told to navigate to [MY_SERVER]/rescources/ or has found where an html file that they have access to has referenced it?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Shanna517

1 Comments

Sorted by latest first Latest Oldest Best

 

@Smith883

If you discount that a person has some inside knowledge, the answer is no. How can anyone know about something that they can't see or know about?

But what is the point of having these folders if you aren't using some of the content? Assuming you do use the content, unless you are doing some really fancy coding, then you have to link to the content and therefore the answer is also yes, as those links are going to be visible in source code.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme