Enabling secure mode.