Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9249821
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T10:17:40+00:00 2026-06-18T10:17:40+00:00

I want to know if while trying to connect to a file with OlEDB

  • 0

I want to know if while trying to connect to a file with OlEDB and this file contains malware, if this malware can be activated.

Even if the answer is yes or no, could you please explain me why and/or how this happens?

I read the sentence below in this article but I’m not sure that while trying to connect with OLEDB that this connection will not activate the entry point of the exe hidden under the xls file in my case:

Almost all viruses are attached to an executable file, which means the virus may exist on a system but will not be active or able to spread until a user runs or opens the malicious host file or program. When the host code is executed, the viral code is executed as well.

Note that I use OLEDB in c# with System.Data.Oledb and with a connection string like this one:

Provider=Microsoft.ACE.OLEDB.12.0;Data Source=c:\myFolder\myExcel2007file.xlsx;
Extended Properties=”Excel 12.0 Xml;HDR=YES”;

Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T10:17:41+00:00Added an answer on June 18, 2026 at 10:17 am

    could you please explain me why and/or how this happen?

    In order to do so, you must understand how malware works. Just like any regular program, it must be executed in order to do its damage. You can rename an infected .exe to .jpg and open it in a photo viewer, nothing will happen.

    The same goes for your data source. If you just display its contents, nothing will happen. Unless of course the malware is targeting the display system, which is frequently used for dropping malware: for example known buffer overflows in PDF-, photo- or other document viewers, where a specially crafted file leaks executable code into the stack of the hosting program, so it can run its “installer” or do its damage by running once.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to know how can i fill only certain columns while filling the
I've been at this for a while and want to know the best way
hi all i want to know that while specifying url in my iphone native
want to know why String behaves like value type while using ==. String s1
I Want to know which one is preferred while coding to use Static Methods
I want to know how to add images while exporting the image from highcharts.
Also I want to know how to add meta data while indexing so that
I just want to know if the cookies are created while I try to
i want know how i can manage multiple twitter account on iOS in my
I'm trying to use a German-style CSV file with DBI and DBD::CSV . This,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.