Re: Looking for a key generator type of component
- From: "Rodger Van Kirk" <rodgerv@xxxxxxxxxxxxxxxxxxx>
- Date: Mon, 25 Feb 2008 10:30:37 -0800
"Ray Marron" <me@xxxxxxxxxxx> wrote in message news:47bdc8f4$1@xxxxxxxxxxxxxxxxxxxxxxxxx
"Rodger Van Kirk" <rodgerv@xxxxxxxxxxxxxxxxxxx> wrote in message news:47bdb643$1@xxxxxxxxxxxxxxxxxxxxxxxxxI 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
.
- Follow-Ups:
- Re: Looking for a key generator type of component
- From: Ray Marron
- Re: Looking for a key generator type of component
- References:
- Looking for a key generator type of component
- From: Rodger Van Kirk
- Re: Looking for a key generator type of component
- From: Ray Marron
- Looking for a key generator type of component
- Prev by Date: Re: ANN: AnySQL Maestro (freeware cross-database tool)
- Next by Date: Re: Looking for a key generator type of component
- Previous by thread: Re: Looking for a key generator type of component
- Next by thread: Re: Looking for a key generator type of component
- Index(es):
Relevant Pages
|