Solved

App.Config configSource to a UNC path or Shared drive

Posted on 2013-11-13
1
1,011 Views
Last Modified: 2013-11-25
I want to have the local App.config point to one on a Shared drive.

From what I understand the configSource attribute must be a relative physical path for security purposes.

So the question is it at all possible to have <ConnectionStrings ConfigSource = (UNC path or mapped drive as it's destination)>

I've tried and failed but maybe one of you may know something I don't.
0
Comment
Question by:ButtonDownBobby
1 Comment
 
LVL 74

Accepted Solution

by:
käµfm³d   👽 earned 500 total points
ID: 39644978
You can use the mklink command to create a symbolic link (/d parameter) to the UNC path. Then you would have something that appears to be relative to the site's directory, but is actually external.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
copyEvens challenge 6 63
count8 challlenge 13 86
PHP question(s) about order of output 9 43
C# code editing and collaboration 3 47
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now