Forum Dhammacitta

Komunitas => Ilmu Pengetahuan dan Teknologi => Teknologi Informasi => Topic started by: wen78 on 14 December 2009, 05:20:27 PM

Title: [ask] reCAPTCHA
Post by: wen78 on 14 December 2009, 05:20:27 PM
Your reCAPTCHA token is valid only at the domain you sign up for and any subdomains (due to the potential attack mentioned above). Some users require keys for multiple sites, for example, a development server and a production server or simply multiple sites hosted on the same server. Three techniques can be used to work around this:

   * If one of your servers is "localhost" or "127.0.0.1", reCAPTCHA will not enforce the same-domain rule. Just use the same key as for the production server.
   * Generate a key for a broader scope. For example, if your application is a.example.com and your test server is test.corp.example.com, generate a key for example.com. Note that multiple users can sign up for the key for a domain, so there's no need to worry if you don't own all of example.com.
   * Generate a different key for each domain.





berarti bisa di tes di xampp khan?  
trs.. kl gua register trs gua register domainnya gmn supaya bisa tes di xampp? apa ketik http://localhost aja?  
trs.. nanti setelah upload, yg sebelumnya http://localhost bisa diubah gak ke yg sebenarnya? misalnya www.zzzz.com

ada yg tau  ???
Title: Re: [ask] reCAPTCHA
Post by: Sumedho on 14 December 2009, 05:33:30 PM
yah katanya sih bisa menurut point pertama
Title: Re: [ask] reCAPTCHA
Post by: char101 on 14 December 2009, 05:34:55 PM
Quote from: wen78 on 14 December 2009, 05:20:27 PM
berarti bisa di tes di xampp khan?

Bisa

Quote
trs.. kl gua register trs gua register domainnya gmn supaya bisa tes di xampp?

Domain production www.something...

Quote
trs.. nanti setelah upload, yg sebelumnya http://localhost bisa diubah gak ke yg sebenarnya? misalnya www.zzzz.com

Nggak ada yang perlu diubah.