Directional light issues

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?