encrypting password on form submit?

This is a discussion on encrypting password on form submit? within the RUBY forums in Programming Languages category; Em Wednesday 27 August 2008, Amanda .. escreveu: > Kevin Brown wrote: > > Why? Has Amanda chosen to not use SSL to secure the client to server > > communication ? > > and I don't even know what ssl is lol, I will go look into it. A-m-a-z-i-n-g. You can't work with web development without know what SSL is. Neither you could speak that you work with web development. http://en.wikipedia.org/wiki/Secure_Sockets_Layer HTH, -- Davi Vidal -- E-mail: davividal@siscompar.com.br MSN : davividal@msn.com GTalk : davividal@gmail.com Skype : davi vidal YIM : davi_vidal ICQ : 138815296...

Go Back   Application Development Forum > Programming Languages > RUBY

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #11  
Old 08-27-2008, 03:24 PM
Davi Vidal
Guest
 
Default Re: encrypting password on form submit?

Em Wednesday 27 August 2008, Amanda .. escreveu:
> Kevin Brown wrote:
> > Why? Has Amanda chosen to not use SSL to secure the client to server
> > communication ?

>
> and I don't even know what ssl is lol, I will go look into it.


A-m-a-z-i-n-g.

You can't work with web development without know what SSL is. Neither you
could speak that you work with web development.

http://en.wikipedia.org/wiki/Secure_Sockets_Layer


HTH,
--
Davi Vidal
--
E-mail: davividal@siscompar.com.br
MSN : davividal@msn.com
GTalk : davividal@gmail.com
Skype : davi vidal
YIM : davi_vidal
ICQ : 138815296

Reply With Quote
  #12  
Old 08-27-2008, 03:26 PM
Davi Vidal
Guest
 
Default Re: encrypting password on form submit?

Em Wednesday 27 August 2008, Amanda .. escreveu:
> Todd Benson wrote:
> > I haven't used Rails in a while, but what happens in between the form
> > submission and the submission to the database. Surely, you have some
> > control over that?
> >
> > Todd

>
> Thats what I'm not sure about/don't know how to do...I was hoping for
> some simple way to submit WD5(assword) to the database or something
> like that...I'm not very experienced with RoR or databases, so that's
> why I'm having a hard time with this



You mean "md5"?

You should go to rubyonrails-talk@googlegroups.com and buy your copy
of "Agile Web Development With Rails".

Enjoy.

--
Davi Vidal
--
E-mail: davividal@siscompar.com.br
MSN : davividal@msn.com
GTalk : davividal@gmail.com
Skype : davi vidal
YIM : davi_vidal
ICQ : 138815296

Reply With Quote
  #13  
Old 08-27-2008, 04:11 PM
Amanda ..
Guest
 
Default Re: encrypting password on form submit?

Davi Vidal wrote:
> Em Wednesday 27 August 2008, Amanda .. escreveu:
>> Kevin Brown wrote:
>> > Why? Has Amanda chosen to not use SSL to secure the client to server
>> > communication ?

>>
>> and I don't even know what ssl is lol, I will go look into it.

>
> A-m-a-z-i-n-g.
>
> You can't work with web development without know what SSL is. Neither
> you
> could speak that you work with web development.
>
> http://en.wikipedia.org/wiki/Secure_Sockets_Layer



okay, so I know that I need to learn about SSL, but I don't think that's
what I'm after for this...

Maybe this will clarify:

We have a database where users/passwords/all their info is stored (this
database is not just for our site and contains way more entries than
would ever be required of our site). It is secure and uses SSL, I don't
really know how it works, I don't really need to.

What we're doing is using that database to to check if a user exists.
Once a username and password are entered into the login for the first
time, that user's information is then stored in a different database,
one specifically for our site so we can use their information on our
site. The problem is that we can't have any users that are not stored
in the larger database. In order to do this, I've set up a form (the
code is above) where an admin for the site can create a user...it all
works, except I want the password to be altered before it's actually
sent to the database.

What I need is a way to stop the password text_field from sending the
text directly to the database, then alter the text, and finally store it
in the database. In the "Agile Web Development With Rails" book, they
give an example of encryption, but I'm not sure how to use that with my
form.

I haven't even been web developing for 4 months, so I definitely don't
know all that I should, and I haven't had much success in searching
google or this rails development book for help with intercepting the
form's information before it gets sent to the database.
--
Posted via http://www.ruby-forum.com/.

Reply With Quote
  #14  
Old 08-27-2008, 06:01 PM
James Britt
Guest
 
Default Re: encrypting password on form submit?

Amanda .. wrote:

>
> Maybe this will clarify:
>


>
> What I need is a way to stop the password text_field from sending the
> text directly to the database, then alter the text, and finally store it
> in the database. In the "Agile Web Development With Rails" book, they
> give an example of encryption, but I'm not sure how to use that with my
> form.
>
> I haven't even been web developing for 4 months, so I definitely don't
> know all that I should, and I haven't had much success in searching
> google or this rails development book for help with intercepting the
> form's information before it gets sent to the database.


If you are building a Rails app you would do better to ask your
questions on the Rails mailing list.

It should be listed at rubyonrails.org

--
James Britt

www.happycamperstudios.com - Wicked Cool Coding
www.jamesbritt.com - Playing with Better Toys
www.ruby-doc.org - Ruby Help & Documentation
www.rubystuff.com - The Ruby Store for Ruby Stuff

Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 08:44 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.