Skip to content

Mobile app best practices, variable session length? #1995

Answered by kszafran
kszafran asked this question in Q&A
Discussion options

You must be logged in to vote

I think I just found a relevant thread: #1603 But I'm still not clear what the best practice would be when it comes to mobile apps. In that thread the following two suggestions were made:

  1. Strict TLS enforcement with certificate pinning for HTTPS connections
  2. Storing credentials in the OS credentials chain

Regarding 1: While using HTTPS is a no-brainer, certificate pinning seems to be discouraged: https://www.digicert.com/blog/certificate-pinning-what-is-certificate-pinning While I understand that a mobile app would not necessarily need to rely on the deprecated HPKP headers, and it's possible to just roll out a new app version if a certificate is revoked, it would still be disruptive to …

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@vinckr
Comment options

@kszafran
Comment options

Answer selected by vinckr
Comment options

You must be logged in to vote
1 reply
@kszafran
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants