You are viewing limited content. For full access, please sign in.

Question

Question

Hiding API Keys on Forms/IIS Web Server

asked on June 5, 2020

Hi I am wondering if anyone has any tips on how to go about hiding api keys on IIS? I will be calling an external js file on a form which makes an async call to a service but unsure how to go about setting environment variables or secret keys on IIS. Any tips will be appreciated.

0 0

Answer

SELECTED ANSWER
replied on June 5, 2020

Hi Ray,

In general, if you need to make a call on a public page with API keys, you should do so with PHP. PHP allows you to hide the API keys completely as there's no way to see the PHP code like you can JS.

0 0
replied on June 8, 2020

Thank you for your answer Jim. I'll look into using PHP with the form!

0 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.