robbiesmith79
Programmer
So here's a quick brief.
This is the first time I've built an admin control panel for a client that would allow them to physically create, rename, and delete pages in PHP. It all works splendidly but with one minor glitch; it's a big fat gaping security hole.
The MySQL database knows of the pages, location, and unique page id's, so the content, for the "static" pages are controlled from within the database. It's the whole God mode from public http that worries me.
A suggestion was brought up to remove the admin directory to a miniature version of an internal intranet behind the firewall with htallow/htdeny in the apache configuration file, so all physical pages are closely monitors, and lock down the web root as good as it gets.
What do you think? Yes I messed up.
This is the first time I've built an admin control panel for a client that would allow them to physically create, rename, and delete pages in PHP. It all works splendidly but with one minor glitch; it's a big fat gaping security hole.
The MySQL database knows of the pages, location, and unique page id's, so the content, for the "static" pages are controlled from within the database. It's the whole God mode from public http that worries me.
A suggestion was brought up to remove the admin directory to a miniature version of an internal intranet behind the firewall with htallow/htdeny in the apache configuration file, so all physical pages are closely monitors, and lock down the web root as good as it gets.
What do you think? Yes I messed up.