Expose a settings file to the internet for applications to read from.

I need a way to expose an xml config file to the internet so that multiple applications out in the "real world" can read from it simultaneously.

Details :
We have an application that reads from an XML config file to gather it's settings. The application is installed in multiple offices around the country. This config file changes once a quarter. Today we email the new file out to our remote offices and they copy it to the user's local machines each quarter.
I'd like a way to save this on a common IIS box and expose that file to the internet. The user's computers would then be pointed to that central file instead of their local systems. This would allow us to make changes on the central file and it will immediately be available for the users without any interaction on their part.

We already have a Server 2008 R2 x64 web server exposed to the internet and it is secured with a certificate. The actual file lives on c:\inetpub\settings/mysettings.config
I believe the url would read something like. https://myserver.mycompany.com/settings/mysettings.config

I don't know how what to change in the IIS settings to accomplish this. Detailed directions will be needed and very much appreciated.
JasonLattinAsked:
Who is Participating?
 
luconstaConnect With a Mentor Commented:
You could create a virtual directory for your file and select as physical location the folder that currently have the file and set the permissions for everyone to access it.
For step by step instruction see here: How to: Create and Configure Virtual Directories in IIS 7.0.
0
 
JasonLattinAuthor Commented:
Thank you for that tip. I tried your recommendation and it worked perfectly for us.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.