Is it normal to not be able to set script of objects in an encrypted stack?
Ralph DiMola
rdimola at evergreeninfo.net
Thu Dec 30 16:54:24 EST 2021
I thought for a standalone if you "set the passKey of stack "x" to "y" you
will be able to modify scripts. This will only be in ram. If your standalone
saves the stack then do "set the password of stack to "y" before saving. If
someone is scraping ram memory then you have a problem, but if someone is
scraping memory you have bigger problems.
Ralph DiMola
IT Director
Evergreen Information Services
rdimola at evergreeninfo.net
-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf
Of Tom Glod via use-livecode
Sent: Thursday, December 30, 2021 4:34 PM
To: How to use LiveCode
Cc: Tom Glod
Subject: Re: Is it normal to not be able to set script of objects in an
encrypted stack?
Hmmm....I hear you, that makes sense.
On the flip side, as soon as I want to set the script of a button, I'm
doomed to have my code remain readable. I gotta think of a workaround for
why I was setting the script to begin with.
Thanks MIke.
On Thu, Dec 30, 2021 at 2:43 PM Mike Kerner via use-livecode <
use-livecode at lists.runrev.com> wrote:
> I would hope that would be the behavior. It would also make it harder
> for your stack to get borked by someone else.
> If I was trying to break that behavior I would try to put the code
> into a variable, encrypt the variable using the password, then set the
> script of the object to the encrypted version, although I don't know
> what algorithm LC is using.
>
> On Thu, Dec 30, 2021 at 2:13 PM Tom Glod via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>
> > Hi Folks,
> >
> > Today I found out that if I put a password on my stack, any code
> > that
> sets
> > the script of an object in that stack receives an execution error
> > when running as standalone.
> >
> > Why is this so?
> >
> > And is there a workaround?
> >
> > Thanks,
> >
> > --
> > Tom Glod
> > Founder & Developer
> > MakeShyft R.D.A (www.makeshyft.com)
> > Mobile:647.562.9411
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
>
>
> --
> On the first day, God created the heavens and the Earth On the second
> day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
> and did a little diving.
> And God said, "This is good."
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
--
Tom Glod
Founder & Developer
MakeShyft R.D.A (www.makeshyft.com)
Mobile:647.562.9411
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list