Has anyone had any experience with custom software development particularly protecting it from being distributed by the foreign developers that code it?
Would the coder have a creative copyright on the unique code they write or is the copyright transferred to the person paying for the development?
Make sure you get an assignment of the copyright from the developer so that you own what you pay for (in Australia the law requires copyright to be assigned in writing).
The complexity is that quite often you don't know whether they have provided the code to someone else. Also it is really not practical to litigate through the Courts of India - matters quite often run for 20 years (seriously!).
Often it is best to have critical parts of software developed locally in Australia, where you have a strong legal system and Courts that are prepared to protect your IP if the need arises.
Finally, for any serious software development it pays to have a properly drafted software development agreement (by someone who specialises in this area of law). The importance was highlighted this week when one of our clients won a Court case on the strength of the agreement we drafted for them.