Software copy protection, license management, user authentication, internet security and smartcard technology