chmod 700 (rwx------) explained

The owner can read, write and execute; the group has no access; others have no access.

Octal
700
Symbolic
rwx------
ls -l shows
-rwx------

Who can do what

Class Read (4) Write (2) Execute (1) On a directory
Owner (u)YesYesYesList the files. Enter it and open files inside. Create, rename and delete files.
Group (g)NoNoNoNo access.
Others (o)NoNoNoNo access.

When to use chmod 700

Gives the owner full access and nobody else any access at all.

The right mode for private directories such as ~/.ssh and for scripts that only you should run. sshd's StrictModes check refuses to use keys when ~/.ssh is writable by anyone else.

Commands

Set the mode with octal digits, or with the equivalent symbolic form:

chmod 700 path/to/file
chmod u=rwx,g=,o= path/to/file

To apply it to every directory below a folder (and not to the files), combine it with find:

find path/to/folder -type d -exec chmod 700 {} +

chmod -R 700 changes files and directories alike, which is rarely what you want: directories usually need execute, regular files usually should not have it.

Work out any mode in the Chmod Calculator