javascript - ngStorage safe to use? -


i have simple doubt ngstorage. when use ngstorage $localstorage or $sessionstorage objects , keys readable in browser development tools.

how ever wonder if there way manipulate them on fly?

if example, save session params user in $localstorage possible write on $localstorage browser dev tools or via console , update. manipulate storage during have site open?

you shouldn't use $localstorage or $sessionstorage data don't want user manipulate himself. regular user has access same tools you, yes can open developer console , edit whatever in $localstorage or $sessionstorage.

you should use ngstorage things preferences, user can edit as wants, you'd have more convenient interface in application.


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -