Pest control to prevent wastage of expensive seeds

Many of the seeds available are fairly expensive, yet all the seeds may be wasted if there are rats,squirrels, mice and birds in the area.
The squirrels and birds are likely to create a problem if the seeds are planted in a terrace garden or in the open
Rats and mice are more likely to create a problem for seeds sown in the ground or mud, however there are some mice and rats which climb the terrace and eat the seeds and seedlings
So it is advisable to grow the seeds in an area which is well protected from all the pests.
However the roots are often getting damaged during transplantation, so many prefer to grow the seeds in the area where they want the plant to grow.