Hello,
How to prevent access to a drive contents?
Since, usage of dos commands like dir lists the contents of the drive.
I want to prevent everybody accessing the particular drive through dos commands.
Though i made changes in registry like NoViewOnDrive, NoDrive, dir command breaks the security provided by them.

Actually, I have an application that creates a drive and it can be mounted as well as unmounted. Till the time the drive is mounted, it is accessible through command prompt commands which I want to stop so as to provide security to that drive.
Please, suggest me a way to come around this problem.