JSON on other domains?

#1

I am using similar JSON on my website autocomplete input field.

$.ajax({
                type:'POST',
                url:mysite.com/autocomplete/'

Can someone use this URL on some other site to fetch data from my DB?

0 Likes

#2

yes.

0 Likes

#3

NOT good. Any way I can prevent that?

0 Likes

#4

require authentication (i.e. a login).

0 Likes

#5

Nice actually this function is only used by logged in users but I didn’t add any code to check for that. Great pointer thanks. Bye

0 Likes