To answer the second question, you need to add a file named autorun.inf to the directory structure. There is a good article
Here that will get you started, along with a ton of other websites that can be found via your favorite search engine.
To answer the first question, there are hundreds, if not thousands, of applications that can inhibit cd ripping. I say inhibit, because no copy protection is invulnerable. The thing is that once I open your website in my browser, I have full access to the code, and there is nothing you can do about it. The only way you can inhibit someone from getting the code is to use something like Silverlight or Flash to design the entire site. That makes it marginally more difficult to recover the source (but only marginally).
The partthat I don't understand is why you would even worry about protecting the CD anyway. Certainly you are not going to distribute your website via CD.... that would be sort of silly. Websites are meant to be visited on the web. A website that can only be viewed on a CD is not very useful. Backing up a website to CD is a good idea, but you certainly would not need to copy protect it from yourself?