is there a possibility that a prpgram can be written to restrict file sharing(music) from phone to phone (bluetooth) or from laptop to CD (burning)

Yes, it's called CRM (Content Rights Management) and exists on many things including music, films and games.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.