Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security Issues
Author Message
duck
Involved
Involved



Joined: Jul 03, 2006
Posts: 273

PostPosted: Thu Apr 16, 2009 6:30 pm Reply with quote

Something that has always bugged me and one day I wanted to introduce to my sites I thought I would bring up for discussion here:

I have always wondered why nuke uses a $prefix and $user_prefix and not an $Auth_prefix?

I mean it would seem a hell of alot better a security process to have a different prefix on the Authors table than the rest of the site. A lot harder to run detrimental SQL injection attacks I would think and the Auth table prob is more important to secure than the darn users table?

Has anyone else considered converting the system to use an Auth's table prefix? Of course I know this will raise compatibility issues but hell it would be worth it in the long run and the longer something like this takes to become standard the more external modules and blocks etc there will be that aren't compatible why not start implementing something like this today?

Thoughts anyone?
 
View user's profile Send private message
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Thu Apr 16, 2009 8:05 pm Reply with quote

Sounds like a wasted idea to me, mainly that the $prefix should always been unique and never easy to guess. Sadly phpNuke defaults it to "nuke" and plenty of installers use the same defaults.

_________________
- Star Wars Rebellion Network -

Need help? Nuke Patched Core, Coding Services, Webmaster Services 
View user's profile Send private message Visit poster's website
jakec
Site Admin



Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom

PostPosted: Thu Apr 16, 2009 11:53 pm Reply with quote

Like evaders says there is nothing stopping you from having the $prefix set to whatever you want for security.

I believe the main reason for having a separate prefix for the users table is to enable the users to be shared across more than one site.
 
View user's profile Send private message
duck







PostPosted: Fri Apr 17, 2009 7:13 am Reply with quote

I mean ultimately different prefixes shouldn't be necessary for any set of tables but nonetheless it is an extra level of security when it is different and as such that extra level would be more important on the AUTH table than any other table in the DB. But again it was just a thought I had open for input.
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Fri Apr 17, 2009 7:25 am Reply with quote

The problem that I have is that if someone can find out what the $prefix is set at, then having $auth_prefix isn't going to help because it is already "game over".

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©