在 Profiler 中隐藏 SQL [英] Hide SQL in Profiler

查看:18
本文介绍了在 Profiler 中隐藏 SQL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何让我的 SQL 语句不出现在 Profiler 中?它们包含敏感信息,我不希望它们在 Profiler 中显示.

How can I make my SQL statements not to appear in Profiler ? They contain sensitive information and I don't want them to show in Profiler.

感谢您的回复!

推荐答案

分析器只能由具有适当权限的人运行,因此如果您的安装得到适当保护,您应该没问题(没有用户应该能够分析您的应用程序).这超出了安全性,因为分析器会显着降低服务器的速度.

The profiler can only be run by someone with proper rights so if your installation is properly secured you should be fine (no users should be able to profile your application).This goes beyond security, since profiler slows down the server considerably.

这篇关于在 Profiler 中隐藏 SQL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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