webhooks - github service hook and basic authentication -


i'm trying figure out how secure webhook reciever github service hook.

in github manual pages, when in section on ip addresses github hooks come from, has warning:

"we highly recommend don't white list ips service hooks. instead, setup https , basic authentication verify incoming requests."

in documentation on post receive hooks don't see way set basic authentication.

how can use basic authentication github post-recieve/service/web hook notifies me of commit repository?

i think can use

https://youruser:yoursecret@yoursite.net/path 

like in basic auth situation.

i give try tomorrow, :) https://github.com/blog/237-basic-auth-post-receives


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -