Hi Mark As far as I know, you'd need to do this use cfcontent/cfheader to deliver a file, that itself sits outside of the web root but still accessible to the CF server. If the file is within the web root, and someone has the url, CF (as far as i know) cant control access to it if the file-url is requested directly.
On Fri, Oct 21, 2011 at 7:29 PM, Mark Rogers <[email protected]> wrote: > > I am trying to create a CF template that will allow users to download files > that that have names matching a specific criteria. > > > > For example, > > > > Sample File Names in directory > > > > 133555_xyz > > 133600_abc > > 223450_abc > > 340126_oop > > 349888_abc > > > > If id code ='349234' > > allow download of any file name like '34%' > > > > In this example should only allow files 340126_oop 349888_abc > > > > for download list. > > > > Any help would be greatly appreciated > > Mark Rogers > Vice President- Information Services > National Association of Insurance and Financial Advisors > 2901 Telestar Court > Falls Church, VA 22042 > > (703) 770-8130 > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348300 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

