Firstly if you are using XP home, why do you want to restrict access to your CD-RW??
It is acomplicated process if you get it wrong or miss a step you could totally lose access to your CD-RW and have to reload your OS
BEFORE YOU ATTEMPT ANY OF THE FOLLOWING, CREATE A RESTORE POINT THROUGH SYSTEM RESTORE!!!!!!!!!
It is not possible to password protect your CD-RW drive although it is possible to restrict access. Use the following Steps.
right click on the drive, from the menu select "sharing and Security", selest the "share this drive" radio button, click the permissions button, click add, click advanced, click find now then from the list select Administrators group (if this is too many users for you, select your own account)and Systemgroup, click ok, click ok, in the permissions dialogue box click on the everyone group then click remove. click ok and the permissions for access to your CD-RW have been reastricted only to allow Administrators and your System to access that drive.
hope this helps