Is it possible to write-protect an NFC tag using the Web NFC API?

352 Views Asked by At

I'm trying to use the three basic NFC functions in Google Chrome (Web NFC API, navigator.nfc).

I know it's possible to read and write NDEF messages on tags. What I did not find out yet is how to protect the written data on the tag from being overwritten. Is this possible?

1

There are 1 best solutions below

0
On

The Web NFC API specification explicitly mentions write-protection of NFC tags as one of the highest-priority threats (see section 7.2):

Protecting existing NFC tags from being overwritten by malicious web pages.

However, in its current state, the Web NFC API itself does not provide a way to set write-protection for a tag.