Forum: Ruby on Rails How to generate external secure form for clients in Rails

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
330edb8dc8bbc5a824984cf46e941b2f?d=identicon&s=25 Tam Kbe (tkbeili)
on 2009-05-03 01:30
Hello,

I have an application where businesses can create accounts and add
information about their clients. I would like to be able to generate a
form that they can put on their website so that clients can
automatically enter their info into the business's account. I know I
might be able to do something like:

   <% form_tag my_site_url_with_action do %>
   ....put here the fields for client info

But I was wondering if there is a way to make it secure by ensure that
it's coming from my client's website as opposed from some spam website
or so. Also I was wondering whats the best way to make it AJAX (with
minimal inclusion of Rails JS for AJAX)

Any ideas?

Thanks,

Tam
This topic is locked and can not be replied to.