Re: Looking for a key generator type of component




"Ray Marron" <me@xxxxxxxxxxx> wrote in message news:47bdc8f4$1@xxxxxxxxxxxxxxxxxxxxxxxxx
"Rodger Van Kirk" <rodgerv@xxxxxxxxxxxxxxxxxxx> wrote in message news:47bdb643$1@xxxxxxxxxxxxxxxxxxxxxxxxx
I have an application where a user enters a username and password to get in to the software. Sometimes I need a user to run the program in a particular mode but I don't want them to be able to log in under this mode anytime. So one thing I was thinking is allowing the application to function as normal but if a user enters a particular username then a popup will display with a unique key being displayed. They can then call our support department tell them the key that was displayed and the support people will in turn give them a unique password that will allow them to log in under this unique mode. That key needs to be unique for that run only. [...]

The app could pop up some random number. I'd probably base it partially on the date/time, just so it's not possible to get the same number twice in a row. To come up with the resulting password, you would hash this with some secret salt value(s).

For example, it pops up the number '80211372106'. You combine it with the secrets to form 'super80211372106secret' and calculate the MD5 hash for the password: '9b2720a0ba132a8b4445007a9d4d230b'. To make it easier to relay over the phone, you could use just part of the hash instead of all 32 characters.

That should be enough to keep the average joe from entering developer mode without asking first.

--
Ray Marron



Sounds like what I'm looking for. Now the question is how do I do it? Is there some docs somewhere I can look at to figure out how to go about doing this?

Thanks in advance,
Rodger Van Kirk

.



Relevant Pages

  • Re: Looking for a key generator type of component
    ... will display with a unique key being displayed. ... support department tell them the key that was displayed and the support ... To come up with the resulting password, you would hash this with some ... secret salt value. ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: [opensuse] Syntax forc combining tailf and grep
    ... Hash: SHA1 ... and it is constantly being updated, I wondered if there was a way to display ... an updating grep on the file without having to create a script and ...
    (SuSE)
  • Re: [opensuse] Any way of having an idle timeout on a virtual console?
    ... Hash: SHA1 ... is controlled by the BIOS. ... The display doesn't simply go black, ...
    (SuSE)
  • Re: [SLE] du
    ... Hash: SHA1 ... > can do to display full size of drive using 9.3 ... Or, said another way, those 160GB for the manufacturer are in fact only ...
    (SuSE)
  • Re: Symbolic Reference Problem
    ... > Display vara ... > Therefore with a hash I would have repeated keys. ... understand how the use of scalar variables and symbolic references ... Gunnar Hjalmarsson ...
    (comp.lang.perl.misc)