Have you ever heard of the authentication feature of Tor hidden services?

http://tor.stackexchange.com/questions/219/how-to-use-hidden-service-authentication