I have developed an Application for iPhone. In some countries, there are some places you can go, give your iDevice and they will install any App/Apps on it much, much cheaper(for 1$ for any App). How do they do that? - They simply legally buy an Application once and then synchronize "customer's" iDevice with there Account. I think it's illegal, to resell...
So my questions are: Which steps as a developer can I make to protect my Application to be illegally shared? Does Apple do anything against that? Because apple purchases are account related.
EDIT: I forgot to mention, that application is for free, the products must be bought within the Application (In-App Purchase) which will be downloaded after purchase form other server.
One solution could be, if it was possible to get UDID of device and "account-id" I could limit download, let's say, for 5 devices.. I read that, starting with iOS5 it isn't possible to get UDID, or is it? And is such limitation against Apple Rules?