How can I show the user the default password on his phone?

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
liveCode
Posts: 119
Joined: Sun Oct 17, 2021 5:53 pm

How can I show the user the default password on his phone?

Post by liveCode » Sat Feb 26, 2022 8:33 pm

I create an app and I want the user to have to enter the password with which he opens the phone when logging in.
how do I do it?
Thanks

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7214
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: How can I show the user the default password on his phone?

Post by jacque » Sun Feb 27, 2022 7:04 pm

I don't think you can, it would be a security risk. Also, not all users have a password, they might use a PIN, a pattern, face recognition, or fingerprint. Why do you need it?
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9285
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: How can I show the user the default password on his phone?

Post by richmond62 » Sun Feb 27, 2022 7:08 pm

That does sound odd.

On my Android phone I draw a pattern on-screen to log in.

For apps (such as my Bank) I have completely different passwords.

If I thought someone was making a LiveCode app to work out my log-in pattern
on my Android phone I would set alarm bells ringing.

liveCode
Posts: 119
Joined: Sun Oct 17, 2021 5:53 pm

Re: How can I show the user the default password on his phone?

Post by liveCode » Sun Feb 27, 2022 8:29 pm

I want him to have a screen that he will have to enter the password / fingerprint
To protect the app because the user is supposed to enter private things there

stam
Posts: 2634
Joined: Sun Jun 04, 2006 9:39 pm
Location: London, UK

Re: How can I show the user the default password on his phone?

Post by stam » Sun Feb 27, 2022 9:00 pm

richmond62 wrote:
Sun Feb 27, 2022 7:08 pm
That does sound odd.
Richmond, I suspect (s)he is not referring to accessing the system password, but instead hooking into the mobile OS’s biometric authentication mechanism to authenticate the app’s specific password.

For example I can set a password for my bank app and have it authenticate with facial recognition. Nothing alarming there.

Not sure if that’s doable with LiveCode, perhaps someone wiser can advise?

stam
Posts: 2634
Joined: Sun Jun 04, 2006 9:39 pm
Location: London, UK

Re: How can I show the user the default password on his phone?

Post by stam » Sun Feb 27, 2022 9:02 pm

To answer my own question, it is possible with an external - mergLA.

See http://mergext.com/home/mergla/

Edit: this appears to be iOS only; not sure what you’d do on Android…

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”