VB.NET expertise

Sorry to bother you, but I need your expertise.
I found a developer writing unmanaged code.  A few weeks ago, he indicated the whole developers to only do a dispose of the connections, but not to close them since this was not longer necessary in Visual Studio 2008.  I think he could be up to something like moving company data to another place.  Could he achieve this by not closing all connections?
Does serialization is part of transmitting data as well?  Would developer need the help of a System Administrator to do this or would developer could do this on his own?
rubfriendAsked:
Who is Participating?
 
käµfm³d 👽Connect With a Mentor Commented:
... Could he achieve this by not closing all connections?
Calling the Dispose method on a SqlConnection object (or other object that inherits DbConnection, by default) internally calls the Close method. This is in regards to .NET (i.e. managed code). You said the code was "unmanaged", so I don't think the same logic applies (i.e. connections should be explicitly closed).

Does serialization is part of transmitting data as well?
Serialization is the process of converting an object's representation in memory into a representation which can be stored or transmitted. Think about it like this: an object in memory isn't stored in sequential slots of memory; it is scattered all throughout memory. Serialization turns an object into a sequential "array" of bytes. This array is what you store or transmit.

Would developer need the help of a System Administrator to do this or would developer could do this on his own?
I'd say no. It would be relatively easy to offload data outside of the system; however, if you keep good logs, it should be easy to track unauthorized external connections. This of course depends on the method used by the individual.

Given your short description, I wouldn't think you have a security issue going on here. You may have other information which leads you to think this, however. If you have any other concerns, feel free to post back  = )
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.