How is food security ensured in a country

Food security means availability, accessibility and affordability of food to all people at all times.
Food security is ensured in a country by
(i) Providing enough food for all the persons.
(ii) Enabling all the persons to buy food of acceptable quality.
(iii) Removing barrier on the access to food.