Apparatus for recording and playing storage medium and the method thereof

The present invention relates to a data recording and / or reproducing method and apparatus of the storage medium. The present invention, by performing an authentication performing authentication to determine whether or not the host is legal to forward the write command to the recording apparatus portion; When it is determined that the host is legitimate, it is included in the recording instruction from the host module selection unit based on the operation module in the module selection information specifying the selected work module, and pass the write command to the selected work module; At least one task module, with respect to the user data included in the write command from the module selection unit, based on the device information stored on the information recording apparatus and the storage device and for generating the output information by performing a predetermined operation; And the output information includes a recording unit recording on a storage medium. According to the present invention, it is possible, while maintaining the security of the device allows the application software to perform the operation using the disc information and device information.