<legend id='I8LFU'><style id='I8LFU'><dir id='I8LFU'><q id='I8LFU'></q></dir></style></legend>
    • <bdo id='I8LFU'></bdo><ul id='I8LFU'></ul>
  • <tfoot id='I8LFU'></tfoot>
    1. <small id='I8LFU'></small><noframes id='I8LFU'>

        <i id='I8LFU'><tr id='I8LFU'><dt id='I8LFU'><q id='I8LFU'><span id='I8LFU'><b id='I8LFU'><form id='I8LFU'><ins id='I8LFU'></ins><ul id='I8LFU'></ul><sub id='I8LFU'></sub></form><legend id='I8LFU'></legend><bdo id='I8LFU'><pre id='I8LFU'><center id='I8LFU'></center></pre></bdo></b><th id='I8LFU'></th></span></q></dt></tr></i><div id='I8LFU'><tfoot id='I8LFU'></tfoot><dl id='I8LFU'><fieldset id='I8LFU'></fieldset></dl></div>

        MYSQL 访问控制

        MYSQL Access Control(MYSQL 访问控制)

        <small id='ZXIIb'></small><noframes id='ZXIIb'>

          <tfoot id='ZXIIb'></tfoot>
        • <i id='ZXIIb'><tr id='ZXIIb'><dt id='ZXIIb'><q id='ZXIIb'><span id='ZXIIb'><b id='ZXIIb'><form id='ZXIIb'><ins id='ZXIIb'></ins><ul id='ZXIIb'></ul><sub id='ZXIIb'></sub></form><legend id='ZXIIb'></legend><bdo id='ZXIIb'><pre id='ZXIIb'><center id='ZXIIb'></center></pre></bdo></b><th id='ZXIIb'></th></span></q></dt></tr></i><div id='ZXIIb'><tfoot id='ZXIIb'></tfoot><dl id='ZXIIb'><fieldset id='ZXIIb'></fieldset></dl></div>
        • <legend id='ZXIIb'><style id='ZXIIb'><dir id='ZXIIb'><q id='ZXIIb'></q></dir></style></legend>

                <bdo id='ZXIIb'></bdo><ul id='ZXIIb'></ul>

                    <tbody id='ZXIIb'></tbody>
                  本文介绍了MYSQL 访问控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我想对存储在我的 MySQL 数据库中的数据实施列级和行级访问控制.我在我的服务器上使用 NodeJS,有什么办法呢?我看到 SAP Hana 允许这样做,但想保留 MySQL.

                  I want to implement column level and row level access control on data stored in my MySQL database. I am using NodeJS on my server, what's the way to go for this ? I see SAP Hana allows that but want to keep MySQL.

                  推荐答案

                  您可以采取三种方法:

                  1. 在应用内完成
                  2. 在应用程序和数据库之间,在数据库代理内进行
                  3. 在数据库中进行

                  第一个选项实际上并不符合行级访问控制的要求,因为应用程序逻辑负责过滤/屏蔽.(过滤是行级访问控制,而屏蔽是单元级).

                  The first option wouldn't really qualify as row-level access control since the application logic is the one responsible for the filtering / masking. (Filtering is row-level access control whereas masking is cell-level).

                  第二种选择,即使用代理,这种方法越来越多地被采用.有专门的解决方案,例如:

                  The second option, using a proxy, is an approach that is increasingly being taken. There are dedicated solutions such as:

                  1. 绿色SQL
                  2. Informatica DDM 和
                  3. 公理数据访问过滤器.

                  这些解决方案通常会拦截 SQL 流量并对其进行修改,以便仅返回经过授权的数据.这称为动态数据屏蔽.在维基百科上有更多解释.

                  These solutions typically intercept the SQL traffic and modify it such that only authorized data is returned. This is called dynamic data masking. It is explained a little bit more on Wikipedia.

                  第三个选项是使用数据库的本机功能.例如,Oracle 有一种叫做虚拟专用数据库 (VPD) 的东西,它可以让您配置高级行过滤功能.

                  The third option is to use the database's native capabilities. For instance Oracle has something called Virtual Private Database (VPD) which lets you configure advanced row filtering capabilities.

                  就您的情况 (MySQL) 而言,有一种叫做细粒度访问控制 (FGAC) 的东西.此处有一篇关于该主题的精彩文章.在 Google 上搜索更多资源.

                  In your case (MySQL), there is something called fine-grained access control (FGAC). There is a great article on the topic here. Google that term for more resources.

                  这篇关于MYSQL 访问控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  How to delete duplicate records in mysql database?(如何删除mysql数据库中的重复记录?)
                  Python Pandas write to sql with NaN values(Python Pandas 使用 NaN 值写入 sql)
                  MySQL Insert amp; Joins(MySQL 插入 amp;加入)
                  MySQL concat() to create column names to be used in a query?(MySQL concat() 创建要在查询中使用的列名?)
                  NodeJS responded MySQL timezone is different when I fetch directly from MySQL(当我直接从 MySQL 获取时,NodeJS 响应 MySQL 时区不同)
                  WHERE datetime older than some time (eg. 15 minutes)(WHERE 日期时间早于某个时间(例如 15 分钟))
                    1. <tfoot id='mmaIP'></tfoot>

                          <bdo id='mmaIP'></bdo><ul id='mmaIP'></ul>
                          <i id='mmaIP'><tr id='mmaIP'><dt id='mmaIP'><q id='mmaIP'><span id='mmaIP'><b id='mmaIP'><form id='mmaIP'><ins id='mmaIP'></ins><ul id='mmaIP'></ul><sub id='mmaIP'></sub></form><legend id='mmaIP'></legend><bdo id='mmaIP'><pre id='mmaIP'><center id='mmaIP'></center></pre></bdo></b><th id='mmaIP'></th></span></q></dt></tr></i><div id='mmaIP'><tfoot id='mmaIP'></tfoot><dl id='mmaIP'><fieldset id='mmaIP'></fieldset></dl></div>

                          <legend id='mmaIP'><style id='mmaIP'><dir id='mmaIP'><q id='mmaIP'></q></dir></style></legend>
                            <tbody id='mmaIP'></tbody>

                            <small id='mmaIP'></small><noframes id='mmaIP'>