Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Security Risk: OLEDB Excel

I'm writing a web app that will read data from an Excel file submitted by an authenticated user by opening an OLEDB connection to it. Can anyone tell me the security risks of opening up an Excel file this way? I know dangerous macros can be embedded in excel files, but is that still a risk when using a OLEDB connection?

Thanks.

like image 473
shyneman Avatar asked Jun 25 '26 07:06

shyneman


1 Answers

No, there are no "Excel" security risks using OLEDB to read data from Excel workbooks. Any security risks will be through ADO (OLEDB) and not the Microsoft Excel application. Therefore, macros are not a concern, nor are cell formulas.

You may want to search for "ado oledb security excel" to satisfy your curiosity, but I do not believe you will find anything to worry about.

like image 69
AMissico Avatar answered Jun 27 '26 17:06

AMissico



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!