Api call security Over IP VM204

Hello Forum …
I am a new user and I state that I am little expert on the VM204 Relay board.
I found to my surprise that it is possible to turn a relay on and off with a simple Fantastico API call.
I also saw that it is possible to customize the card with a javascript …
I come to my question is it possible to make the card execute the API call for example only from an IP address?

is it possible to insert the control javascript code through customization on the card?

Has anyone already addressed this aspect?

Thanks to anyone who can give me some suggestions or clarifications.