Jump to content

[SOLVED] Security question regarding installation script


Recommended Posts

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.

 

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.