Can an immigration officer search my electronic devices at the border? What is a basic search? What is an advanced search? Can the officer search my cloud?
In short, they can pretty much search whatever they want. You can certainly refuse any search but the officer may not admit you and/or [...]