How can I allow users sql access to a table limited to certain rows?

后端 未结 3 674
傲寒
傲寒 2020-12-20 05:40

I\'m building an stock exchange simulation game. I have a table called \'Market_data\' and in the game players simulate being in particular dates and are allowed to use SQL

3条回答
  •  旧巷少年郎
    2020-12-20 06:02

    1)You can use mysql proxy http://dev.mysql.com/downloads/mysql-proxy/ with custom rules restricting access.

    2)You can use stored procedures/functions

    3)You can use views

提交回复
热议问题