Cfhttp is slow when sandbox security is enabled

We are running ColdFusion10 Ent. on Windows Server 2008 R2 Standard and IIS ver. 7.5. Java Version: 1.7.0_45
We have also implemented the CF lockdown guide.
Things have been running quite smoothly for some time now. However, after applying CF update 14 on our QA server we noticed an huge performance hit for all CFHTTP calls when security sandbox is enabled. If we disable the ssb then performance returns to normal. Disabling the sandbox is not an option for us.
Here is the difference for a simple cfhttp request.
Sandbox enabled: 9109 ms.
Sandbox disabled: 79 ms.
Rolling back to update 12 fixes the issue.
We've since applied update 15 and now 16 with no change in this performance. After applying all update we always re-run the connectors as stated by Adobe.
Our local dev machines (mac and PC) do not seem to experience this behaviour so I'm a bit concerned it might have something to do with IIS/connectors etc. on the server.
Any suggestions/advice would be much appreciated as we cannot apply updates to our current prod installation running ver.10 update 12 until this issue is resolved.
Thanks in advance.
Update: To see if this issue was resolved in CF11, I installed CF11 on the same machine as above. Same issue exists with ssb enabled and the sandbox configured for my test app! The performance is still extremely poor for even a simple cfhttp request.
Message was edited by: mark huras

I would submit this as a bug if you have only started experiencing this since an update and are able to reproduce it. https://bugbase.adobe.com/index.cfm?event=newBug

Similar Messages

  • When Coherence security is enabled there is a significant performance hit

    When Coherence security is enabled, every call to do the cache operation do a security check. This is negatively impacting application's performance. I'm using the built in DefaultController & java keystore login. Is there any workaround so that the performance can be improved.

    Hi user9980369
    It depends how you have implemented security. What version of Coherence are you using?
    JK

  • WRT54G Strange connection issue when wireless security is enabled

    The model # is WRT54G v2.2 with firmware 4.21.1. I knew that my internet connection was good because I connected my laptop directly to the wireless antenna. When the antenna is connected to my wireless router I can't connect, wired or wireless. I decided to reset the router and program back in the changes that I have made. I checked for internet connection after the reset, it's there. Made more changes, still good. Then when I enabled wireless security using WEP the wired and wireless internet connection goes away. Any ideas to fix this. Can I go back to the previous version of firmware?

    hi... go to ftp.linksys.com/pub/network and try downloading older firmware for the router and downgrade the firmware, after that reset the router back to factory default settings and reconfigure it...

  • Lightroom slower when GPU acceleration is enabled

    My graphics card is OpenGL compatible and it is shown in the preferences under performance.
    When the GPU setting is turned on my develop module is extremely slow. Turning it off is faster and more like LR 5 performance.
    All the hype about GPU acceleration and in reality is slows me down.
    I've also noticed then if you have an image open and then open the preferences windows and toggle the GPU setting on and off, the image changes.
    When I say changes, I mean the image becomes lighter or darker as if the exposure or whites/blacks is being changed.

    I agree with Adamnz. I have a slightly older system but using CC 6 is like going back to the early releases of 5.x when the clone tool was jerking around the screen.
    Painting with a brush and the mask showing makes the lag time visible.
    Jerky tool movements... like trying to paint with Parkinson's.
    Screen blackouts while refreshing images.
    Slow screen refreshes between images.
    CPU usage slightly higher (60%) with GPU enabled
    But since this version created a "New and Improved" catalog I can't (i don't think) go back to 5.x...
    BTW, I have been waiting for a call back from support for an hour when the stated call back time was 25 to 30 minutes... Not Good.
    Here are my specs in case Adobe is listening....
    Lightroom version: CC 2015.0.1 [ 1018573 ]
    License: Creative Cloud
    Operating system: Windows 8.1 Business Edition
    Version: 6.3 [9600]
    Application architecture: x64
    System architecture: x64
    Logical processor count: 8
    Processor speed: 3.3 GHz
    Built-in memory: 16366.4 MB
    Real memory available to Lightroom: 16366.4 MB
    Real memory used by Lightroom: 3261.9 MB (19.9%)
    Virtual memory used by Lightroom: 3324.1 MB
    Memory cache size: 1469.4 MB
    Maximum thread count used by Camera Raw: 4
    Camera Raw SIMD optimization: SSE2,AVX
    System DPI setting: 96 DPI
    Desktop composition enabled: Yes
    Displays: 1) 2560x1440, 2) 2560x1440
    Input types: Multitouch: No, Integrated touch: No, Integrated pen: Yes, External touch: No, External pen: Yes, Keyboard: No
    Graphics Processor Info:
    GeForce GTX 560 Ti/PCIe/SSE2
    Check OpenGL support: Passed
    Vendor: NVIDIA Corporation
    Version: 3.3.0 NVIDIA 350.12
    Renderer: GeForce GTX 560 Ti/PCIe/SSE2
    LanguageVersion: 3.30 NVIDIA via Cg compiler
    Application folder: C:\Program Files\Adobe\Adobe Lightroom
    Library Path: D:\Pictures\Lightroom\Lightroom Catalog.lrcat
    Settings Folder: C:\Users\Dim\AppData\Roaming\Adobe\Lightroom
    Installed Plugins:
    1) Behance
    2) Canon Tether Plugin
    3) DxO Optics Pro 9
    4) DxO Optics Pro 9 Importer
    5) Facebook
    6) Flickr
    7) Leica Tether Plugin
    8) Nikon Tether Plugin
    Config.lua flags: None
    Updated Toolkit: Adobe Camera Raw 9.0 for Lightroom 6.0 (build 1014445)
    Updated Toolkit: Book Module 6.0 (build 1014445)
    Updated Toolkit: Develop Module 6.0 (build 1014445)
    Updated Toolkit: Import Module 6.0 (build 1014445)
    Updated Toolkit: Library Module 6.0 (build 1014445)
    Updated Toolkit: Map Module 6.0 (build 1014445)
    Updated Toolkit: Monitor Module 6.0 (build 1014445)
    Updated Toolkit: Print Module 6.0 (build 1014445)
    Updated Toolkit: Slideshow Module 6.0 (build 1014445)
    Updated Toolkit: Web Module 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.AgNetClient 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.AgWFBridge 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.Headlights 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.LibraryToolkit 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.MultiMonitorToolkit 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.archiving_toolkit 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.bridgetalk 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.catalogconverters 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.cef_toolkit 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.coretech_toolkit 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.curculio 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.discburning 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.email 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.export 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.ftpclient 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.help 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.iac 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.imageanalysis 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.layout_module_shared 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.pdf_toolkit 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.sdk 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.sec 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.socket 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.store_provider 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.substrate 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.ui 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.video_toolkit 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.xml 6.0 (build 1014445)
    Updated Toolkit: com.adobe.wichitafoundation 6.0 (build 1014445)
    Adapter #1: Vendor : 10de
      D

  • Cannot connect when wireless security is enabled

    I have a linksys wrt54g ver.6 wireless router. My Dell laptop running vista can connect wirelessly to the internet just fine when I have wireless security disabled on my wrt54g router.
    When I enable security (I tried WEP) the network connection on my laptop fails and I see this message in vista’s “Connect to a network” window:
    "The settings saved on this computer for the network do not match the requirements of the network"
    Any ideas on how to fix this?   Thanks!!!

    Open network & sharing center ..... click manage wireless networks
    Configure the wireless settings manually .....
    Reboot the computer & see if it is connected to the network or not .....

  • Express unable to connect to Extreme when wireless security enabled

    I have an Airport Extreme base station enabled as a WDS and communicating with an Airport Express which all works great to connect wirelessly to the internet and to play iTunes music on my stereo. The problem is that whenever I enable wireless security on the base station in an attempt to set up and maintain a private connection, the Express blinks amber, cannot recognize the network set up by the base station, and fails to work with iTunes. When I disable wireless security, it goes back to working again. I've tried re-enabling WDS and all kinds of other things, but to no avail. I'm thinking that somehow the Express must be authorized to communicate with the base station, but I don't know exactly how to do this, and the documentation from Apple is not clear on this. Can someone advise? Thanks.

    The reason the Airport Express loses its connection is that it doesn't know the password.
    You have two ways of doing this.
    1. When adding security to a WDS network, add it to the remote nodes first then turning them off, before adding it to the main base station and turning the nodes back on.
    2. Hard/Factory reset the Airport Express nodes and then reconfigure the main base station before then configuring the reset Airport Express units.
    Resetting AirPort Express
    http://docs.info.apple.com/article.html?artnum=108044
    iFelix

  • 2012 Mac Mini becoming very slow when using finder

    Hi!
    I've had my 2012 Mac Mini (10.9 Mavericks, Dual Booted W/ Windows) since February 2014 (Late to the party, I know) and, up until about a week ago, it was fine.
    Then, all of a sudden, it starts being unusabley slow the moment I try to do anything in finder. Relaunching finder makes it a bit more bareable, and rebooting fixes it completely until I next open finder. I thought this may have been one of those rare times when a Mac gets a virus, however, AVG found nothing. The next thing I found was that it was to do with the fact that my hard drive was full (it was quite full) and that if I was using all of my 4GB of RAM that my Mac would use virtual memory, and that this would effect the speed if I didn't have a lot of HDD space. However, despite removing nearly 1/2 of the things on my HDD, the problem still persists. I have basically ruled out visiting "the local" apple store, as I'm in the middle of nowhere. the nearest one is around 3 hours away.
    Thanks,
    Dan

    1. This is a comment on what you should—and should not—do to protect yourself from malicious software ("malware") that circulates on the Internet and gets onto a computer as an unintended consequence of the user's actions. It does not apply to software, such as keystroke loggers, that may be installed deliberately by an intruder who has hands-on access to the computer, or who has been able to log in to it remotely. That threat is in a different category, and there's no easy way to defend against it.
    If you find this comment too long or too technical, read only sections 5, 6, and 10.
    OS X now implements three layers of built-in protection specifically against malware, not counting runtime protections such as execute disable, sandboxing, system library randomization, and address space layout randomization that may also guard against other kinds of exploits.
    2. All versions of OS X since 10.6.7 have been able to detect known Mac malware in downloaded files, and to block insecure web plugins. This feature is transparent to the user. Internally Apple calls it "XProtect."
    The malware recognition database used by XProtect is automatically updated; however, you shouldn't rely on it, because the attackers are always at least a day ahead of the defenders.
    The following caveats apply to XProtect:
    It can be bypassed by some third-party networking software, such as BitTorrent clients and Java applets.
    It only applies to software downloaded from the network. Software installed from a CD or other media is not checked.
    As new versions of OS X are released, it's not clear whether Apple will indefinitely continue to maintain the XProtect database of older versions such as 10.6. The security of obsolete system versions may eventually be degraded. Security updates to the code of obsolete systems will stop being released at some point, and that may leave them open to other kinds of attack besides malware.
       3. Starting with OS X 10.7.5, there has been a second layer of built-in malware protection, designated "Gatekeeper" by Apple. By default, applications and Installer packages downloaded from the network will only run if they're digitally signed by a developer with a certificate issued by Apple. Software certified in this way hasn't necessarily been tested by Apple, but you can be reasonably sure that it hasn't been modified by anyone other than the developer. His identity is known to Apple, so he could be held legally responsible if he distributed malware. That may not mean much if the developer lives in a country with a weak legal system (see below.)
    Gatekeeper doesn't depend on a database of known malware. It has, however, the same limitations as XProtect, and in addition the following:
    It can easily be disabled or overridden by the user.
    A malware attacker could get control of a code-signing certificate under false pretenses, or could simply ignore the consequences of distributing codesigned malware.
    An App Store developer could find a way to bypass Apple's oversight, or the oversight could fail due to human error.
    Apple has so far failed to revoke the codesigning certificates of some known abusers, thereby diluting the value of Gatekeeper and the Developer ID program. These failures don't involve App Store products, however.
       For the reasons given, App Store products, and—to a lesser extent—other applications recognized by Gatekeeper as signed, are safer than others, but they can't be considered absolutely safe. "Sandboxed" applications may prompt for access to private data, such as your contacts, or for access to the network. Think before granting that access. Sandbox security is based on user input. Never click through any request for authorization without thinking.
    4. Starting with OS X 10.8.3, a third layer of protection has been added: a "Malware Removal Tool" (MRT). MRT runs automatically in the background when you update the OS. It checks for, and removes, malware that may have evaded the other protections via a Java exploit (see below.) MRT also runs when you install or update the Apple-supplied Java runtime (but not the Oracle runtime.) Like XProtect, MRT is effective against known threats, but not against unknown ones. It notifies you if it finds malware, but otherwise there's no user interface to MRT.
    5. The built-in security features of OS X reduce the risk of malware attack, but they are not, and never will be, complete protection. Malware is a problem of human behavior, and a technological fix is not going to solve it. Trusting software to protect you will only make you more vulnerable.
    The best defense is always going to be your own intelligence. With the possible exception of Java exploits, all known malware circulating on the Internet that affects a fully-updated installation of OS X 10.6 or later takes the form of so-called "Trojan horses," which can only have an effect if the victim is duped into running them. The threat therefore amounts to a battle of wits between you and the scam artists. If you're smarter than they think you are, you'll win. That means, in practice, that you always stay within a safe harbor of computing practices. How do you know when you're leaving the safe harbor? Below are some warning signs of danger.
    Software from an untrustworthy source
    Software of any kind is distributed via BitTorrent. or Usenet, or on a website that also distributes pirated music or movies.
    Software with a corporate brand, such as Adobe Flash Player, doesn't come directly from the developer’s website. Do not trust an alert from any website to update Flash, your browser, or anything else.
    Rogue websites such as Softonic and CNET Download distribute free applications that have been packaged in a superfluous "installer."
    The software is advertised by means of spam or intrusive web ads. Any ad, on any site, that includes a direct link to a download should be ignored.
    Software that is plainly illegal or does something illegal
    High-priced commercial software such as Photoshop is "cracked" or "free."
    An application helps you to infringe copyright, for instance by circumventing the copy protection on commercial software, or saving streamed media for reuse without permission.
    Conditional or unsolicited offers from strangers
    A telephone caller or a web page tells you that you have a “virus” and offers to help you remove it. (Some reputable websites did legitimately warn visitors who were infected with the "DNSChanger" malware. That exception to this rule no longer applies.)
    A web site offers free content such as video or music, but to use it you must install a “codec,” “plug-in,” "player," "downloader," "extractor," or “certificate” that comes from that same site, or an unknown one.
    You win a prize in a contest you never entered.
    Someone on a message board such as this one is eager to help you, but only if you download an application of his choosing.
    A "FREE WI-FI !!!" network advertises itself in a public place such as an airport, but is not provided by the management.
    Anything online that you would expect to pay for is "free."
    Unexpected events
    You open what you think is a document and get an alert that it's "an application downloaded from the Internet." Click Cancel and delete the file. Even if you don't get the alert, you should still delete any file that isn't what you expected it to be.
    An application does something you don't expect, such as asking for permission to access your contacts, your location, or the Internet for no obvious reason.
    Software is attached to email that you didn't request, even if it comes (or seems to come) from someone you trust.
    I don't say that leaving the safe harbor just once will necessarily result in disaster, but making a habit of it will weaken your defenses against malware attack. Any of the above scenarios should, at the very least, make you uncomfortable.
       6. Java on the Web (not to be confused with JavaScript, to which it's not related, despite the similarity of the names) is a weak point in the security of any system. Java is, among other things, a platform for running complex applications in a web page, on the client. That was always a bad idea, and Java's developers have proven themselves incapable of implementing it without also creating a portal for malware to enter. Past Java exploits are the closest thing there has ever been to a Windows-style virus affecting OS X. Merely loading a page with malicious Java content could be harmful.
    Fortunately, client-side Java on the Web is obsolete and mostly extinct. Only a few outmoded sites still use it. Try to hasten the process of extinction by avoiding those sites, if you have a choice. Forget about playing games or other non-essential uses of Java.
    Java is not included in OS X 10.7 and later. Discrete Java installers are distributed by Apple and by Oracle (the developer of Java.) Don't use either one unless you need it. Most people don't. If Java is installed, disable it—not JavaScript—in your browsers.
    Regardless of version, experience has shown that Java on the Web can't be trusted. If you must use a Java applet for a task on a specific site, enable Java only for that site in Safari. Never enable Java for a public website that carries third-party advertising. Use it only on well-known, login-protected, secure websites without ads. In Safari 6 or later, you'll see a lock icon in the address bar with the abbreviation "https" when visiting a secure site.
    Stay within the safe harbor, and you’ll be as safe from malware as you can practically be. The rest of this comment concerns what you should not do to protect yourself.
    7. Never install any commercial "anti-virus" (AV) or "Internet security" products for the Mac, as they are all worse than useless. If you need to be able to detect Windows malware in your files, use one of the free security apps in the Mac App Store—nothing else.
    Why shouldn't you use commercial AV products?
    To recognize malware, the software depends on a database of known threats, which is always at least a day out of date. This technique is a proven failure, as a major AV software vendor has admitted. Most attacks are "zero-day"—that is, previously unknown. Recognition-based AV does not defend against such attacks, and the enterprise IT industry is coming to the realization that traditional AV software is worthless.
    Its design is predicated on the nonexistent threat that malware may be injected at any time, anywhere in the file system. Malware is downloaded from the network; it doesn't materialize from nowhere.
    In order to meet that nonexistent threat, commercial AV software modifies or duplicates low-level functions of the operating system, which is a waste of resources and a common cause of instability, bugs, and poor performance.
    By modifying the operating system, the software itself may create weaknesses that could be exploited by malware attackers.
    Most importantly, a false sense of security is dangerous.
    8. An AV product from the App Store, such as "ClamXav," has the same drawback as the commercial suites of being always out of date, but it does not inject low-level code into the operating system. That doesn't mean it's entirely harmless. It may report email messages that have "phishing" links in the body, or Windows malware in attachments, as infected files, and offer to delete or move them. Doing so will corrupt the Mail database. The messages should be deleted from within the Mail application.
    An AV app is not needed, and cannot be relied upon, for protection against OS X malware. It's useful, if at all, only for detecting Windows malware, and even for that use it's not really effective, because new Windows malware is emerging much faster than OS X malware.
    Windows malware can't harm you directly (unless, of course, you use Windows.) Just don't pass it on to anyone else. A malicious attachment in email is usually easy to recognize by the name alone. An actual example:
    London Terror Moovie.avi [124 spaces] Checked By Norton Antivirus.exe
    You don't need software to tell you that's a Windows trojan. Software may be able to tell you which trojan it is, but who cares? In practice, there's no reason to use recognition software unless an institutional policy requires it. Windows malware is so widespread that you should assume it's in every email attachment until proven otherwise. Nevertheless, ClamXav or a similar product from the App Store may serve a purpose if it satisfies an ill-informed network administrator who says you must run some kind of AV application. It's free and it won't handicap the system.
    The ClamXav developer won't try to "upsell" you to a paid version of the product. Other developers may do that. Don't be upsold. For one thing, you should not pay to protect Windows users from the consequences of their choice of computing platform. For another, a paid upgrade from a free app will probably have all the disadvantages mentioned in section 7.
    9. It seems to be a common belief that the built-in Application Firewall acts as a barrier to infection, or prevents malware from functioning. It does neither. It blocks inbound connections to certain network services you're running, such as file sharing. It's disabled by default and you should leave it that way if you're behind a router on a private home or office network. Activate it only when you're on an untrusted network, for instance a public Wi-Fi hotspot, where you don't want to provide services. Disable any services you don't use in the Sharing preference pane. All are disabled by default.
    10. As a Mac user you don't have to live in fear that your computer may be infected every time you install software, read email, or visit a web page. But neither should you assume that you will always be safe from exploitation, no matter what you do. The greatest harm done by security software is precisely its selling point: it makes people feel safe. They may then feel safe enough to take risks from which the software doesn't protect them. Nothing can lessen the need for safe computing practices.

  • Sandbox security denying CFINDEX from indexing a collection (Solr/CF9)

    Hello, everyone.
    I did fix the last Sandbox security related issue with Solr collections - it was in the "Files/Dir" section, I had to put everything under C:\ColdFusion9\wwwroot.
    Now, I'm facing yet another Sandbox related issue with collections.
    I have one reindex script that has NO ISSUES when pulling data from a database and indexing a collection from that.
    I have another reindex script that will not index a collection from a query, unless Sandbox is disabled.  I will try to give some pseudo code.
    <cfquery name="search_results" datasource="documents">
      SELECT DOC_ID, DOC_NAME, DOC_DESCRIPTION
      FROM DOC
      WHERE DOC_ID in (<cfqueryparam value="#thisList#" cfsqltype="CF_SQL_VARCHAR" list="yes">)
    </cfquery>
    <cftry>
      <cfindex action="refresh" collection="collection_name" key="DOC_DESCRIPTION" type="custom" title="DOC_DESCRIPTION" query="search_results" body="DOC_ID, DOC_NAME, DOC_DESCRIPTION" status="results" />
      <cfcatch><cfdump var="#cfcatch#"></cfcatch>
    </cftry>
    The query will retrieve 15 records, with or without Sandbox.  But the CFINDEX will not work if Sandbox is enabled.
    The other reindex script is not affected, either way.
    What could be causing the CFINDEX to fail?
    Thank you,
    ^_^

    I had a similar issue with CFSEARCH on CF10 with sandbox security that I resolved by adding the following to the neo-security.xml file:
    <struct><var name='CLASS'><string>java.net.SocketPermission</string></var><var name='TARGET'><string>127.0.0.1:0</string></var><var name='ACTION'><string>listen,resolve</string></var></struct></array></var></struct></var> </struct>
    That gives permission to listen on dynamic ports (the colon-zero part).

  • CF10 Sandbox Security prevents CFCOLLECTION create from working

    Hello, everyone,
    I've got CF10 installed on my dev system.  I've created several Solr collections.  I have turned on Sandbox Security, and added defined directory permissions for C:/ColdFusion10/cfusion/collections and C:/ColdFusion10/cfusion/jetty folders.  I have edited both paths so that NOTHING is disabled.
    If Sandbox is on and I remove a collection from within CFAdmin, when I try to use the CFCOLLECTION action="create" tag, I get java.io.filePermission "read" access denied messages.
    If I turn off Sandbox, the tag runs fine.
    What else do I need to do in order for CFCOLLECTION action="create" to work while Sandbox is on?
    V/r,
    ^_^

    Hi, Charlie!  Thanks for chiming in.  (Also, sorry for delay in responding..)
    Yes, when the collection is created in CFAdmin, the collection IS creating the folders in C:\ColdFusion10\cfusion\collections.
    When I create them with CFCOLLECTION, I am specifying the same path to the collections folder.
    For the Sandbox, CF10 installs with three items in the Sandbox, already:
    (ColdFusion WEB-INF system directory)
    (ColdFusion CFIDE system directory)
    C:/ColdFusion10/cfusion/wwwroot/
    I have added to this list:
    C:/ColdFusion10/cfusion/jetty/
    C:/ColdFusion10/cfusion/collections/
    For each of the two I added, I edited them both:
    Data Sources - ALL DATASOURCES enabled
    CF Tags - All tags enabled, none disabled
    CF Functions - All functions enabled, none disabled
    Files/Dirs - Each path (with two entries, each: / and /-) set for Read, Write, Delete
    Server/Ports - ALL IP:ports are open, no restrictions
    Others - ALL runtimes enabled, none disabled
    I have gone in to look at the settings for wwwroot.  With one exception, it is identical to the above.  That one exception is that all runtimes (under Others) are disabled, none enabled.
    V/r,
    ^_^

  • Sandbox Security Issue (MIDI Not Working In Applet)

    Hi all,
    I'm having problems getting javax.sound.midi to work in a java applet. It works fine when I run the applet from within JGrasp, but when I try to run the applet from an HTML file there is no sound. From what info I've found, it seems like my problem has to do with the sandbox security so the applet is not being able to access the computer's sound card, but I still haven't found a solution or a work around to that problem (after about 2 weeks worth of searching). The world of applet security is all new territory for me.
    I am running the html file off of my hard drive and I have my test program's class file in the same directory. I have tried both firefox and internet explorer web browsers (and also did the "allow blocked content" in internet explorer).
    I have no other sound sources playing or paused that would interfere with the web browser playing (it works in JGrasp and immediately after closing JGrasp completely it doesn't work in the web browser).
    Any help help in getting this figured out would be greatly appreciated. An example of an open source MIDI Java applet that I can pick apart to figure out what I need to make this work would be fantastic. Thanks in advance!
    Here are the codes to my test program and HTML file:
    PlayMIDI.html
    <html>
    <body>
    <CENTER><applet code="PlayMIDI.class" width="1000" height="500"></applet></CENTER>
    </body>
    </html>PlayMIDI.java
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import java.net.*;
    import javax.sound.midi.*;
    public class PlayMIDI extends JApplet
        public void init()
            MIDITest play = new MIDITest(0);
            play.playSong(100);
    class MIDITest
        private final int C4 = 60;                                        // C4 is the note middle C
        private final int MF = Integer.MAX_VALUE / 2;        // MF stands for mezzo forte -- medium loud
        private int iTimbre;                                                 // midi instrument number
        private Synthesizer synth;                                        // get the java synthesizer
        private MidiChannel [] channels;                              // get an array of channels.  This is the number of notes that can sound simultaneously     
        // Creates a midi synthisizer using the supplied instrument "patch".
        //   instrument numbers can vary from 0 to 127
        public MIDITest(int instrumentNumber)
            iTimbre = instrumentNumber;
            try 
            {   synth = MidiSystem.getSynthesizer();                                   //synth = MidiSystem.getSynthesizer();
                synth.open();                                                                           // open the synthesizer
                synth.loadAllInstruments(synth.getDefaultSoundbank());     // make all instruments available
                channels = synth.getChannels();
                channels[0].programChange(0, iTimbre);                                   // set the instrument for the channel 0
            catch (Exception e)
            {  System.out.println(e);
        public void playSong(int tempo)
            int quarter     = 60000;
            int eigth     = 30000;
            int half          = 120000;
            int whole     = 240000;
            int D4 = C4 + 2;
            int E4 = C4 + 4;
            int G4 = C4 + 7;
            int A4 = C4 + 9;
            int B4 = C4 + 11;
            try
            {   channels[0].noteOn(E4, MF);                         // start the instrument on channel 0 sounding
                channels[0].noteOn(B4, MF);
                channels[0].noteOn(G4, MF);
                channels[0].noteOn(D4, MF);
                Thread.sleep(whole / tempo);                         // sleep causes the program to wait the given number of milliseconds
                channels[0].noteOff(E4, MF);                         // stop the sound on the instrument on channel 0
                channels[0].noteOff(B4, MF);
                channels[0].noteOff(G4, MF);
                channels[0].noteOff(D4, MF);
            catch (Exception e)
            {   System.out.println(e);
    }

    Hi ejp, thanks for the reply.
    I did some searching for applet signing and I found this:
    http://www.brendonwilson.com/projects/signed-java/
    "+Developers should be warned that signing alone is not enough to enable their Java applets to access resources normally restricted by the Java sandbox. Although signing provides proof of the integrity of the applet and validation of the author’s identity through trust-heirarchies, developers must also make use of the browser-dependent APIs to request permission from the user to perform restricted activities.+"
    So am I going to have to do ask permission from each browser in order to get access to the sound card for the MIDI to play or will the MIDI work without that?
    Also, I found this tutorial on signing applets. Does this look like a good one?
    http://www-personal.umich.edu/~lsiden/tutorials/signed-applet/signed-applet.html
    Thanks again,
    -tkr

  • Sandbox security and cfincludes

    Hi
    It seems CFINCLUDE can lend itself to security exploitation if improperly used - especially if a variable is used inside it and if the variable is not sanity checked.
    Does using sandbox security allow for explicit disabling of cfincludes outside of the sandbox directories? i.e can we set up sandbox security in such a way so that only files inside of the sandbox can be cfincluded?
    Thanks in advance.

    When you enable Sandbox for DSNs, it makes the DSNs case
    sensitive. Be sure that in your code it matches your DSN exactly as
    you have it listed in the CF administrator. EX: " DBdatasource " is
    not the same as " dbdatasource"

  • Hello, I have a macbook pro late 2011 15 inch with 4 gb ram. My macbook runs extremely slow when logging in after waking up from sleep, locking up and I am unable to use the keyboard. Is there a fix?

    My macbook runs extremely slow when logging in after waking up from sleep, locking up and I am unable to use the keyboard. Furthermore, when just using safari to watch streaming television, my computer gets really slow, and locks up, and the dock appears blank and I sit here frustrated. Anytime i wake up my computer, my keys don't respond and I've waited at most 3 minutes untill i can type in my password. Even sometimes when i type in my password and hit enter, it takes forever to open up my mac. I have barely used any storage in my macbook, since i only use it for college, and I have run clamscan wiht no viruses showing... Any ideas?

    when just using safari to watch streaming television, my computer gets really slow, and locks up, and the dock appears blank
    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, or by a peripheral device. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output andWi-Fi on certain iMacs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Mac running slow when cut and paste

    Hi,
    recently I noticed that my mac is running slow when I cut and paste (there is a delay of approx 1-2 secs). I thought it might be some kind of spyware which is trying to steal sensitive information such as passwords, credit cards and others. That would be surprising as I thought those were still rare in Mac. Any thought on this? Suggestions on how to protect my mac from these security issues? Thanks in advance!
    Mauro

    Morning smartasso,
    Thanks for using Apple Support Communities.
    If you find your Mac is running slowly, there are a number of potential causes that you can check.
    For more information on this, take a look at this article:
    OS X Mountain Lion: If your Mac runs slowly
    http://support.apple.com/kb/PH10798
    Best of luck,
    Mario

  • Yosemite is very slow when i switch on. can someone say why and i can solve the problem??

    yosemite is very slow when i switch on. ten or more seconds. why? how i can solve this problem??
    Thanks riccardo.italy.

    The following items or conditions can slow a Mac. Please see if any of them apply:
    1) Are you running any anti-virus/internet security applications?
    2) Are you running any "cleaning/tune-up/optimizations" applications?
    3) Any peer-to-peer or torrent downloading software?
    4) Any third-party disk backup software that came bundled with an external hard drive?
    5) Any online backup scheme other than iCloud or DropBox (Carbonite; GoogleDrive; MS One Drive)?
    6) Did your financial institution ask you to install Trusteer EndPoint Protection (also known as Trusteer Rapport)?
    If you can answer "yes" to any of those questions, you have some unneeded and performance-robbing software installed.

  • When ip cef is enable timeouts occur

    First i want to enable netflow on our routers, and in order to do that i need to enable IP CEF.  but when i enable cef all of the point to point vpn sites connected to the router, they stay connected but the terminals that connect to our citrix farm will not connect they from what i can tell timeout on the connection. disabling cef they can connect. enabling cef they can't connect,
    This is really odd behavoir since we can still remote access the site but the terminals just can't connect when ip cef is enabled.      
    I attached the config of the router, i removed the tunnels and other various things that is not relivant(i believe)        

    Disclaimer
    The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
    Liability Disclaimer
    In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
    Posting
    I'm not 100% certain, but I believe FastSwitching and CEF switching apply to unicast, not multicast.  Your "IP mroute-cache" command enables/disables fast multicast switching.
    On a 3750, switching should be hardware based, for unicast and multicast, unless TCAM resources are insufficient.  If hardware switching falls back to non-hardware switching, you'll likely find process vs. Fast vs. CEF vs. multicast doesn't matter, all too slow.

Maybe you are looking for