You can follow these steps to restrict the access to your knowledge base.
3. For another layer of protection please enable "Accessible only via encrypted URL" option. After you enable this option, save settings and than copy and paste given link to your embed code (from step 1). This will make your KB inaccessible to everyone who doesn't have that long URL.
You can read more about this feature on this link.
4. That's it!