Leticia Meyer
Leticia Meyer

Reputation: 91

Execute arbitrary code in Corona

Is it possible to execute any arbitrary lua code in Corona? They've disabled loadfile, loadstring, and dofile. Are there any other ways to do this?

Upvotes: 1

Views: 401

Answers (2)

pookzilla
pookzilla

Reputation: 406

You might be able to enable the features you've mentioned with a Corona enterprise license (although that's relatively spendy if you're a small shop/independent developer.)

Upvotes: 0

penguinrob
penguinrob

Reputation: 1459

There's a reason they've disabled it. Apple's restrictions don't allow it, so they took it out altogether for that reason. Not to mention it makes Corona more secure, I suppose.

Upvotes: 2

Related Questions