Can I make some of my hard drives invisible to certain programs?

Solution 1:

If you only sometimes use these drives for accessing the contents, go ahead and unmount the volume.

You can use disk management to delete the drive letter for the volume, stopping programs from finding or referencing it. You can mount the drive again later as needed.

This also prevents you from working with those files, or anything else.

Here is a tutorial.

Tutorial