php - How to prevent spamming to my api server? -
i have been thinking of way make secured request client server (not in terms of implementing ssl) way can prevent spamming.
allow me explain looking for.
i have clients make http request on rest talk server , access apis. have provided separate unique api keys customers use authenticate user. use api key 1 of parameter , make post / request server.
now problem sees api key can make spam request server acting customer.
is there way prevent this? private , public key concept? if yes, can link me ready made algorithm written in php can use , easily implement in web app?
many in advance.
Comments
Post a Comment