CodeIgniter Forums
Jquery POST --> Secure? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Jquery POST --> Secure? (/showthread.php?tid=47877)



Jquery POST --> Secure? - El Forum - 12-26-2011

[eluser]echo sara[/eluser]
hi, Is it safe using post when sending data to your database? like my concern is since its js file and viewable by other isnt this method unsafe?


Code:
var name = $('#name').val();
  var username = $('#username').val();
  var email = $('#email').val();
  

  $.post('index.php/blog/members',{ name: name, username: username, email: email}, function(data) {
   $('#info').html(data);