Encryption
Neil Davidson
Posts: 281
Lenard,
This is in our list of things to do. Thanks for pointing it out.
Yours,
Neil
"lenardd" <lenardd__nospam__@hotmail.com> wrote in message
news:lRAGYoXaEHA.1524@server53...
> Brian, I'm was curious if you guys would consider adding a switch/option
> that would encrypt the stored procedures and functions when generating the
> install package so that they get installed "with encryption".
>
> Thanks.
>
> --Lenard
>
>
>
This is in our list of things to do. Thanks for pointing it out.
Yours,
Neil
"lenardd" <lenardd__nospam__@hotmail.com> wrote in message
news:lRAGYoXaEHA.1524@server53...
> Brian, I'm was curious if you guys would consider adding a switch/option
> that would encrypt the stored procedures and functions when generating the
> install package so that they get installed "with encryption".
>
> Thanks.
>
> --Lenard
>
>
>
- Neil Davidson
Red Gate Software Ltd
Red Gate Software Ltd
This discussion has been closed.
Comments
I don't know exactly when or even if at this point because we're still deciding if it's feasable at this point.
By using a C# project we found a way to solve these problems. Code the phrase "--With Encryption" in the procedure (note the "--" comment indicator). Next modify the C# project (you can also change the code in the template files I think?) 'ExecuteSQLCommand' procedure as follows. There will be a slight performance hit, but I think the benefit outways the hit.
I haven't checked to see if creating the EXE directly actually compiles the template code, which would eliminate the need to create the C# project.
private void ExecuteSQLCommand(string sql)
{
m_SqlCommand.CommandText = sql.Replace("--WITH ENCRYPTION","WITH ENCRYPTION");
m_SqlCommand.ExecuteNonQuery();
}
- Neil Davidson
Red Gate Software
Red Gate Software Ltd