empty variable
Richard Gaskin
ambassador at fourthworld.com
Fri Jan 3 16:29:11 EST 2020
How does the password come into the variable?
--
Richard Gaskin
Fourth World Systems
JB wrote:
> What if I have secure info like a password stored
> in a local variable and then I clear that info by
> putting empty into that local variable.
>
> How secure is that procedure? I understand a
> local variable does not retain the info after the
> code finishes but I am concerned about any
> info left in memory.
>
> In the c language to clear the memory you set
> all of the blocks to null. That is because it is
> more secure than doing something like putting
> empty into the variable.
>
> So the question is when I put empty into a local
> variable I know when you access that variable it
> will return empty but if it has not been set to null
> then is it possible for someone to read the blocks
> of memory and get anything back. In c if you set
> all of the blocks to null and not just the first block
> then you have eliminated the chance of someone
> recovering the info. Is there a secure way to clear
> a variable in Livecode?
>
> JB
More information about the use-livecode
mailing list