Yii Framework Forum: One Time Password - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

One Time Password Rate Topic: -----

#1 User is offline   Daniel 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 227
  • Joined: 26-September 09

Posted 14 June 2013 - 03:38 AM

Hi,

Any idea on implementing one time password in yii?

Cheers,

Daniel
0

#2 User is offline   Rajith R 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 884
  • Joined: 20-April 11
  • Location:India

Posted 14 June 2013 - 05:52 AM

Not clear daniel. pls be more specific!! whats the purpose?
Rajith Ramachandran,
Wiwo inc.
| Mobile: 919995504508
0

#3 User is offline   fouss 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 394
  • Joined: 05-October 10
  • Location:Bamako Mali

Posted 14 June 2013 - 07:10 AM

View PostDaniel, on 14 June 2013 - 03:38 AM, said:

Hi,

Any idea on implementing one time password in yii?

Cheers,

Daniel


if you want to talk about password expires then there should be a duration column in your table and you could mk a comparison of time whenever someone wants to connect.
Posted Image
0

#4 User is offline   Daniel 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 227
  • Joined: 26-September 09

Posted 15 June 2013 - 04:55 PM

Thanks for the replied.

What I wanted to do is to have one time password like in ebanking website. Where the user can only using a password/passcode once. My plan is that the user need to ask the supervisor to get into the system. Hence, the supervisor will now that the user access the system, and can decide whether to give the access or not.

One scenario, I have 10 passcodes in my hand generated and stored in the system. My operator need to access the system, I give him one passcode. He can login using the passcode and do whatever he needs to do until the session expired or he logout from the system. Next time, he needs to access the system again, he need to ask me for the new passcode since the old one cannot be used to login to the system anymore.

Thanks,

Daniel
0

#5 User is offline   KonApaz 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,327
  • Joined: 21-February 11
  • Location:Greece

Posted 16 June 2013 - 03:31 PM

View PostDaniel, on 15 June 2013 - 04:55 PM, said:

Thanks for the replied.

What I wanted to do is to have one time password like in ebanking website. Where the user can only using a password/passcode once. My plan is that the user need to ask the supervisor to get into the system. Hence, the supervisor will now that the user access the system, and can decide whether to give the access or not.

One scenario, I have 10 passcodes in my hand generated and stored in the system. My operator need to access the system, I give him one passcode. He can login using the passcode and do whatever he needs to do until the session expired or he logout from the system. Next time, he needs to access the system again, he need to ask me for the new passcode since the old one cannot be used to login to the system anymore.

Thanks,

Daniel


A solution is a cron job, that checks which sessions are enabled and which are not.
So for those user has not session you can reset their passwords to unknown one (for example md5("45tn546tytn") )
Yii is the best php framework in the world!
find our demo Yii extension on www.webkit.gr
Is it post useful? please v++ ;)
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users