AW: Security question

Ruslan Zasukhin sunshine at public.kherson.ua
Thu Jan 22 16:35:20 CST 2004


on 1/22/04 4:21 PM, Florian Bogeschdorfer at fb at memedia.de wrote:

>>> Now I wonder what would happen if I overwrite the record with empty
>>> values or "XXX" stuff before I delete it? What yould appear
>> in the hex 
>>> editor? The empty or XXXed record?
>> 
>> Yes, this is away!
>> 
>> You can do 
>> 
>>     cursor->SetBlank()
>>     cursor->UpdateRecord()
>> 
>> And only now 
>>     cursor->DeleteRecord()
>> 
>> This will put zeroes.
>> Problem only with strings.
>> You need Update by string with the same length.
> 
> Or the max length of the field right?

Yes. But better the same legnth

> So I could use setBlank() and then add the string fields filled with spaces?

Yes. You need use spaces.


>> But if you can wait, better wait.
>> In 2.0 we have flag EraseOnDelete to secure this.
>> 
>> Problem with Update, that it also will spend time on indexing.
>> 
> In this case time is not a matter.
> 
> I wonder about 2.0. Ruslan, what changes will it bring? Will we need new
> coding for our old projects? How can we update existing servers (embedded).

> It is supposed to be released the next few weeks, but that is a beta version
> right?

Of course this will be just beta.
Then few weeks on beta testing. Polishing.

Big changes are only in C++ API.
And even here we hope to provide nice wrapper that will allow mainly use old
code.

For rest (RB, Director, ...) old API will be saved of course.
And probably extended. May be not in 2.0, but in 2.1, 2.2


-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list