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 =/ Quote Link to comment Share on other sites More sharing options...
SirChick Posted November 5, 2007 Author Share Posted November 5, 2007 Does anyone know =/ ? Quote Link to comment 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. Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.