• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 288
  • 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.
0
JasonLattin
Asked:
JasonLattin
1 Solution
 
luconstaCommented:
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

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

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