dwn-sdk-js
dwn-sdk-js copied to clipboard
Add current time check against to messages received
Currently we don't check the messageTimestamp
against the current server time when authorizing a message. We should do this to prevent blatant backdated "new" message to be accepted.
There will be times when a DWN needs to bringing in messages with an older time stamp, but those fall into the category of "synchronization", which in my mind has a different authorization context.