I wrote an assembly in C#/.NET that includes some personal information.
But this information can be revealed by opening the assembly in tools like
the ‘Microsoft .NET Framework IL DASM’ and ‘Reflector’ .
I do not want to expose this code.
How do I hide it?
--
Regards
Sharon G. 12 4628
You can use a 3rd party obfuscator to rename identifiers, etc. Most
obfuscators allows you to encrypt strings, or you can encrypt if yourself,
with simple methods (reversing, XORing, etc.) or using the
System.Security .Cryptography namespace. Of course, if your app must decrypt
it at run-time, the key will be in the assembly and someone could decrypt
it, but you are raising the bar.
--
Carlos J. Quintero
MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
You can code, design and document much faster. http://www.mztools.com
"Sharon" <Sh****@discuss ions.microsoft. com> escribió en el mensaje
news:D6******** *************** ***********@mic rosoft.com... I wrote an assembly in C#/.NET that includes some personal information. But this information can be revealed by opening the assembly in tools like the 'Microsoft .NET Framework IL DASM' and 'Reflector'. I do not want to expose this code.
How do I hide it?
-- Regards Sharon G.
I would not recommend actually putting personal details anywhere you dont
want them hacked. If you must put this information in then obfuscate it.
--
Terry Burns http://TrainingOn.net
"Sharon" <Sh****@discuss ions.microsoft. com> wrote in message
news:D6******** *************** ***********@mic rosoft.com... I wrote an assembly in C#/.NET that includes some personal information. But this information can be revealed by opening the assembly in tools like the 'Microsoft .NET Framework IL DASM' and 'Reflector'. I do not want to expose this code.
How do I hide it?
-- Regards Sharon G.
Actually by problem is a bit different then I posted.
I’m sending mail form the assembly, and for that I’m doing authentication
like that
MyMail.Fields.A dd("http://schemas.microso ft.com/cdo/configuration/smtpauthenticat e", "1")
MyMail.Fields.A dd("http://schemas.microso ft.com/cdo/configuration/sendusername", "UserName")
MyMail.Fields.A dd("http://schemas.microso ft.com/cdo/configuration/sendpassword", " password");
And by using the tool I mentioned before, this user name and password can be
seen Easley.
How can I hide this data?
----
Regards
Sharon G.
Actually by problem is a bit different then I posted.
I’m sending mail form the assembly, and for that I’m doing authentication
like that
MyMail.Fields.A dd("http://schemas.microso ft.com/cdo/configuration/smtpauthenticat e", "1")
MyMail.Fields.A dd("http://schemas.microso ft.com/cdo/configuration/sendusername", "UserName")
MyMail.Fields.A dd("http://schemas.microso ft.com/cdo/configuration/sendpassword", " password");
And by using the tool I mentioned before, this user name and password can be
seen Easley.
How can I hide this data?
------
Regards
Sharon G.
Actually by problem is a bit different then I posted.
I’m sending mail form the assembly, and for that I’m doing authentication
like that:
MailMessage MyMail = new MailMessage()
MyMail.Fields.A dd("http://schemas.microso ft.com/cdo/configuration/smtpauthenticat e", "1")
MyMail.Fields.A dd("http://schemas.microso ft.com/cdo/configuration/sendusername", "UserName")
MyMail.Fields.A dd("http://schemas.microso ft.com/cdo/configuration/sendpassword", " password");
And by using the tool I mentioned before, this user name and password can be
seen Easley.
How can I hide this data?
------
Regards
Sharon G.
Actually by problem is a bit different then I posted.
I’m sending mail form the assembly, and for that I’m doing authentication
like that:
MailMessage MyMail = new MailMessage()
MyMail.Fields.A dd("http://schemas.microso ft.com/cdo/configuration/smtpauthenticat e", "1")
MyMail.Fields.A dd("http://schemas.microso ft.com/cdo/configuration/sendusername", "UserName")
MyMail.Fields.A dd("http://schemas.microso ft.com/cdo/configuration/sendpassword", " password");
And by using the tool I mentioned before, this user name and password can be
seen Easley.
How can I hide this data?
Hi again,
1) Why don´t you use the SMTP server of the user instead of yours? That
would avoid authentication. ..
2) If you really need it, then you can encrypt that data so it is no so
easily seen with a decompiler.
--
Carlos J. Quintero
MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
You can code, design and document much faster. http://www.mztools.com
"Sharon" <Sh****@discuss ions.microsoft. com> escribió en el mensaje
news:DB******** *************** ***********@mic rosoft.com... Actually by problem is a bit different then I posted. I'm sending mail form the assembly, and for that I'm doing authentication like that:
MailMessage MyMail = new MailMessage(); MyMail.Fields.A dd("http://schemas.microso ft.com/cdo/configuration/smtpauthenticat e", "1"); MyMail.Fields.A dd("http://schemas.microso ft.com/cdo/configuration/sendusername", "UserName") ; MyMail.Fields.A dd("http://schemas.microso ft.com/cdo/configuration/sendpassword", " password");
And by using the tool I mentioned before, this user name and password can be seen Easley.
How can I hide this data?
Sharon,
I think that when you have the answer on this, you should not sent it in a
newsgroup, you become miljonair.
I think that now every organisation which has to do with creditcards sent
that kind of messages seperated and in my country not by email however by
normal mail.
Cor This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Ray Z |
last post by:
hi, there
I build a Class Library, I write a class A to implement interface IA. The
problem is when I give the dll file to others, thet can get all information
about not only IA, but also A. They can even see my protected members of
class A. How could I hide these informations about class A, just give them
the interface informations.
thanks.
|
by: Alex Sedow |
last post by:
I have 3 projects:
1. C++ static library (.lib) with fast code. (Core level)
2. Managed C++ assembly (.dll) that include C++ library (1) and contain
managed wrappers around classes from C++ library. (Wrapper level).
3. C# project that use managed C++ assembly (2). (User level)
Problem consist in that C# project may see C++ classes form static library
(1). For example, I may write in C# project code that dynamically (with new)
create...
|
by: Laurent Vigne |
last post by:
Hello, I would like to know how to make the methods of an interface
inaccessible from outside
Example:
----------------------------------------------
internal Interface ImyInterface
{
void MyPrivateMethod(); // I cant define any accessibility here, well
ok !
}
|
by: Efkas |
last post by:
I have a full custom application with some widged extending Controls
like Label and PictureBox. I build a menu with these widgets. When
I click on one of them, it calls a function to display some stuff in
the main display area.
The stuff to display is one of many assemblies loaded at the opening
of the application by Activator.CreateInstance, because I want it
independant of the main application, as a plugin. All assembly are
loaded...
|
by: mfc_mobile |
last post by:
Hi,
I'm trying to develop a control and want to hide the base class of the
control, how do i do that?
I want to do something like the follow :-
internal class BaseClass {
}
| |
by: Martin Widmer |
last post by:
Hello!
I would like to hide one property of a base class in a derived class. How
could it be done? I tried to override it with a private property, but that
doesn't seem to do the hiding.
Martin
|
by: Nathan |
last post by:
I have a .Net assembly that exposes functionality to COM through the
use of a ComClass.
The assembly is installed using an MSI which automatically registers
the assembly for COM interop.
My problem is that when a user views the assembly through object
browser, the automatically generated classes connected with a web
service appear.
|
by: Back 9 |
last post by:
Hello,
In this news group I knew that Reflector for .NETis so cool.
But on the other hand I want to hide my code from it.
Is there any way to do that?
TIA
|
by: mrajanikrishna |
last post by:
Hi friends,
I have a web page(.aspx) in my project. In the code behind, I
have a method. How can I hide(invisible) only that method and rest of
the code is visible(all other button events, bla bla).
That means when anybody opens my project in visual studio or any other
editor, the method should be invisible.
How can I do this.
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |