javascript - What are the concerns for exposing an api key from a service? -
javascript - What are the concerns for exposing an api key from a service? -
a lot of sites utilize api key access services. prime illustration mapquest's geocoding service. prior using service, required sign assigned api key.
an illustration of querying key:
5-box address format: json request http://open.mapquestapi.com/geocoding/v1/address?key=your_key_here&informat=json&json={"location":{"street": "1090 n charlotte st","city":"lancaster","state":"pa","postalcode":"17603"}}
are there security concerns if key exposed clientside (ie, through javascript)? in particular instance, it's useful geocoding clientside avoid unnecessary load on server. 1 problem might else can utilize same key own purpose or maybe spam service until key locked.
javascript security geocoding api-key
Comments
Post a Comment