TheProductWorks / SMART-android-app

Android version of the SMART Care Tool for the Community Midwifery team in The National Maternity Hospital, Holles Street.
1 stars 0 forks source link

Controlling time-syncing issues #7

Open Wogiebear opened 9 years ago

Wogiebear commented 9 years ago

Overview

As part of risk assessment for ISO 27001, time clock mismatch between apps and server was identified as a risk. This risk could result in a mismatch of access logs between the phones and the logs on the servers, thus reducing the integrity and traceability of the data.

Control

A proposal for controlling this risk is to investigate ways in which the app can use a timestamp from a server response at, say, login to check against local mobile device time. If the delta between the two is greater than, say, 2 seconds, then pop up an error in the app to block the user/log them out and asking them to refer to their IT administrator.

Not sure what the magic number here is for mis-sync. It will require some investigation to see what delta if any exists between handset and backend. Also, what happens at summer time changes?

NOTES