You sign a piece of paper that states Apple can basically do whatever they want with your machine and that they're not liable for data loss when you take it in. If you are paranoid about what's on your hard drive, you should put in a blank drive before getting it serviced.