Hello all,
I am attempting to implement a simple login/password protected mobile stack. My original understanding was that variables canot be saved on stack closing so if you want a password or high score you have to write to an external file. Then i recently learned that global variables are saved on close (I think?) its not a real security issue so i could essentially just change and check a couple of globals to create a password UI (Right?) Then i have seen some post on here hinting that there may be a built in password system but I can not find any info AT ALL on it. Can anyone shed some light on the best choice for a simple password system for NON sensitive information. It would be cool if it was legit and hard to get around but its not worth a lot of effort into making the password system uncrackable
Password system options
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 746
- Joined: Sun Feb 04, 2007 11:01 pm
Re: Password system options
Hi madmaxpowers,
Global variables are not saved. They are only held in memory while the app is running. The easiest solution is to save the PWD to a txt file. Also take a look at "ask password" in the dictionary.
Global variables are not saved. They are only held in memory while the app is running. The easiest solution is to save the PWD to a txt file. Also take a look at "ask password" in the dictionary.
Tom
MacBook Pro OS Mojave 10.14
MacBook Pro OS Mojave 10.14