1. A media player for providing media security protection to a medium, the media player comprising: a security virtual machine configured to perform security decryption and decoding functions for the media player; an application virtual machine configured to perform application level functions for the media player; and a processing unit configured to run the security virtual machine and the application virtual machine; wherein the security virtual machine is further configured to use a security instruction set for performing the security decryption and decoding functions, and the application virtual machine is further configured to use an application instruction set for performing the application level functions, wherein the security instruction set for performing the security decryption and decoding functions is different than the application instruction set for performing the application level functions, wherein the security virtual machine is a different type of virtual machine than the application virtual machine, and wherein the application virtual machine is a JAVA-based virtual machine, and the security virtual machine is not a JAVA-based virtual machine.