Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试考虑使用私有/公共 dblink 的安全问题。
你可以在下面的图片中看到我在说什么
那么,如图所示(右边是公开的,左边是私人的)你认为哪一个是安全的?
我建议使用私有数据库链接并为您需要通过数据库链接访问的表创建视图。
因此,如果您有一个数据库 db1,其中用户 user1db1、user2db1 和 user3db1 需要访问另一个数据库 db2 中的 table1,请执行以下操作:
有两个原因: