Use the nrfutil device protection-set command to enable readback protection on a device.
Readback protection prevents unauthorized access to the device's memory contents through debug interfaces. In Nordic Semiconductor hardware, the readback protection is implemented using the access port protection mechanism (AP-Protect). See Managing access port protection in the nRF Connect documentation and the hardware documentation for more information.
Tip
You can use the nrfutil device protection-get command to check the current status of the access port of your device.