I can't remember the specific case, but there has been a lot of discussion by the Supreme Court on that issue. It goes back to the definition in the charter's section 8: to be safe “against unreasonable search and seizure”.
So what is “unreasonable”? If it's a regulatory scheme as opposed to a criminal scheme, then different access rules apply.