I am trying to learn Alexa skill programming as part of which I have set up a skill interface in the Amazon developer portal and the corresponding AWS Lambda function. The skill is functioning fine but I have a question on the security aspect of the Lambda function. I have selected Alexa Skill Kit as the trigger for the Lambda function and am also comparing the application id in the request to the application id of the skill to verify request is intended for the function. (https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/handling-requests-sent-by-alexa).
But even then how do I restrict the Lambda function to be invoked by another skill which gets to know the Lambda arn? Can this not be misused to waste compute resources etc?