SirChick Posted November 5, 2007 Share Posted November 5, 2007 Hey guys, What are the advantages of putting php scripts in folders and sub folders in terms of security advantages.. i know it helps for knowing where everything is and its neater but is there any difference in terms of security? And also if it does help security should the directories be difficult to guess so that attacks can't happen or something? Because at the moment my php files are all in htdocs folder they are not separated into folders like: includes folder session folder etc etc Some one mentioned about permissions is the more important thing but I don't know what it is =/ Link to comment https://forums.phpfreaks.com/topic/76093-solved-directory-for-php-files/ Share on other sites More sharing options...
SirChick Posted November 5, 2007 Author Share Posted November 5, 2007 Does anyone know =/ ? Link to comment https://forums.phpfreaks.com/topic/76093-solved-directory-for-php-files/#findComment-385220 Share on other sites More sharing options...
trq Posted November 5, 2007 Share Posted November 5, 2007 It makes little to no difference where you store your files from a security standpoint unless they are outside the web root. Directories are basically there just to organise files into groups. Link to comment https://forums.phpfreaks.com/topic/76093-solved-directory-for-php-files/#findComment-385223 Share on other sites More sharing options...
SirChick Posted November 6, 2007 Author Share Posted November 6, 2007 oh ok thankgod for that. was thinking i'd have to be there all day sorting it out Link to comment https://forums.phpfreaks.com/topic/76093-solved-directory-for-php-files/#findComment-385300 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.