bemosior/PHPasswordPusher

Display information related to remaining time/views

bashfulrobot opened this issue · 8 comments

Please let me know if there is a better place for this.... :)

• When a user clicks on a link, I think it would be helpful if there was additional info displayed about the time/number of views restrictions on that credential - that way, users understand when/how a credential will expire (the notion of "least surprise" ).
• For credentials that are only viewable once, I think there should be special indication of that - e.g. background colour plus text warning, or something like that.
• I know that automatically copying objects to the clipboard is difficult (for good reason) in a browser but I'm wondering if there are any alternatives to using Flash, given the fact that Flash has a pretty poor security record... I do appreciate the user-friendliness, though. But given a choice, would probably drop it.

Just a few thoughts.

These are great suggestions, ones that I've thought of myself as well but hadn't gotten around to. I don't see a security risk with exposing the number of views remaining or the amount of time before it expires, and you're right, they would be helpful.

The automatic copying is being addressed in #41; it will be removed in an upcoming push.

I'll rename the post so it has a more appropriate title as well.

👍 to displaying time/views info, provided there's a configuration option to turn each item off.

@bemosior - I am just looking at the config file (in the priv directory), and I do not see this option. The closest I see is the display when creating the link.... not when the receiver is picking up the password.

maybe I'm missing something?

Oh, I'm just saying that I'd like to make sure we create that option. 😄

I've been playing with this idea in the rewrite branch using Moment.js.
screen shot 2015-08-04 at 4 39 50 pm

We could probably do something similar without too much fuss on the v1 codebase as well.

@vaindil If you haven't had a chance to work on this yet, mind if I steal it?

@bemosior I don't think he would mind... :-P (2 years later. hahahaha)

Pretty sure this can be closed off. :-)