可以从网址获取代码并执行它吗?

是否可以从网址获取代码,然后使用python执行代码?

I want to make somewhat of a lock so not everyone can easily run my script if they are not whitelisted. I understand Python is easily reversible (with most of the obfuscators) but regardless I'd like to add it.