Prevent calls from external domains? Is it possibile without sacrificing AJAX use?
The question is simple.. I've created a register FORM that calls register.php file passing parmas througth AJAX. I've applyied some restrictions to the form compilation, such the necessity of a regular email address, regular name, and regular acceptation of terms and conditions.. After that i memorize data into my daabase
But what i thinking is that someone calls the register.php file (for exemple, creating his own form), he could send invalid data tainting my database with invalid data... Is it possible to avoid it? A solution could be to add other controls about the data regularity inside the php file before memorize it into the database.. But it would be only an escamotage..
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)