The city may not have walls, but do they belong to the civilization that built the Great Wall?
You have also the solution of putting troops in all adjacent squares will prevent the city from getting the corresponding resources, eventually starving it to death.
Finally, if you happen to win the city, build only colons: each one will remove one population.