How to restrict users to specific folders

With QBox, we can restrict users to specific folders. For example, restrict crio-user to the /home/crio-user directory only. This will help create multiple users with private folders that nobody else can see.
How can we do this?

You can google for ways to jail users to their home directory with vsftpd.