
Name: Stefan Prodan
Born: 20 May 1982
Gender: male
Astrological Sign: Taurus
Industry: Software Engineering
Occupation: Software Analyst
Location: Bucharest Romania
Quate:
Enduring habits I hate… Yes, at the very bottom of my soul I feel grateful to all my misery and bouts of sickness and everything about me that is imperfect, because this sort of thing leaves me with a hundred backdoors through which I can escape from enduring habits.(stolen from Nietzsche)
Hello Stefan,
I found your article “Deploy SQL Databases Easily with the Installer Class” very helpful for a project I’m working on. However, in your method GetScript the GetManifestResource setting the Stream str to null, which of course throws an error. Any ideas on how to fix this? the only decent resource I’ve found on this is here: http://tinyurl.com/n773n
Thanks for your help.
Best,
Jesse
Comment by Jesse — 11 October 2006 @ 3:26 am
What framework version are you using?
I am asking you this because my project is made in v1.1 of the .NET Framework and I assure you that is working 100%.
I have implemented the same code in several products at the company I work for.
Comment by stefanprodan — 11 October 2006 @ 10:42 am
Hi Stephan,
Found your article on Code Project (Password Manager) on encrypting serialized data. Exactly what I needed. Never thought to serialize the data in a memory stream and encrypt it and save it to your own file. Thanks for the idea.
I am having a problem with the logic in encryption best practices though. I cannot figure where to store the key. I have in the past generated a random GUID and compiled it in my exe much the same way you generated your key in Hex in your CryptoCore class. My problem is, really, how safe can this possibly be? Compiled exe’s are not encrypted. This probably could be hacked I imagine. What are your thoughts on this? If you need to store a key somewhere outside of your own head, is this the downfall of encryption? I suppose if you were really tricky you could generate a key for encryption and encrypt that key with another key that you store. Not really sure what to do though.
Comment by Brian — 9 November 2006 @ 9:00 am
Still waiting to hear back from you.
Comment by Brian — 19 November 2006 @ 9:57 pm
Hello Brian, I was away last week so that’s why I didn’t post back. About the master password location,
in my application this aspect is not handled like it should.
In a real case the master password should be stored in the windows CSP and it’s submitted by the application user.
I will modify the Password Manager project to support this feature in the future.
Comment by stefanprodan — 20 November 2006 @ 3:15 pm