Re: Best Temp Pass Autoresponder?

2019-07-13 Thread Alex Tweedly via use-livecode
It's kind of hard to answer that without knowing how your passwords are 
set up and managed already, or what/how you need to use or check them.


So I won't answer directly, but offer a sideways suggestion 

Don't have passwords.

Nearly all sites that have passwords offer some kind of recovery 
mechanism - which almost always uses a (verified and registered) email 
address to send a recovery link. So just skip the step of having 
passwords at all  - and have a mechanism that users can type in their 
email address, and be sent a short-lived, one-time use link to their 
email address.


When requested you generate a token, store that in your database (or 
whatever), and then send an email that might look something like ...



To login to kilmelford.com, please click on the link below.
http://kilmelford.com/lcms.lc9/login_request/email/2019-07-13_15:17:47_df2471f6a4b8...de964b3ec

If you did not ask for a login code/link to be sent to you,
please let us know by forwarding this email toi...@kilmelford.com
(obviously that's not the correct full code :-), and when you get a 
request like that, you compare the token with your database (and check 
whether it has expired or not), and if OK then you log the user in and 
remove the entry for this token.


When I "log the user in" I send them a cookie that verifies their 
status, and which expires in a limited time (say one day, or one week), 
and after that they just request a new emailed token/link.


Alex.

On 13/07/2019 18:03, Rick Harrison via use-livecode wrote:

I need to set up a temporary password
email autoresponder for my website
using LC if at all possible.  This would
obviously be for people who have
forgotten their password and need
a temporary one.

I realized I’m probably not the only
one here who has run into this problem,
and I don’t want to reinvent the wheel.

What is the best approach and does
anyone have a solution that is working
well for them?

Thanks,

Rick
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Best Temp Pass Autoresponder?

2019-07-13 Thread Rick Harrison via use-livecode
I need to set up a temporary password
email autoresponder for my website
using LC if at all possible.  This would
obviously be for people who have
forgotten their password and need
a temporary one.

I realized I’m probably not the only
one here who has run into this problem,
and I don’t want to reinvent the wheel.

What is the best approach and does
anyone have a solution that is working
well for them?

Thanks,

Rick
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Gzip in HTML5

2019-07-13 Thread JJS via use-livecode

Indeed very interesting, Danke Hermann!


Op 12-7-2019 om 23:09 schreef Alain Vezina via use-livecode:

Thanks a  lot Hermann,

Your PDF file is a trove of information to develop in HTML5.

Alain Vezina



Le 12 juil. 2019 à 13:01, hh via use-livecode  a 
écrit :

Nothing directly/manually.
The "need" for Gzip is meant to speed up serving the HTML5 standalone.
This is done (after configuring the .htaccess file) by the server.

The standalone builder gives you the files exactly as you need them.
What you can change to your taste is the html file connected to the standalone.

Here is the pdf of a talk I gave in 2016, the second part contains
an example customized html file and moreover (on page 15) some hints
how to optimize serving html5 standalones using Gzip/Apache:

http://hyperhh.org/html5/community/LCD-01f.pdf

Compare your serving speed to the speed of the last samples of 
http://hyperhh.org/html5/ (which is optimized) using Safari.

If have here a loading time of at most 7 seconds for the first time
and 4 seconds when using the same LC version.
[http://hh.on-rev.com/html5/ is (currently) much slower...]
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode