Game Development Community

Local DB, server DB clarifications

by Ted Lilljegren · in Technical Issues · 09/28/2007 (2:51 pm) · 1 replies

First of: can i acces the $serverDb created in server side script from client side?

That about all actually. But to clarify, what is the difference between creating the db on server to client side?

Second question: The Db object, will it appear on the client side, and if so, can the player with suffiecent software enter and change his db object?

Also: Can the client side get data from a datablock that was initiated server side?

#1
09/30/2007 (3:55 am)
A client would not normally access a server side database or vice versa, you could code it that way but it creates risk of users being able to hack the database. Anything where you can access data via the client opens you up to the risk of users changing/hacking the data, so you need to really only consider storing data client side that wouldn't give a user any advantage (cheat) if they were to alter it.