On the Stability of Protected Beaches