# $Revision: 1.6 $
# $Date: 2003/12/05 03:12:18 $
# $Author: mikeman2 $

#this is insecure. if the box running this code is either not firewalled or compromised,
#the entire mud can be easily compromised.  having a special class that authorized and
#limits access to the system object can fix this.

require 'drb'
require 'lib/acl'
class System
	def initBackend
		#DRb.install_acl(ACL.new(%w[
		#	deny all
		#	allow 127.0.0.1
		#		]))
		DRb.start_service("druby://:4041", self)
		Logger.log("Backend loaded.")
	end
end