Is there anyway to keep a function from being started via a web browser?
I have a function that takes a parameter of a file and works with that file. If I call that function from a web browser I can execute it outside of the plugin. Is there anyway to prevent this? The function should only be able to be called from within the plugin. I ask as this could be turned into a malicious security hole.
The only thing I can think of would be to set a Dict['code'] variable to check against. I don't want to pass the parameter via a Dict[] because the function can be nestled.
Thanks,
Chris