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?
December 02, 2008, 11:34:31 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 407 times)
0 Members and 1 Guest are viewing this topic.
Glarawyn
BeBot Developer
Champion
********
Offline Offline

Posts: 414



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
Expert
*****
Offline Offline

Gender: Male
Posts: 261


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

Co-Prez of Rising Sun RK1 (1st & only org I will ever belong to)
Glarawyn
BeBot Developer
Champion
********
Offline Offline

Posts: 414



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
!items database
by Zeephonz
[Today at 08:05:21 PM]

Log playtime from buddys ...
by IKShadow
[Today at 06:48:12 AM]

[request] Raid timers
by Elesar1
[December 01, 2008, 04:41:09 PM]

Shared DB online list
by Temar
[December 01, 2008, 01:55:47 AM]

relay colors
by Temar
[December 01, 2008, 01:54:56 AM]

BeBot v0.6.0 released
by Alreadythere
[November 30, 2008, 05:32:00 PM]

Change to Bid.php
by Temar
[November 30, 2008, 11:41:44 AM]

OnlineOrg
by Jiheld
[November 29, 2008, 12:44:27 PM]

Silly Newbie Question.
by Temar
[November 29, 2008, 12:00:02 PM]

massive_pvp_time_table 1
by gerborg
[November 29, 2008, 06:55:35 AM]
Stats
Members
Total Members: 1244
Latest: Armonkens
Stats
Total Posts: 11146
Total Topics: 1505
Online Today: 25
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 1
Guests: 16
Total: 17
Elesar1

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