Can we programatically protect CD/DVD by password?

730 Views Asked by At

I wrote a program to burn CD in C#, but now I want to protect my CD by a password. Is it possible?

1

There are 1 best solutions below

1
On

Yes. One solution would be.

1) Encrypt the real content on the DVD to a file
2) Make a application that decrypts it with your password
3) Add this decrypt application to CD autorun

AutoRun:
Is mostly disabled on machines by now, its default off in Vista+ and was disabled by Windows update in XP recently(And any admin is gonna disable this).

What this normaly means is that Windows will ASK if it should run the autorun application before its started ( Unlike before where it was just started).