angularjs - Token Based Authentication - Security vulnerability? -


we doing html5 angularjs application. using token based authentication. authentication process logs user in jwt token returned application stored in sessionstorage.

we requested security audit on application , tester said big problem token stored in sessionstorage. because can copy token , impersonate user device.

where , how should store token make sure secure ? risk leaving in session storage since hacker need access actual device perform attack

regards

one way increase security on token storage store token in cooke httponly flag set. mean token accessed when app makes http requests.


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

qt - How to embed QML toolbar and menubar into QMainWindow -