• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 178
  • Last Modified:

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?
0
rubfriend
Asked:
rubfriend
1 Solution
 
käµfm³d 👽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

Featured Post

Put Machine Learning to Work--Protect Your Clients

Machine learning means Smarter Cybersecurity™ Solutions.
As technology continues to advance, managing and analyzing massive data sets just can’t be accomplished by humans alone. It requires huge amounts of memory and storage, as well as high-speed processing of the cloud.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now