Yes, your idea with TDA kicked me to the right direction ))))
I am thinking now about the security of this solution, some kind of encryption or authentication, but anyway your idea was the best !!!