How to setup Admin/User Account and it respective features in livecode

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10048
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: How to setup Admin/User Account and it respective features in livecode

Post by FourthWorld » Thu Jan 28, 2021 3:34 am

For encryption see the built-in encrypt and decrypt commands.

But passwords are not commonly stored encrypted. In fact, these days they're almost never stored at all. Instead, a salted hash is stored, and what the user enters is run through the same algo to compare with the stored hash.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

mtalluto
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 128
Joined: Tue Apr 11, 2006 7:02 pm
Contact:

Re: How to setup Admin/User Account and it respective features in livecode

Post by mtalluto » Thu Jan 28, 2021 10:28 pm

stam wrote:
Thu Jan 28, 2021 2:52 am
...
Mark - I am using LiveCloud and there is a lot to commend it. But there are limitations with the authentication system. Our users won’t use a an email as a username for one (work emails are far too long and doctors far too lazy). For another there are no assignable privilege sets/roles.

Not a big deal - my plan is is to create a small number of access level accounts/group accounts and assign them to users. I would maintain my own username/password and relevant account details in a different table, hard code the user account credentials in the app and if the local username/password passes the test it would log on via the appropriate group. A nice crypto library would be good for password storage - hence I expressed interest when Richard mentioned he may be sharing a library.
Hi Stam. You and I have had many solid exchanges. You have been a great supporter. We have plans to add more to our built-in user features. Roles and privileges are coming down the road.

My post was more for the OP (lemodizon) and the general audience that may follow this thread. It is possible to roll your own admin/user features with any database. Richard's efforts in increasing awareness of NextCloud to the LiveCode community help provide another option. Pink has a working library for CouchDB. LiveCode comes with an AWS inclusion. Build your own storage using LiveCode with arrayEncode/Decode. So many choices.
Mark Talluto
--
Canela
design - develop - deploy: https://appli.io
Database and Cloud for LiveCode Developers: https://livecloud.io
Company: https://canelasoftware.com

Post Reply