Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Crypting .Net Exe

1 view
Skip to first unread message

meynet

unread,
May 19, 2005, 10:53:16 AM5/19/05
to
Hi;
I have made a .Net Exe with Delphi 2005 but I find a utility on the net
witch can disasemble my code very clearly !!!

How can I crypt my Exe ? (I don't want to make public the user and pwd of my
SqlServer for example....)

Thanks for Help.

Best Regards
Christophe


Craig Stuntz [TeamB]

unread,
May 19, 2005, 11:43:25 AM5/19/05
to
meynet wrote:

> I have made a .Net Exe with Delphi 2005 but I find a utility on the
> net witch can disasemble my code very clearly !!!
>
> How can I crypt my Exe ? (I don't want to make public the user and
> pwd of my SqlServer for example....)

D2005 (some SKUs, anyway; I'm not sure which ones) includes the
Demeanor obfuscator. Use it, or buy a different one.

And don't store passwords in code.

--
Craig Stuntz [TeamB] . Vertex Systems Corp. . Columbus, OH
Delphi/InterBase Weblog : http://blogs.teamb.com/craigstuntz
Everything You Need to Know About InterBase Character Sets:
http://blogs.teamb.com/craigstuntz/articles/403.aspx

Rudy Velthuis [TeamB]

unread,
May 19, 2005, 11:57:04 AM5/19/05
to
At 16:53:16, 19.05.2005, meynet wrote:

> Hi;
> I have made a .Net Exe with Delphi 2005 but I find a utility on the net
> witch can disasemble my code very clearly !!!
>
> How can I crypt my Exe ? (I don't want to make public the user and pwd
> of my SqlServer for example....)

Some editions of Delphi 2005 come with the Wise Owl obfuscator for .NET.
It should be in one of the Tools menu items, and is called Demeanor.
--
Rudy Velthuis [TeamB] http://velthuis.homepage.t-online.de

"Real Programmers always confuse Christmas and Halloween because
Oct31 == Dec25 !" -- Andrew Rutherford

meynet

unread,
May 20, 2005, 3:46:03 AM5/20/05
to
Thanks !
But the utility 'Demeanor' doesn't come with my De2005 Entreprise ...
Could you tell me where can I find it ?


"Rudy Velthuis [TeamB]" <velt...@gmail.com> a écrit dans le message de
news: xn0e2fwtfbwh3...@www.teamb.com...

Rudy Velthuis [TeamB]

unread,
May 20, 2005, 7:26:18 AM5/20/05
to
At 09:46:03, 20.05.2005, meynet wrote:

> Thanks !
> But the utility 'Demeanor' doesn't come with my De2005 Entreprise ...
> Could you tell me where can I find it ?

It should, AFAIK. I think it is automatically installed. Otherwise, have
a look on your install CDs.


--
Rudy Velthuis [TeamB] http://velthuis.homepage.t-online.de

"Defining and analyzing humor is a pastime of humorless people."
-- Robert Benchley (1889 - 1945)

meynet

unread,
May 20, 2005, 10:46:55 AM5/20/05
to
Thank you very much !
I will have a look on install CDs :)
Best regards

"Rudy Velthuis [TeamB]" <velt...@gmail.com> a écrit dans le message de

news: xn0e2h4l1cyl...@www.teamb.com...

Ian Boyd

unread,
Sep 17, 2005, 3:24:07 PM9/17/05
to
You should store them as encrypted strings, and decrypt them when you need
them. Storing a database password as plain text is bad form no matter what
programming language or architecture. At least if they are encrypted,
someone would have to actually attempt to debug your application to get at
the UID/PWD.

Of course, they could just replace ado.dll with their own, and want for your
application to send it the username and password. It's all a matter of
degrees of how much work you want the person to have to do.

You should at least be only storing the encrypted passwords in your source
code.


"meynet" <to...@yahoo.com> wrote in message
news:428ca862$1...@newsgroups.borland.com...

0 new messages