There is the code to create a secure image under this.