PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
duck
Worker
Worker


Joined: Jul 03, 2006
Posts: 247

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

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 Back to top

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.
View user's profile Send private message Visit poster's website
jakec
Site Admin


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

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

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
Worker
Worker


Joined: Jul 03, 2006
Posts: 247

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

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.
View user's profile Send private message
montego
Former Admin in Good Standing


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

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

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".
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum