• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 290
  • Last Modified:

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.
1 Solution
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.
JasonLattinAuthor Commented:
Thank you for that tip. I tried your recommendation and it worked perfectly for us.
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.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now