Nobody but guards on duty were allowed inside the building itself and outsiders were blank from the compound altogether.
The only words I can think of for blank are barred or forbidden to enter both of which sound a little too formal. Any advice?
English Language & Usage Stack Exchange is a question and answer site for linguists, etymologists, and serious English language enthusiasts. It only takes a minute to sign up.
Sign up to join this communityRestricted. Prohibited. A less formal construction might be, "Outsiders couldn't even get onto the compound, let alone into the building, where only guards on duty were allowed."
'prevented' - "They were prevented from entering the building" (a little bit formal)
'kept' - "They were kept from entering the building" (very straightforward, not formal, not particularly informal, very plain though)
'stopped from entering' - also very plain. (implies though a little bit more active intervention maybe as opposed to just say a fence)