For hatchling corn snakes a small enclosure with adequate ventilation will be suitable. Remember, these neonate snakes can escape any cage with gaps or holes the size of their snout. A 15 or 20 gallon aquarium with a locking lid is adequate space for an adult corn. These are either toxic to your snake or are not absorbent therefore promoting the growth of bacteria. Folded newspaper while not aesthetically pleasing is sanitary, inexpensive and convenient.
Aspen beddings are natural and absorbent substrates that most breeders and keepers use.
Pine shavings are sometimes used, but I only recommend them for adult snakes. There is talk lately about the toxic properties of pine and fir. Especially when it gets in your pets drinking water. You only need to remove the soiled portions of the beddings routinely and only have to completely change the contents periodically. Let your eyes and nose dictate the frequency of maintenance.