Is using js.erb files in conjunction with rails and jquery safe?

Posted by Yak on Stack Overflow See other posts from Stack Overflow or by Yak
Published on 2010-03-30T17:18:48Z Indexed on 2010/03/30 17:23 UTC
Read the original article Hit count: 350

Filed under:
|
|
|

Hi,

I have seen many resources on using jQuery with rails where people recommend having callback functions in .js.erb files, however I have also heard that passing data this way leaves me vulnerable to man in the middle attacks. Is this true? What are the security concerns and is there a way to do it safely?

Thanks

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about jQuery