top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration
Print Preview

Want to send password via SMS using rails application

0 votes
182 views

I am saving password with hashed_password and salt in table. Now I need to send those passwords via SMS can it be possible.

posted Jul 24, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

3 Answers

+1 vote
 
Best answer

Are you building this for a "Forgot My Password" feature? You could look into using Devise and password recovery is built right in.
If you still want to roll your own Id recommend, at a minimum, you instead reset their password to a random password, email them the random password and let them reset it. That is still not very secure though. Sending any password in plain text defeats the purpose of hashing and storing your passwords. There is several better solutions like having user answer security questions, sending them a link to a temporary obfuscated page that allows them to reset their password, etc. If you're rolling your own right now though I definitely recommend looking into the Devise gem as it will do all this for you.

answer Jul 25, 2013 by Kevin Peterson
+1 vote

You cannot un-hash those passwords. It is not possible.

answer Jul 24, 2013 by anonymous
+1 vote

Sending plaintext passwords is bad. Even across SMS. Generate a OTP token if you need to send them something.

answer Jul 24, 2013 by anonymous
Similar Questions
+1 vote

Can't find any related data on the subject: how to receive a file via SOAP using Rails. If anyone have accomplished such a task I'll be very grateful for any help and info.

+1 vote

Does anyone have successful experience of implementing such a task using Rails?

+1 vote

I deployed one small app in heroku built on ROR, now I want to send mails. How is it possible can anyone give me a details how to do it.


Useful Links with Similar Problem
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...