6

优雅设置账号只能使用读类型的 API

 2 years ago
source link: https://www.v2ex.com/t/816286
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  Java

优雅设置账号只能使用读类型的 API

  bk201 · 8 小时 39 分钟前 · 597 次点击

现在要对一些特定账号做只读限制,也就是所有涉及到更新,删除数据库的操作要全部拦截掉,返回无操作权限。只保留读取类的 API 可以使用。怎么做比较优雅。数据库有 mysql ,hbase


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK