Re: How to prevent queries showing up in Profiler?

From: Andrew J. Kelly (sqlmvpnoooospam_at_shadhawk.com)
Date: 03/14/04


Date: Sun, 14 Mar 2004 13:35:47 -0600

Ben,

There isn't any way to to really do what your after. If they have access to
run profiler (or even a network monitor) they can see your code. You can
(and probably should) use stored procedures and use the with Encryption
option which can help. But that will not stop a dedicated hacker. You need
to protect yourself with a good copywrite policy.

Andrew J. Kelly SQL MVP

"Ben Fidge" <ben.fidge@btopenworld.com> wrote in message
news:O0r7e5eCEHA.3748@TK2MSFTNGP11.phx.gbl...
> How do you prevent or protect your custom queries executed from within a
> custom application (in this case a Delphi written app) from being
displayed
> by Profiler?
>
> Are there any special "SET ??? OFF" commands that instruct the Profiler
NOT
> to display SQL queries?
>
> Thanks
>
> Ben
>
>



Relevant Pages

  • Re: Monitoring Impact of a User in SQL Server
    ... At least it will be read only but they can still issue any queries they want. ... Profiler or Trace will allow you to see what each connection is doing. ... Andrew J. Kelly SQL MVP ... I didnt actually realise SQL Server had ...
    (microsoft.public.sqlserver.tools)
  • Re: Weird parallel stored procedures execution problem
    ... Have you run profiler with errors and assertions events turned on? ... Are they just blocked or hung, ... Andrew J. Kelly SQL MVP ... are stopping suddenly without any error message. ...
    (microsoft.public.sqlserver.programming)
  • Re: SQL 2000: Profiler Access
    ... The user must have sa rights in SQL 2000 to use profiler. ... Andrew J. Kelly SQL MVP ... "Rob" wrote in message ...
    (microsoft.public.sqlserver.security)
  • Re: View Results With SQL Profiler?
    ... > There is no way to do that with profiler that I know of. ... > network monitors to see what is returned over the network. ... > Andrew J. Kelly SQL MVP ... if you're app is utilizing certain TSQL constructs by matching returned data ...
    (microsoft.public.sqlserver.tools)
  • Re: View Results With SQL Profiler?
    ... There is no way to do that with profiler that I know of. ... network monitors to see what is returned over the network. ... Andrew J. Kelly SQL MVP ... > I can see the TSQL inside by Stored Procs listed in my trace, ...
    (microsoft.public.sqlserver.tools)