View Single Post
  #3  
Old 01-14-2008, 12:31 AM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Quote:
Originally Posted by Kyranki View Post
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.

Last edited by Twinny; 01-14-2008 at 12:42 AM..
Reply With Quote