A Maine court ruled that private property owners will be able to bar the public from parts of Goose Rocks Beach in Kennebunkport.