L* R*
HOME FORUM DOWNLOADS
Content
  Links
     Browse SVN
     SVN Commit log
     Documentation (Wiki)
  Developers
     Taskmanager
User
Welcome, Guest. Please login or register.
Did you miss your activation email?
September 07, 2008, 11:33:27 PM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Development > Coding and development discussion > Topic: High Priority: Security.php Poll
Poll
Question: Should Security be updated to take advantage of the new options for private class functions and variables in PHP5, or should we leave it as is and call it secure enough for our purpose?
Yes - Do it. - 8 (72.7%)
No - Leave it as is and just fix bugs. - 3 (27.3%)
Total Voters: 11

Pages: [1]   Go Down
« previous next »
Print
Author Topic: High Priority: Security.php Poll  (Read 338 times)
0 Members and 1 Guest are viewing this topic.
Glarawyn
BeBot Developer
Champion
********
Offline Offline

Posts: 391



High Priority: Security.php Poll
« on: January 29, 2008, 12:55:01 AM »

When I originally developed Security.php I planned on making the cache and other functions private so that other modules could not directly modify the Security cache. I then realized that the documentation I was looking at was for PHP5, and what I was doing would not work in PHP4.

Thus the design had to change, and security functions and the entire cache is exposed to any module that wants to poke at it.

Now that we're going to PHP5 Security could be done as originally envisioned, however it may have consequences if any modules are directly accessing the security cache, using cache_mgr, etc.

The question is, should Security be updated to take advantage of the new options for private class functions and variables in PHP5, or should we leave it as is and call it secure enough for our purpose?
Logged
Nytridr
Experienced
****
Offline Offline

Posts: 241


WWW
Re: High Priority: Security.php Poll
« Reply #1 on: January 29, 2008, 01:32:21 AM »

Glarawyn, Before I ask this.  I do know a little bit about bebot but not enough to know the impacts of this. 

If we left it as is, what are the possible scenarios that could happen? 

Not sure if anyone else would really ask this, so I figured I would give it a shot.  this was the first thing that I thought of.

I know it is possible to make some devastating security holes by putting in modules that you do not even look at.  But what would be the worse case scenarios if you left it as is?
Logged
Glarawyn
BeBot Developer
Champion
********
Offline Offline

Posts: 391



Re: High Priority: Security.php Poll
« Reply #2 on: January 29, 2008, 01:38:41 AM »

The biggest worry for security is someone coding a module that would parse your bot.conf and send them your AO username/password. There is nothing the security module can really do about that one. Wink

Possibly the worst thing someone could do is:

$this -> bot -> security -> cache = array();

Which would basically ban everyone until the bot was restarted or the 12 hour cron job came around and refreshed the security cache.

I'm leaning to the leave it as is myself, but I haven't decided yet.
Logged
Khalem
BeBot Founder
Administrator
Grandmaster
********
Offline Offline

Gender: Male
Posts: 670



WWW
Re: High Priority: Security.php Poll
« Reply #3 on: March 05, 2008, 05:31:08 PM »

I'd classify this as "it'd be nice, but not really a priority".
Logged

BeBot Founder and Fixer Kingpin
Madman coder and destroyer of good code
Pages: [1]   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Development > Coding and development discussion > Topic: High Priority: Security.php Poll
« previous next »
 
Jump to:  

Recent
Help with online info in ...
by Barlyman
[Today at 07:56:24 PM]

BeBot v0.5.3 released (de...
by Temar
[Today at 07:51:18 PM]

Security
by Alreadythere
[September 06, 2008, 10:02:42 AM]

Probs with relay from gue...
by Temar
[September 06, 2008, 09:03:06 AM]

Raid spam in guild chat
by Temar
[September 06, 2008, 09:01:18 AM]

Org Relaying
by Nytridr
[September 06, 2008, 01:34:35 AM]

Link 2 Guilds via 2 Bots?
by Temar
[September 05, 2008, 04:22:40 PM]

SVN download
by clashbot
[September 05, 2008, 05:12:59 AM]

TWC
by Temar
[September 05, 2008, 12:27:23 AM]

How to find the guild ID?...
by Irinir
[September 03, 2008, 02:58:54 PM]
Stats
Members
Total Members: 965
Latest: morisey
Stats
Total Posts: 10414
Total Topics: 1413
Online Today: 18
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 2
Guests: 22
Total: 24
egrath
blackspell

Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc | NewDef design by Bloc
Page created in 0.465 seconds with 30 queries. (Pretty URLs adds 0.024s, 4q)
Loading...