Controlling spontaneous emission with nanostructures door