It is contingent on your level of faith in the program creator. For building and testing applications for you, the developer must register UDID with Apple. As a result, they may ask for your unique ID. You should be cautious about disclosing your UDID because some software can access your data via it.