According to British Commonwealth law here and in most countries the seashore is owned by the Government.
It's 66 feet from the waterline here.
The seashore can be managed and docks can be built with applications and fees but remain open to the public.
Obviously this rule is bent everywhere and disputes are arbitrarily settled by the locals with little regard for actual law.