Door is not necessary to buy from the market when a person can use the shipping pallets to create it at home; the pallets are strong to be used to make the rustic look pallet door for the security purpose. So, there is no need to worry if the person is considering pallets to create door.
Check out this project on RYOBI Nation - Needed a baby gate for the top of our basement stairs. I took out the existing basement door, and placed a 29" by 36" wooden baby gate. Made from 1x4 common boards, sanded it down, stained it Golden Oak, screwed it together with 1.25" wood screws, used a gate latch also.
Must-see Prodigious Pallet Barn Door Set • Pallet Ideas