Is it normal to not be able to set script of objects in an encrypted stack?
Mike Kerner
MikeKerner at roadrunner.com
Fri Dec 31 13:38:55 EST 2021
Glad you solved it, but as long as we're throwing ideas around, you should
be able to have a script of a button use do, so you really can have it do
anything. You would just put the script into a variable, make the variable
global, and have the button do the variable.
On Thu, Dec 30, 2021 at 6:20 PM Tom Glod via use-livecode <
use-livecode at lists.runrev.com> wrote:
> Hey guys, while this is interesting to know and think about ..... i solved
> my problem by not needing to set the script.
>
> Thanks for taking time
>
>
>
> On Thu, Dec 30, 2021 at 4:54 PM Ralph DiMola via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>
> > 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
> >
> >
> > _______________________________________________
> > 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
>
--
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."
More information about the use-livecode
mailing list