That would depend on who owns the flag.
Fx in Denmark the king owns the flag, and he has given the people right to flag it and do things with it, as well as things not to do with it. There are quite strict rules of how to flag your flag. The rules are old, and well established. You are of course allowed to look at the flag and photograph it, but you are not allowed to lay it on the ground, or fold it so the white cross is visible.
The government has no say in that, and there is no way a greedy government, or some institution, or a military unit can claim they own it and can set rules.
Many times I have taught people, and kids how to fold and hoist a flag.
So look into who owns the flag.