Click to See Complete Forum and Search --> : recaptcha private key security question


vandel212
06-29-2010, 01:27 PM
Hi, I got the code to get recaptcha working from here:

http://wiki.recaptcha.net/index.php/Overview#ASP.NET


It seems to be working fine except I have one concern. It says to
place the control on your html page like this:


<recaptcha:RecaptchaControl
ID="recaptcha"
runat="server"
PublicKey="your_public_key"
PrivateKey="your_private_key"
/>


won't people be able to see my public and private key by simply
viewing the source code?


What can I do to encrypt that information so no one can see it?


Thanks.

tirna
06-29-2010, 06:38 PM
In PHP the keys are included in the actual php code and so cannot be viewed by the end user because php sends back to the browser only html output from the php file.

Isn't it the same in ASP?

vandel212
07-01-2010, 12:20 PM
I believe you are right, thank you for the response.