You could have the script use the REST API to update records. However, I don’t recommend it, because your API key would be exposed to all of the users of the base. If you cannot trust them with editing access to the base, you should not trust them with your API key.