Skip to main content
Participating Frequently
July 13, 2006
Question

NTFS Permissions and Flash

  • July 13, 2006
  • 2 replies
  • 1597 views
Hi,

I have a CF MX7.1 server on a Windows 2003 box. I use NTFS permissions to lock down certain directories. However, .cfm files are not affected by NTFS permissions unless you put a check mark in the "Verify that file exists" box in IIS manager (Home Directory...Configuration...) for the wildcard mapping dll (jrun_iis6_wildcard.dll).

Problem is, when I put a check in the box, my flash forms stop working (they just don't appear at all). Anybody know a fix for this?

I have already tried leaving the wildcard unchecked and then checking all the extensions separately (.cfm, .cfml, .jsp, .jws).
TIA,
Mike
    This topic has been closed for replies.

    2 replies

    Participating Frequently
    October 23, 2006
    Thank you Ted, this fixed my problem. How about letting your tech support know about both the problem and the solution so they don't try charging their customers $499 for more assistance?!

    LINK:
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=138&threadid=1183158&CFID=1494832&CFTOKEN=6747535&jsessionid=4830e49676b03d6d26f5
    Participating Frequently
    July 14, 2006
    There is a forthcoming technote for this problem. The following should work, but you have to be on 7.0.1 or greater:

    1. Open flex-config.xml for editing.
    Server configuration: cf_root\wwwroot\WEB-INF\cfform\
    Multiserver or J2EE configuration: jrun_root/servers/servername/cfusion-ear/cfusion-war/WEB-INF/cfform/.
    Look for the following line:

    <keep-generated-swsf>false</keep-generated-swsf>

    Set the value of the attribute to "true" and save the file.

    2. Create a directory named 'CFFormGateway' under the IIS webroot. You may leave this newly created directory empty.
    Navigate to your CFIDE/scripts directory. Make a copy of the cfform.swc file and rename it to cfform.swc.cfswf.

    3. Restart the ColdFusion server and IIS.

    Test a page containing a Flash form. You will see a file with a name in the format XXXXXXXXX.mxml.cfswf in the same directory as the CFM page generating the Flash form, and your Flash form will display properly in the browser.

    Ted Zimmerman
    mdueyAuthor
    Participating Frequently
    July 17, 2006
    Thanks Ted....made some progress, my static flash forms work fine. However, flash remoting is still broken. My forms that do remoting display the form, but the spinning clock progress icon never goes away and remoting does not retrieve data. Any more ideas?
    Participating Frequently
    July 17, 2006
    Try creating a flashservices directory under IIS and put a zero byte file in it name FlashGateway (no extension). That way IIS will check for the file and find it.

    Ted Zimmerman