giles100
2007-05-14, 02:37 PM CDT
Hi,
This is my first posting so I hope it’s in the right place. I’m finishing my first dynamic site, which I’m administrating, on Fedora Core 4. I’m learning as I go along - so please forgive if questions are a bit unclear.
I’m currently reviewing the security of my site after reading a article (lost the URL!!!!!) that recomended using relative file paths to hinder attacks ... I think it was saying you can stop an attack by the fact that you are concealing the root directory. (e.g. ../index.html) - is this true?
thing is, the root of my site is the “public_HTML” folder on my server .... and so if I know my URL I can access any subdirectories. The only way I can see to truly protect my image folders, include files etc is to place them in a higher directory - i.e. in an adjacent folder to public_HTML, so the root folder cannot be guessed.
- Does this make sense?
- is this possible?
- or can you recommend a more appropriate practice?
many thanks in advance
Giles
This is my first posting so I hope it’s in the right place. I’m finishing my first dynamic site, which I’m administrating, on Fedora Core 4. I’m learning as I go along - so please forgive if questions are a bit unclear.
I’m currently reviewing the security of my site after reading a article (lost the URL!!!!!) that recomended using relative file paths to hinder attacks ... I think it was saying you can stop an attack by the fact that you are concealing the root directory. (e.g. ../index.html) - is this true?
thing is, the root of my site is the “public_HTML” folder on my server .... and so if I know my URL I can access any subdirectories. The only way I can see to truly protect my image folders, include files etc is to place them in a higher directory - i.e. in an adjacent folder to public_HTML, so the root folder cannot be guessed.
- Does this make sense?
- is this possible?
- or can you recommend a more appropriate practice?
many thanks in advance
Giles