It is difficult in much of the US for boaters to find a place where they can legally anchor that also is adjacent to a public beach or public waterfront lands where it is legal, and safe, to go ashore. We’ve anchored in places where the shore access is blocked by private development or large-rock riprap unsafe to climb and to leave a dingy tied to while ashore.
The theme seems to be bar the public and boaters from beaches, navigable waterways, and waterfront lands providing public access to the water. Seems like a version of the same story exists everywhere. Here’s a article from today’s New York Times about public beaches: LINK
The Pacific coastal anchorage at San Simeon Cove has access via a public beach. Most anchorages in California, especially those in areas of heavy population–like the San Francisco Bay–do not.