Photo by https://www.flickr.com/photos/thejointstaff/
Legal
A magistrate signed off on the search warrant, so it must be kosher.
Illegal
The more we learn, the more we find basic rules were broken.
Apparently many of the documents seized by the FBI contained documents covered under attorney-client privilege.