White House spokesman Sean Spicer fields a question during the daily press briefing at the White House in Washington, DC, on January 31, 2017. / AFP / NICHOLAS KAMM        (Photo credit should read NICHOLAS KAMM/AFP/Getty Images)
NICHOLAS KAMM/AFP/Getty Images
White House spokesman Sean Spicer fields a question during the daily press briefing at the White House in Washington, DC, on January 31, 2017. / AFP / NICHOLAS KAMM (Photo credit should read NICHOLAS KAMM/AFP/Getty Images)
Now playing
01:50
Sources: Trump approved staff phone search
NBC
Now playing
00:59
Spicer laughs when asked about defending false Trump claims
WASHINGTON, DC - JUNE 06:  White House Press Secretary Sean Spicer listens during the daily briefing at the James Brady Press Briefing Room of the White House June 6, 2017 in Washington, DC. Spicer held the daily briefing to answer questions from the members of the White House press corps.  (Photo by Alex Wong/Getty Images)
Alex Wong/Getty Images
WASHINGTON, DC - JUNE 06: White House Press Secretary Sean Spicer listens during the daily briefing at the James Brady Press Briefing Room of the White House June 6, 2017 in Washington, DC. Spicer held the daily briefing to answer questions from the members of the White House press corps. (Photo by Alex Wong/Getty Images)
Now playing
00:50
Spicer: Daily White House briefings 'not worth it'
HLN
Now playing
02:24
Spicer explains inaugural crowd size remarks
HLN
Now playing
01:01
Spicer: There was a scrutiny never seen before
HLN
Now playing
02:17
Jones: Things Spicer said hard to explain
sean spicer se cupp intv i screwed up sot_00002719.jpg
sean spicer se cupp intv i screwed up sot_00002719.jpg
Now playing
00:58
Sean Spicer: 'I screwed up' as press secretary
Former White House Press Secretary Sean Spicer speaks onstage during the 69th Annual Primetime Emmy Awards at Microsoft Theater on September 17, 2017 in Los Angeles, California.  (Photo by Kevin Winter/Getty Images)
Kevin Winter/Getty Images
Former White House Press Secretary Sean Spicer speaks onstage during the 69th Annual Primetime Emmy Awards at Microsoft Theater on September 17, 2017 in Los Angeles, California. (Photo by Kevin Winter/Getty Images)
Now playing
01:04
Spicer's Emmy appearance gets mixed reviews
spicer kimmel 9.14
abc/"jimmy kimmel live!"
spicer kimmel 9.14
Now playing
01:10
Sean Spicer makes first late night appearance
Sean Spicer SNL Melissa McCarthy wxp_00000000.jpg
Fox News / "Saturday Night Live"
Sean Spicer SNL Melissa McCarthy wxp_00000000.jpg
Now playing
01:01
Spicer on 'SNL': A lot of it was over the line
WASHINGTON, DC - JUNE 12:  White House Press Secretary Sean Spicer conducts a White House daily briefing at the James Brady Press Briefing Room of the White House June 12, 2017 in Washington, DC.  White House Press Secretary Sean Spicer held his daily briefing and answered questions surrounding U.S. Attorney General Jeff Session's role in the Russian interference in the 2016 presidential election.  (Photo by Alex Wong/Getty Images)
Alex Wong/Getty Images
WASHINGTON, DC - JUNE 12: White House Press Secretary Sean Spicer conducts a White House daily briefing at the James Brady Press Briefing Room of the White House June 12, 2017 in Washington, DC. White House Press Secretary Sean Spicer held his daily briefing and answered questions surrounding U.S. Attorney General Jeff Session's role in the Russian interference in the 2016 presidential election. (Photo by Alex Wong/Getty Images)
Now playing
01:25
Spicer talks to CNN about resignation
Getty Images
Now playing
02:11
Spicer's most eventful press briefings
some things spicer hasn't said to trump orig allee_00000000.jpg
some things spicer hasn't said to trump orig allee_00000000.jpg
Now playing
01:22
What Spicer and Trump don't talk about
Getty Images, CNNMoney
Now playing
01:11
Spicer explains reason for off-camera briefing
White House Deputy Press Secretary Sarah Huckabee Sanders speaks during the daily press briefing in the Brady Press Briefing Room at the White House in Washington, DC, May 10, 2017.
SAUL LOEB/AFP/Getty Images
White House Deputy Press Secretary Sarah Huckabee Sanders speaks during the daily press briefing in the Brady Press Briefing Room at the White House in Washington, DC, May 10, 2017.
Now playing
01:04
Who is Sarah Huckabee Sanders?
NBC/Broadway Video
Now playing
02:03
'Spicey' returns to 'SNL'

Story highlights

Spicer informed staff that the use of encrypted texting apps was a violation of the Federal Records Act

He also asked to review both his staff's government-issued and personal cell phones

(CNN) —  

White House press secretary Sean Spicer recently checked his aides’ cell phones to ensure they weren’t communicating with reporters as part of an aggressive effort to stem the recent tide of White House leaks.

Spicer called staff into his office last week to reiterate his frustration with the leaks, sources with knowledge of the matter said. He informed them that the use of encrypted texting apps, like Signal and Confide, was a violation of the Federal Records Act.

Then, with White House counsel Don McGahn standing by, Spicer asked his staff to provide him with their cell phones so he could ensure they were not using those apps or corresponding privately with reporters.

Spicer asked to review both his staff’s government-issued and personal cell phones, the sources said. He also specifically asked his staff not to leak information about the meeting or his efforts to crack down on leaks to the media, one source said.

The meeting, which Politico first reported, comes as the White House increases security measures to address President Donald Trump’s anger over leaks from administration officials and staffers.

Spicer, who declined to comment on the meeting, was particularly frustrated with the fact that the decision to appoint Mike Dubke as White House communications director, which CNN first reported, was leaked to the press a week earlier, the sources said. Spicer and Dubke are friends, and Spicer had backed his appointment.

CNN’s Jim Acosta and Jeff Zeleny contributed to this report.