Just now i'm writing a project, and i desided to write it with jquery
and ajax
requests.
only thing, i don't know, is it secure enough?
for example, when i verify the username, when registering new user, i use jquery ajax request,
i get the array of existing usernames from db(with json), and then verify, if new_username
not inArray()
of existing username
s, i make another request, and register the user.
but what about security? meybe hacker can find the way to change some of my if-else
statements, and whole my securite will brake.
maybe you'll help me to understand this situation?
Thanks