I reality it has not such type of security in flash , but now the most constructor of DSP and particularly in fpga design utilise a cryption algo to protect data & program in flash (code=>cryption=>load in flash) altera corp developped this type of security you can see in http:altera.com