Directional light problem

Hey , need some help. I got a building with a windows and a directional light , i want light coming from directional light actor , just affect everything outside of building , and not pass through windows , is it possible to do?

So like you mean the light has to illuminate the surfaces outside the building but not come inside the building ? (From the outside) ?