You can turn off the public sharing:
-
Click Files in the toolbar.
-
Select the shared folder.
-
Click the ellipsis button at the top of the content pane.
A context menu pops up.
-
Click Share folder.
The Shared link window appears.
-
Disable Public sharing.
The original URL no longer works.
-
Click OK.