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 8185075
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T01:43:10+00:00 2026-06-07T01:43:10+00:00

I have created an Excel 2007 add-in using Visual Studio 2008 and built-in project

  • 0

I have created an Excel 2007 add-in using Visual Studio 2008 and built-in project template. In my project, I have a database connection class that connects to an Oracle database with a connection string, such as:

string connectionString = "Data Source=ibd1.dev;User Id=xxx;Password=xxx;";

My question is, how safe is this after the add-in is deployed. Is it possible for an end user (or mischievous hacker) to decompile the add-in and see the connection string? I can’t risk that if it is possible.

I should mention how it is deployed. I am using the “Publish” function in Visual Studio to put the installation files out on a shared network drive that anyone inside the company can access. The resulting directory has a setup.exe, a VSTO file, and a couple sub directories with DLL’s and MANIFEST files. I don’t have much experience with deployment since I am typically a web app developer.

Any advice would be appreciated.

  • 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-07T01:43:12+00:00Added an answer on June 7, 2026 at 1:43 am

    Is it possible for an end user (or mischievous hacker) to decompile the add-in and see the connection string? I can’t risk that if it is possible.

    Yes. Tools like Reflector, dotPeek, etc make that trivial.

    I probably wouldn’t connect directly to a database from a VSTO Add In. Instead, I would call a web service (which talks to the DB), and the user would need to authenticate to the web service, either with a username and password, Windows Integrated Authentication, etc.

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

Sidebar

Related Questions

I am developing an add-in for Microsoft Excel, using Visual Studio .NET 2008. The
When I try to create a Excel 2007 Workbook project, in Visual Studio 2008,
I have created a xlt excel template which works fine in Excel 2007 under
I have an excel 2007 Add-in built with VS2010 VSTO library. when i create
I have a Vsto Excel workbook (created in Visual Studio) which also contains a
I have a Vsto Excel workbook (created in Visual Studio) which also contains a
I have an VSTO excel 2007 Add in. For this I have created a
I have created Excel Sheet using Java program. It works fine. My problem is,
I have created an Excel document using OpenXml SDK 2.0, now I have to
I am using POI 3.8 to create Excel sheets using Java I have created

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.