2

Is there a way to safely store login information inside a Chrome App, I think all database including IndexedDB and Sync storage is insecure?

I want to be able to provide an option where the user keys in the API key when the user first installs the app and then after just start without asking the API key at all.

Vikas Singhal
  • 811
  • 1
  • 9
  • 17

1 Answers1

0

I thinkg that the answer to this question can help you:

JavaScript REST Client and session management

Basically, you want the same kind of auth as any other web app has, by generating a session key at login for the user, and then make communications between client and server by only using this key.

Do not use IndexDB or Sync storage since they're not secure (see http://developer.chrome.com/apps/storage.html)

Hope this helps you.

Community
  • 1
  • 1
Aerilys
  • 1,628
  • 1
  • 16
  • 22