mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-28 11:47:55 +00:00
First implementation of read/write file access. We need better security for this though, you could potentially overwrite any file on the local machine the user of world has write access to atm.
This commit is contained in:
@@ -17,7 +17,8 @@ void register_authorized_methods()
|
||||
authorized_methods["Zone.GetInitialEntityPositions"] = std::make_pair(10, handle_method_zone);
|
||||
authorized_methods["Zone.MoveEntity"] = std::make_pair(10, handle_method_zone);
|
||||
authorized_methods["Zone.Action"] = std::make_pair(10, handle_method_zone);
|
||||
authorized_methods["Quest.GetScript"] = std::make_pair(10, handle_method_world);
|
||||
authorized_methods["World.GetFileContents"] = std::make_pair(10, handle_method_world);
|
||||
authorized_methods["World.SaveFileContents"] = std::make_pair(10, handle_method_world);
|
||||
}
|
||||
|
||||
void register_unauthorized_methods()
|
||||
|
||||
Reference in New Issue
Block a user