Security on iframe

Just wanted to know if someone is getting the iframe from outside our website and is able to access the chatbot, how do we need to restrict the same? and also if they are able to get the bot id and sdk that would be a big problem. just wanted some suggestions on how we can restrict the user access to the chat only on that particular website ?