thanks for reply
I found a program called shareport wich do this on a computer.The autor provided sources.This is a kind of server wich use a private key for the authentification.It could be done on an arduino but I'm not as good in programming to do that because it is very low level programmed.
So the subject is closed