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
Post a Comment