Beds and large pieces of furniture with wood or metal legs often slip on hardwood floors, leaving scratches and removing the floor finish. For furniture that remains in position for a long period of time, such as a bed, there are many ways to keep the piece in place. There are other options for more mobile pieces that are periodically rearranged.
Apply rubber furniture cups under each leg of the bed to lock the bed to the floor. These universal grips are easy to use and are inexpensive. They are visible and will not work with all furniture leg shapes.
Apply gripper pads to the underside of the bed legs. These rubber grips are easy to work with because they have a self-stick backing and come in many shapes. The rubber won't completely stop a bed from moving but it will make it much more difficult to move. This style cannot be seen when in place.
Install bumper feet in much the same way as gripper pads. These tend to be taller than gripper pads and they are often used to completely stop the movement of glass table tops. There may be a slight give when pushing against the bed firmly.
Lift one corner of the bed and lay the rubber mesh shelf liner between the bed leg and the floor. Cut the liner so it is the same size as the bottom of the bed leg, repeating the process with the remaining bed leg. This method is inexpensive and doesn't use any glues so there will be no residue to clean at a later date. The bed should hold position against movement.