Under PGA Tour rules, spectators are not allowed to take pictures or video of players on competition days.
A short video posted on CBSSports.com shows a tournament official pulling Williams's phone down as she was about to snap a photograph with her phone during the second round of the Honda Classic and she then tweeted about the episode.
"Apparently you can't take pictures of golfers. In my defense peeps always take pics of tennis players," Williams tweeted.
Williams, who did manage to post a picture of Woods driving from the tee on her Twitter account, although it was not clear if she herself had taken the picture, also said the security was "mad" and "yelled" at her during the episode.
Photograph: Jumana El Heloueh/Reuters