title: Is there any danger to creating UUID in Javascript client-side?
body: <p>I need to generate UUID to eventually store in a database. Can I generate theses UUID from Javascript on the client browser (<a href="https://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript" title="There is some examples here">There are some examples here</a>)?</p>
  
  <p>Is there any security risk of doing it this way? I understand that anyone can modify the UUID before it's passed to the server for storing. So i'll need to check if they are trully unique before storing them in the database, but other than that, is there any other things to checkout?</p>
  
  <p>(Sorry for my english, feel free to correct any grammar errors)</p>
  
  <p><strong>edit:</strong> To answer questions about why I would want to do this, it's because I can create a new object and it's identifier in Javascript and add it to my view and then make an AJAX call to the server to add it to the database. This way, I don't need to load it back from the database to know what is it's primary identifier.</p>