Quote:
Originally Posted by Kyranki
A while ago, Twinny (among others) requested the use of password protected variables.
|
There is a major MAJOR difference between "
protected" variables and "
password protected" variables. Protected variables are variables that only the local object can read/access. In other languages you can specifiy what other objects can access the variable but that's not as needed. Since this is not available, I've been doing what you just made.
Though I added call stack access the second it came out

. Now, the script needs to request the variable from the db. The db then checks the source object against a hard-coded (no variable to alter) array of allowed sources. If listed, the db will return the decrypted variable. I'm planning on releasing a nifty little script which shows a few of these features.