elis Posted August 3, 2009 Share Posted August 3, 2009 I'm creating a PHP application for a friend and am providing an installation script (I might publicly release this application later which is why I'm concerned about security.) The application has an admin section, I was thinking of allowing the user to name where all of the admin files are stored instead of in a typical "admin" folder, and store what this folder is called in the configuration file. I know this isn't going to really deter hackers, but any steps to make it a little trickier might help. So my questions are: a) would this be a pointless step? Should I just use a pre-defined folder? b) if I do use this step, where should I store the folder name so that I can access throughout the script? I was thinking in the configuration file since it's located above the directory. c) does anyone have any additional security suggestions I should use? I think I have most measures covered, all user input is sanitized and a whitelist is used, but haven't figured a way to deal with session fixation. Quote Link to comment https://forums.phpfreaks.com/topic/168640-solved-security-question-regarding-installation-script/ Share on other sites More sharing options...
elis Posted August 3, 2009 Author Share Posted August 3, 2009 anyone at all? Quote Link to comment https://forums.phpfreaks.com/topic/168640-solved-security-question-regarding-installation-script/#findComment-890156 Share on other sites More sharing options...
abazoskib Posted August 4, 2009 Share Posted August 4, 2009 that step might add a little security, but i doubt it would affect the overall security, if at all. try to build a secure login system, and establish correct permissions on the folder. should be good enough. you could even try a double log in with user selected questions/answers. Quote Link to comment https://forums.phpfreaks.com/topic/168640-solved-security-question-regarding-installation-script/#findComment-890215 Share on other sites More sharing options...
elis Posted August 4, 2009 Author Share Posted August 4, 2009 Thank you, I'll try that Quote Link to comment https://forums.phpfreaks.com/topic/168640-solved-security-question-regarding-installation-script/#findComment-890558 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.