(CNN) -- When a reporter asked Navy Cmdr. Tim Jirus whether he felt Building 197 at the Washington Navy Yard was secure, he answered the only way he could Monday.
In addition to the gunman, authorities said 12 people were killed and eight others injured when a shooter opened fire in Building 197 at the Navy Yard. Earlier, Navy Vice Adm. William D. French had said 14 people were injured.
Located in the heart of the nation's capital, the Navy Yard is home to high-level naval personnel. About 3,000 people work there, including junior service members and civilian employees.
It's supposed to be a secure facility. So what went wrong?
"It'll be interesting to see as this develops who the shooter is, how he got in, those type of questions answered. I think right now a lot of people are wondering, you know, just how safe the building is, or how safe the office environment is," Jirus said.
The FBI has identified the suspected shooter as Aaron Alexis, a 34-year-old military contractor from Texas.
He had access to the Yard because of his contracting work, and he used a valid pass to gain entry, said Valerie Parlave, assistant director in charge of the Washington FBI field office.
Jirus described how access typically works.
"I have a CAC card," he said, referring to a common access card, the standard ID for active duty uniformed service personnel, Selected Reserve, Defense Department civilian employees and eligible contractor personnel.
The ID also is the main card used to grant physical access to buildings and other controlled spaces.
"As a military person, we all have badges that we have to key the door to get in -- that allows us automatic access to the building.
"But again, if you're a contractor, if you're coming to visit the building, you can go through security and walk right in -- not walk right in, but you would check in through security," Jirus said.
Even to drive or walk onto the base, a person would be required to present credentials, said Navy Capt. Mark Vandroff. Building 197 has armed security at the door.
"There's a kiosk you go through, and it either gives you a green or a red light, but the green light shows that your credentials are recognized as someone who is supposed to be in that building.
"So you have to go through a couple of layers of security to get into Building 197 -- first to get access onto the Yard, and then through the doors to get in," Vandroff said.
CNN Pentagon Correspondent Barbara Starr has visited the Navy Yard several times over the years for stories.
In her experience, security is extensive. Everyone must have clearance to be there or valid identification that allows them entry.
If you were an employee of the facility, you would have a parking sticker and go through a checkpoint, Starr said. A guard would see your sticker, know that you were authorized to be on the compound and allow you to proceed.
If you were a visitor, as Starr would be, you'd call ahead and have an appointment. Guards would have your name at the gate, and you would be escorted to wherever you needed to go.
"So the question, of course, is -- how did somebody get a weapon onto the base?" she asked.
"Look, it is always possible in these types of situations, theoretically, to find your way around security measures. Somebody could have had a weapon in their car, unseen, hidden and taken it out.
"There's any number of ways it might have happened," Starr said.
CNN's Ashley Fantz and Susan Candiotti contributed to this report.