How can I be sure memory is being overwritten - Javascript

前端 未结 3 1281
广开言路
广开言路 2021-01-24 10:56

When loading sensitive information into memory I want to make sure it is securely erased afterwards. I am working on a Javascript web app, and I want to make sure that my variab

3条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-24 11:17

    It depends on the level of security you need. If you mean it is inaccessible to future Javascript programs running on the same page, yes, all you have to do is reassign the variables pointing to it. If you mean, so secure that a hardware-level analysis of the computer won't find the info, Javascript isn't the language you want.

提交回复
热议问题