Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I am looking for signposting help to secure my API keys when accessing a database over REST API from JavaScript on a webpage. I have read that in order to secure the API key I need to create a wrapper in PHP that will basically insert the API key into the request to allow the JavaScript on webpage to access the database.

Question:

  1. Do I understand the concept correctly - re API keys and PHP?
  2. Where can I get more info on the wrapper, maybe a tut or something?
share|improve this question

closed as off-topic by Ixrec, durron597, MichaelT, gnat, GlenH7 Mar 28 at 14:30

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions asking us to recommend a tool, library or favorite off-site resource are off-topic for Programmers as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." – durron597, MichaelT, gnat
If this question can be reworded to fit the rules in the help center, please edit the question.

    
May be a dup of stackoverflow.com/questions/5472668/… –  Jay Elston Apr 29 '14 at 1:41
    
That question does not post any info or links that point to the solution unfortunately. –  Nixlim Apr 29 '14 at 11:20
1  
(1) Yes. (2) StackExchange is not suitable for asking for tutorials. But here's a good place to start: codular.com/curl-with-php. That's how to make web requests using php. –  Ben Lee May 8 '14 at 8:24

Browse other questions tagged or ask your own question.