Subject | Re: [firebird-support] Re: FIREBIRD SECURITY ISSUES |
---|---|
Author | Carlos H. Cantu |
Post date | 2004-05-13T18:25:55Z |
You are correct! Forgive me people for my previous posts. They were
based on the information of an online article that I read sometime
ago. I never tested and never used the methods described. I just
trusted what I read.
Now I did some tests and the restored database keeps the
triggers/procedures working.
Living and learning... do not trust everything you read... better test
it first :)
I will contact the article's author and try to find out why he told that
the SPs/Triggers not survive a backup/restore.
A test that I cannot do is to backup a db on a Intel machine and
restore it into a non-intel-compatible machine... maybe that would
break the BLR (just a guess). Can someone test that and post the
results?
Carlos
http://www.warmboot.com.br
FireBase - http://www.FireBase.com.br
f> I use this 'trick' a lot (with stored procedures and triggers), and
f> there is no problem after a backup/restore. The triggers and
f> procedures still works after that.
f> --- In firebird-support@yahoogroups.com, "Carlos H. Cantu"
f> <listas@w...> wrote:
based on the information of an online article that I read sometime
ago. I never tested and never used the methods described. I just
trusted what I read.
Now I did some tests and the restored database keeps the
triggers/procedures working.
Living and learning... do not trust everything you read... better test
it first :)
I will contact the article's author and try to find out why he told that
the SPs/Triggers not survive a backup/restore.
A test that I cannot do is to backup a db on a Intel machine and
restore it into a non-intel-compatible machine... maybe that would
break the BLR (just a guess). Can someone test that and post the
results?
Carlos
http://www.warmboot.com.br
FireBase - http://www.FireBase.com.br
f> I use this 'trick' a lot (with stored procedures and triggers), and
f> there is no problem after a backup/restore. The triggers and
f> procedures still works after that.
f> --- In firebird-support@yahoogroups.com, "Carlos H. Cantu"
f> <listas@w...> wrote:
>> ABS> This works,f> think it's not
>>
>> ABS> But AFAIK the BLR code could be reverse-engineered (and I
>> ABS> too dificult)f> The procedure
>>
>> ABS> see you !
>>
>> And remember that when you do a backup/restore all your stored
>> procedures are gone since there is no source code to recreate them!
>>
>> Carlos
>> http://www.warmboot.com.br
>> FireBase - http://www.FireBase.com.br
>>
>> ABS> Myles Wakeham wrote:
>>
>> >>>On 12-May-2004 14:49:24, Salim Naufal wrote:
>> >>>I have tried the following,
>> >>>
>> >>>Update rdb$procedures set rdb$procedure_source = ''
>> >>>
>> >>>It deleted the source text of the procedure leaving the BLR.
>> >>>still works fine.f> validated by one of
>> >>>
>> >>>Before doing that, it would be wise to have that stuff
>> >>>the list gurus.