Re: Obscuring password data in a data grid

2011-05-16 Thread Trevor DeVore
2011/5/16 Björnke von Gierke > you can open any arbitrary stack with any livecode made standalone. just > drag drop the stack file onto the standalone, or use the file association > dialog of the OS (for example right click "open with..." on windows, then > select any standalone). Doing so will

Re: Obscuring password data in a data grid

2011-05-16 Thread Björnke von Gierke
you can open any arbitrary stack with any livecode made standalone. just drag drop the stack file onto the standalone, or use the file association dialog of the OS (for example right click "open with..." on windows, then select any standalone). On 16 May 2011, at 18:02, Trevor DeVore wrote: >

Re: Obscuring password data in a data grid

2011-05-16 Thread Trevor DeVore
On Mon, May 16, 2011 at 11:47 AM, Mark Schonewille < m.schonewi...@economy-x-talk.com> wrote: > Does that prevent AppleScript also from opening another stack in a > standalone and executing the openStack handler? No. But your code that process the AppleScript events for opening files handles tha

Re: Obscuring password data in a data grid

2011-05-16 Thread Mark Schonewille
Hi Trevor, Does that prevent AppleScript also from opening another stack in a standalone and executing the openStack handler? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK

Re: Obscuring password data in a data grid

2011-05-16 Thread Trevor DeVore
On Mon, May 16, 2011 at 11:33 AM, Mark Schonewille < m.schonewi...@economy-x-talk.com> wrote: I've just posted one possible solution. Thanks. The developer can block these actions with the following line in an appleEvent handler placed in a library stack, however: ## Don't let user execute random

Re: Obscuring password data in a data grid

2011-05-16 Thread Mark Schonewille
Trevor, I've just posted one possible solution. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http

Re: Obscuring password data in a data grid

2011-05-16 Thread Mark Schonewille
Richard, Make a stack with the following script in the stack script: on openStack insert script of btn 3 of me into back end openStack The back script should be: on bla return the text of fld 1 of stack "x" end bla and the AppleScript: tell application "LiveCode 4.6.1" set x

Re: Obscuring password data in a data grid

2011-05-16 Thread Trevor DeVore
On Mon, May 16, 2011 at 11:05 AM, Mark Schonewille < m.schonewi...@economy-x-talk.com> wrote: > Yes. This is good to know. Can you point me towards some example scripts so that I can experiment with this in applications built with LiveCode? -- Trevor DeVore Blue Mango Learning Systems Live

Re: Obscuring password data in a data grid

2011-05-16 Thread Richard Gaskin
Mark Schonewille wrote: On 16 mei 2011, at 16:53, Trevor DeVore wrote: Can AppleScript access the text in LiveCode fields? Yes. How? I had thought the AE dictionary was limited to DOSC and EVAL, thereby limited access to only those things the scripter has implemented (or at least not bl

Re: Obscuring password data in a data grid

2011-05-16 Thread Mark Schonewille
Yes. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 16 mei 2011, at 16:53, Tre

Re: Obscuring password data in a data grid

2011-05-16 Thread Trevor DeVore
On Mon, May 16, 2011 at 10:36 AM, Mark Schonewille < m.schonewi...@economy-x-talk.com> wrote: > Until a clever bloke writes an AppleScript that gets all the strings from > the current card. Can't control that :-) > Can AppleScript access the text in LiveCode fields? -- Trevor DeVore Blue Mang

Re: Obscuring password data in a data grid

2011-05-16 Thread Mark Schonewille
Until a clever bloke writes an AppleScript that gets all the strings from the current card. Can't control that :-) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553

Re: Obscuring password data in a data grid

2011-05-16 Thread Trevor DeVore
On Fri, May 13, 2011 at 9:55 AM, Nonsanity wrote: > Careful with a password protect font. It may not be readable, but someone > can select, copy, and paste somewhere else to read it. As the developer of an application you have control over what can be selected, cut or copied to the clipboard. Y

Re: Obscuring password data in a data grid

2011-05-13 Thread Keith Clarke
...indeed - plus, there's the added bonus of less scripting required to count the characters! :-) On 13 May 2011, at 16:53, Bob Sneidar wrote: > If it's anything like important to protect these passwords, show 8 bullets > for everything. For one, you don't have to worry about column width for

Re: Obscuring password data in a data grid

2011-05-13 Thread Bob Sneidar
If it's anything like important to protect these passwords, show 8 bullets for everything. For one, you don't have to worry about column width for really long passwords, and secondly, knowing how long a password is goes a long way towards brute forcing it. Bob On May 13, 2011, at 7:13 AM, Ke

Re: Obscuring password data in a data grid

2011-05-13 Thread Bob Sneidar
Agreed. It works for password entry into a temporary dialog box, but not good for storage (if you care anything about real security). You can actually copy the default datagrid parent script to another button and then set the parent script of the datagrid to the new button. At that point you c

Re: Obscuring password data in a data grid

2011-05-13 Thread Keith Clarke
...good points well made, Chris. The password protect font was intended to a) show the user that they'd actually entered something and b) provide 'over the shoulder' protection. My intention is to have the data grid read-only but with rows selectable. Row data entry/editing would be in a dialo

Re: Obscuring password data in a data grid

2011-05-13 Thread Keith Clarke
...ah, good tip - thanks Mike. On 13 May 2011, at 14:44, Mike Bonner wrote: > Ah k, think you need to set up a custom template for the column you want to > be your password field at which point you should be able to do what you want > with its specific field. > > Look here > http://lessons.runre

Re: Obscuring password data in a data grid

2011-05-13 Thread Nonsanity
Careful with a password protect font. It may not be readable, but someone can select, copy, and paste somewhere else to read it. I'd only do this if it were a list of my passwords that I didn't want people to read over my shoulder, but then in that form, I can't read them either so what's the point

Re: Obscuring password data in a data grid

2011-05-13 Thread Mike Bonner
Ah k, think you need to set up a custom template for the column you want to be your password field at which point you should be able to do what you want with its specific field. Look here http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7311-How-Do-I-Customize-A-Table-s-Columns-

Re: Obscuring password data in a data grid

2011-05-13 Thread Keith Clarke
Thanks Mike, some useful grist to the mill there. FYI I already have the problem solved for a single password field - by using a PasswordEntry font (that has bullets set for all its glyph images). I seem to recall Trevor DeVore sharing this for maybe a Live 09 session (apologies to those concern

Re: Obscuring password data in a data grid

2011-05-13 Thread Mike Bonner
Not sure if this is what you want, but theres some cool stuff offered by Mark S here. http://www3.economy-x-talk.com/file.php?node=libraries One of the things at that location is a password field that you could probably use. If nothing else, m

Obscuring password data in a data grid

2011-05-13 Thread Keith Clarke
Hi folks, Any ideas on how one goes about obfuscating data in a 'Password' column of a data grid? I don't seen an option to set a column-specific password entry font, so could I perhaps use some clever property or behaviour trick on its containing cell? Best, Keith.. ___