Law firms warned against sharing information online