Implementing Security in C# Through Any Hardware
-
Hello All, I am student from India. Right now i am working on one on course project in C# and COM+ components.In that project i want to implement security through any hardware like floppy or CD. I try the 'VOL' command from command line to get the hardware Volume serial number like Floppy or CD. I i notice one thing that it is not uniq. If u make ISO of that Floppy or CD and write it then the Volume serial number will be the same. So there is no uniqueness in this. I want to implement security in my code from any hardware. How can i implement that one. If any one have good Knowledge about that Please mail me at Hemant_Mane2003@yahllo.com. And if there is more secure way than the encryption and decryption please sent me that stuff or guide me about that. Thanking You. (Hemant Uttam Mane)
-
Hello All, I am student from India. Right now i am working on one on course project in C# and COM+ components.In that project i want to implement security through any hardware like floppy or CD. I try the 'VOL' command from command line to get the hardware Volume serial number like Floppy or CD. I i notice one thing that it is not uniq. If u make ISO of that Floppy or CD and write it then the Volume serial number will be the same. So there is no uniqueness in this. I want to implement security in my code from any hardware. How can i implement that one. If any one have good Knowledge about that Please mail me at Hemant_Mane2003@yahllo.com. And if there is more secure way than the encryption and decryption please sent me that stuff or guide me about that. Thanking You. (Hemant Uttam Mane)
See my article, Using XML Digital Signatures for Application Licensing[^]. You can include anything you want. You could, for example, using WMI to easily get the volume ID of the system partition (the partition from which the current OS is running) and have them send that as part of a request which you sign and send back. In your application - besides checking the validity of the license - you get the volume ID again and verify that the two are the same.
Microsoft MVP, Visual C# My Articles
-
Hello All, I am student from India. Right now i am working on one on course project in C# and COM+ components.In that project i want to implement security through any hardware like floppy or CD. I try the 'VOL' command from command line to get the hardware Volume serial number like Floppy or CD. I i notice one thing that it is not uniq. If u make ISO of that Floppy or CD and write it then the Volume serial number will be the same. So there is no uniqueness in this. I want to implement security in my code from any hardware. How can i implement that one. If any one have good Knowledge about that Please mail me at Hemant_Mane2003@yahllo.com. And if there is more secure way than the encryption and decryption please sent me that stuff or guide me about that. Thanking You. (Hemant Uttam Mane)
Because .NET uses the IL (intermediate Language), it can always be backwards engineered. You can use an obfuscator to make the code in the resulting executables less readable, but at one point the framework still needs the IL from the file... RemoteSoft has created a tool called Protector that creates C++ like files which are very dificult to backwards engineer. But that tool costs $1899 for 5 developers..... If you just want to use crypto in your app, you could try this book: .NET Security and Cryptography, by Peter Thorsteinson and G. Gnana Arun Ganesh. It covers all aspects of Crypto available in .NET and also the security model.