- Set up auto login to a 'guest' user, with no/very restricted access.
- Have a simple login popup window, with a text field for the username, a password field for the password, and a button to submit. On the button, you'll run
system.security.switchUser
, passing in the username and password from the text fields. If the user credentials were valid, you're now logged in as the appropriate user. If not, they'll get an error indicating a problem.
1 Like