The acting director of the Secret Service told former President Donald Trump that significant additional security arrangements and planning would be needed if he wanted to continue safely playing golf, according to three people with knowledge of their conversation.

The agency’s acting director, Ronald L. Rowe Jr., made the recommendation Monday afternoon at a meeting with Trump in his office at Mar-a-Lago, his private club and home in Palm Beach, Fla.

The meeting came just 24 hours after a second apparent assassination attempt on Trump within just two months.

Trump asked Rowe whether it was safe for him to keep playing golf, one of the people said. Rowe discussed the difficulties of securing sprawling golf courses near public roads and said some of Trump’s courses were easier to protect than others, one of the people said.

It is unclear what changes Trump will make to his golf schedule, and some people in Trump’s orbit are frustrated at any notion he might have to cut back on his weekly activity. They questioned why President Joe Biden was able to visit open beaches but Trump should have to restrict his golf.

However, Trump and Biden do not receive the same level of security. One of them is a sitting president and one is a former president. But since the first attempt on Trump’s life in July in Butler, Pa., in July, both Republican and Democratic lawmakers have raised concerns about his protection. Biden has called on the Secret Service to provide whatever additional resources are required to keep Trump safe.

Authorities said the suspect in the latest case, Ryan W. Routh, hid for 12 hours on Sunday near the Trump International Golf Club in West Palm Beach. After a Secret Service agent spotted Routh poking the barrel of a gun through bushes on the course’s perimeter, that agent opened fire, leading Routh to run to his car, officials have said.

Police pulled Routh over on the side of Interstate 95 about 45 minutes after a witness photographed his license plate.

Rowe told Trump that the Secret Service views the golf course at Joint Base Andrews as easier to secure than some of his courses, because it’s a military course, two of the people said. Barack Obama frequently played there during his presidency.