Fenced用户ID定义? [英] Fenced user id defination?

查看:133
本文介绍了Fenced用户ID定义?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是DB2实例的用户标识?

我还想要一些正确的用途,因为我得到了这个链接

如何确定DB2实例的受防护用户ID [ ^ ]

说受防护用户标识的目的是保护DB2免受来自外部存储过程的未经测试或恶意代码,用户定义的函数等等

但它如何保护?它是否像沙箱类型或防病毒一样工作?

What is fenced User-ID of a DB2 instance?
And also want some proper purpose of it as I got this link
How to determine fenced User-ID of a DB2 instance[^]
saying "The purpose of fenced user id is to protect DB2 from untested or malicious code from the external stored procedures, user defined functions etc."
But how it protects? is it works like a sandbox type or can say antivirus?

推荐答案

当运行受防护的存储过程时,它可以使用受防护的用户执行它以使其具有较少的权限,例如在操作系统级别。否则,受防护的存储过程由运行DB2代理的同一用户帐户运行。



换句话说,通过使用受防护的用户,您可以确保某种类型(受防护的)程序对数据库没有任何损害,因为受防护程序和用户的权限通常要小得多。



有关详细信息,请参阅 NOT FENCED存储过程 [ ^ ]
When a fenced stored procedure is run, it can use a fenced user to execute it in order to have less privileges for example at operating system level. Otherwise the fenced stored procedure is run by the same user account that is running DB2 agent.

In other words, by using a fenced user, you can ensure that certain type (fenced) procedures make no harm to the database since the privileges of a fenced procedure and user are typically much smaller.

For more info, see NOT FENCED Stored Procedures[^]


这篇关于Fenced用户ID定义?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆