Abstract: A system and method for preventing access to a drive opening of a disk drive or unauthorized removal of a disk from the disk drive opening. The system comprises a drive having a drive opening and a disk tray movable between a retracted position preventing access to the opening and extended position allowing access to the opening. A software or hardware security module prevents the disk tray from being moved to the extended position to prevent access to the drive opening. The method for preventing a disk from being removed from a drive includes determining whether the disk is in the drive, determining whether a correct password has been entered, and preventing ejection of the disk by an ejector based upon those determinations.