0

Is it possible to insert values into Chrome's Local Storage API chrome.storage.sync through a Console or any other way?

I think this can be a security issue if it's possible.

wOxxOm
  • 65,848
  • 11
  • 132
  • 136
deadcoder0904
  • 7,232
  • 12
  • 66
  • 163
  • 1
    Sure, just open [devtools on an extension page](https://stackoverflow.com/a/38920982) and run chrome.storage.sync.set({foo: 'bar'}) and so on. There's also [Storage Area Explorer](https://stackoverflow.com/a/32471596). There's no "security issue" here. – wOxxOm Mar 17 '19 at 09:06
  • @wOxxOm yep tried it & it works. so follow up how to implement licenses in chrome extension because one extension got broke because of this? – deadcoder0904 Mar 17 '19 at 09:07
  • aah I think it was developers fault. developer was setting state in frontend to check if user has downloaded. I think IAP should mitigate this or creating custom user accounts of paid users – deadcoder0904 Mar 18 '19 at 03:55

0 Answers0