Verb + de + infinitive
interdire
deno preposition
The constructions
deinterdire à quelqu'un de + infinitif
Meaning : to forbid someone to do
Le médecin lui a interdit de fumer.
no prepositioninterdire quelque chose
Meaning : to ban something
La ville a interdit les voitures dans le centre.
Why
Interdire à quelqu'un de faire, like permettre: à before the person, de before the action. Before a noun, the thing forbidden is direct. The participle follows another logic: il est interdit de fumer.