Well to run a cfquery I must include a "password" attribute, etc except I have a local server ? yes / no

I read ALL the textbook
MACROMEDIA CF, 2002 course.com
Well to run a <cfquery> I must include a "password" attribute, etc
except I have a local server ? yes / no
May use/include a file dbinfo.cfm with all my passwords etc , and use
these passwords as variables in <cfquery>,...etc ? this is more secure ?
I must include vars in <cfscript> tag OR many <cfset> tags ?
If I had
<cfscript>
password='gf56SDRPO999';
</cfscript>
HOW TO INCLUDE THIS VAR IN  <cfquery password=#password# ...> this is correct ?

Your question is unclear to me, but if you just want to verify your syntax is legal, then YES.  You can easily set a value in a variable with <cfscript> and then later use that variable in a <cftag...> like you showed.
But I would argue there is little additional security in using passwords in code like this between setting the password and using it directly in the tag.  There may be reusability and maintainability advantages, but little advantage to security.

Similar Messages

  • When I boot up my system and Firefox is not running, Firefox tells me I must update, but when it begins to do so, it tells me that the program is currently running and that I must turn it off before the update can proceed.

    Basically, I don't know any better way to turn it off than to try closing the program or rebooting the computer. Rebooting usually works, as in the following instance which happens occasionally: I close Firefox, move on to another task, and then try to open Firefox again and am told that Firefox is still running and that I must try to close it again or reboot. Trying to close it again is impossible because for all I can see, it is closed. So, I reboot and can then successfully start Firefox. That is a nuisance that I would like to remedy. I was hoping that the update of the program might resolve the problem, but I can't get the update to work, as explained above.

    Hello,
    I would like to strongly recommend that you update your version of Flash Player to our currently released version (17.0.0.169) and enable auto updates.  The version you are using is insecure and opening your computer (and all of your data) to being easily exploited by bad guys.
    As for the error you are receiving, this is most likely a restriction from the website.  Each developer is able to specify what the required minimum version of Flash and require their users to have at least that version installed.  The detection that is occuring and the message that you are seeing on the website isn't part of Flash Player, but instead part of the website's code.
    If you go to this page and click the "Check Now" button, what is displayed (OS, browser and version number)?  Do you see the "tree" animation playing below?
    Flash Player Help
    Thanks,
    Chris

  • I have a Macbook Pro 15" that is three and a half years old.  Although it has slowed a bit, it still runs well and runs every program I need. Any tips for how to keep this old computer running well and in good health?

    I have a Macbook Pro 15" that is three and a half years old.  Although it has slowed a bit, it still runs well and runs every program I need. Any tips for how to keep this old computer running well and in good health?
    I have a 250 gig drive and try to keep at least 100 gigs unused at all times, 4 GB 667 MHz DDR2 SDRAM memory, back up with Time Machine and CrashPlan, and have OS X 10.7.3.
    This was my first Mac since an old Apple II GS.  After that I used PC's and got really good at reformatting, replacing drives, reinstalling, defragging, resolving software conflicts, etc.  Since switching back to Macs (five in my extended family now), I haven't had to do any of those things. So, although, the cost is three times as much, the aggrevation has been ten times less.
    I'm retired and living on a fixed income and would therefore like to keep this computer running as opposed to constatntly upgrading.
    That said, any tips?
    Thanks
    It does have a crack on the left of the screen case about 3/4'' up from the bottom.  I've posted that as another question.

    Kappy's Personal Suggestions for OS X Maintenance
    For disk repairs use Disk Utility.  For situations DU cannot handle the best third-party utilities are: Disk Warrior;  DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption; Disk Warrior 4.x is now Intel Mac compatible. Drive Genius provides additional tools not found in Disk Warrior.  Versions 1.5.1 and later are Intel Mac compatible.
    OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.) If this isn't the case, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep.  Dependence upon third-party utilities to run the periodic maintenance scripts was significantly reduced since Tiger.  These utilities have limited or no functionality with Snow Leopard or Lion and should not be installed.
    OS X automatically defragments files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive. As for virus protection there are few if any such animals affecting OS X. You can protect the computer easily using the freeware Open Source virus protection software ClamXAV. Personally I would avoid most commercial anti-virus software because of their potential for causing problems. For more about malware see Macintosh Virus Guide.
    I would also recommend downloading a utility such as TinkerTool System, OnyX 2.4.3, or Cocktail 5.1.1 that you can use for periodic maintenance such as removing old log files and archives, clearing caches, etc.
    For emergency repairs install the freeware utility Applejack.  If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the command line.  Note that AppleJack 1.5 is required for Leopard. AppleJack 1.6 is compatible with Snow Leopard. There is no confirmation that this version also works with Lion.
    When you install any new system software or updates be sure to repair the hard drive and permissions beforehand. I also recommend booting into safe mode before doing system software updates.
    Get an external Firewire drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
    Carbon Copy Cloner
    Data Backup
    Deja Vu
    SuperDuper!
    SyncTwoFolders
    Synk Pro
    Synk Standard
    Tri-Backup
    Visit The XLab FAQs and read the FAQs on maintenance, optimization, virus protection, and backup and restore.
    Additional suggestions will be found in Mac Maintenance Quick Assist.
    Referenced software can be found at CNet Downloads or MacUpdate.
    Be sure you have an adequate amount of RAM installed for the number of applications you run concurrently. Be sure you leave a minimum of 10% of the hard drive's capacity as free space.
    Adding more RAM, if feasible, and a new, faster hard drive may also help pep it up a little.

  • I want to purchase a powerbook that will run a music program like MOTU or Pro Tools as well as run Final Cut Pro without being sluggish...any help?

    I want to purchase a powerbook that will run a music program like MOTU or Pro Tools as well as run Final Cut Pro without being sluggish...any help?

    The only way that would work out is if you ran exactly the versions that were made for old PowerBooks. Anything newer may require Intel and not run, or will strain the poor old G4 CPU.
    Your needs have to be modest, too, because the problem with older music and video software is that they are not current as far as formats and codecs for the Web. If you want to output H.264, the current standard for YouTube/Flash video, older software may not support it, and in addition, H.264 is processor-intensive and is tailor-made for today's multi-core, 2+ GHz processors. It will overwhelm a G4. A PowerBook G4 can barely play YouTube videos.
    More perspective: The PowerBooks worked great for miniDV format editing. In other words, 480i SD/standard definition video in use from the late 1990s to the late 2000s. If that is all you want to do, edit tape from an old miniDV camera to SD output, then OK.
    But if you want to edit today's HD video, whether 720p from a snapshot camera/iPhone 4 or 1080p from a DSLR, the PowerBook and the software for it will either not recognize AVCHD/H.264, or it will slow the PowerBook to a dead crawl.
    I'm in agreement with the above: Intel Macs have been out for so many years that getting a used one is a much better deal than a dead-end PowerBook. And I loved (still love) my PowerBooks.

  • Does the amount of gigabits for an ipod touch have to do with how well it runs?

    does the amount of gigabits, for an ipod touch, have to do with how well it runs?

    Only when you have very little storage available, like less than 1/2 GB or so.

  • Hello.  I just upgraded to Lion OS X 10.7.3.  I was previously running 10.5.7 which included the ENTOURAGE application.  how do I retrieve needed information from this application that no longer runs on this new system?

    Hello.  I just upgraded to Lion OS X 10.7.3.  I was previously running 10.5.7 which included the ENTOURAGE application.  how do I retrieve needed information from this application that no longer runs on this new system?

    The file you'll be looking for that has most of what you're looking for - messages, address book, etc. is the Entourage Database.  The verison of Microsoft Office I run (on Lion) is Office 2008.  By default the Entourage Database for this verison is at user/Documents/Microsoft User Data/Office 2008 Identities/Main Identity/Database.  That folder (Main Identitty) also has your rules, signatures, and such.  You'll have to recover this file from whatever backup you have.  If you have a different version of Entourage, the file location will be a little diffferent.
    Good luck
    srb

  • Dialog box says firefox running but not responding must restart

    dialog box appeared stating that firefox is running but not responding, must close and restart

    See "Hang at exit":
    * http://kb.mozillazine.org/Firefox_hangs
    * [[Firefox hangs]]

  • Method foo() must include java.rmi.RemoteException

    Here's the full exception:
    In EJB VWBaseUser, method setUsername(java.lang.String) defined in the remote
    interface must include java.rmi.RemoteException in its throws clause.
    The problem is, I am throwing RemoteExceptions in my remote interface! Here's
    the code:
    import javax.ejb.EJBObject;
    import java.rmi.RemoteException;
    public interface VWBaseUser extends EJBObject
    public String getFirstName() throws java.rmi.RemoteException;
    public void setFirstName() throws java.rmi.RemoteException;
    public String getLastName() throws java.rmi.RemoteException;
    public void setLastName() throws java.rmi.RemoteException;
    public String getUserName() throws java.rmi.RemoteException;
    public void setUserName() throws java.rmi.RemoteException;
    public String getPassword() throws java.rmi.RemoteException;
    public void setPassword() throws java.rmi.RemoteException;
    What gives?!? The only thing I could think of was that I'm somehow using an old
    JDK to compile with, but I thought I checked that and it was pointing to JDK 1.3.1
    (unfortunately, we're still using VisualCafe, and an old version at that, since
    Webgain is imploding)

    Yup, that must've been it. I did have the classes elsewhere in 'exploded' format,
    in addition to my EJB jar. Got rid of them, and the problem went away.
    Thanks!
    Brian
    Rob Woollen <[email protected]> wrote:
    The usual cause is you have another version of this class in your
    classpath which doesn't contain the RemoteException, and ejbc is finding
    this version.
    -- Rob
    Brian Preston wrote:
    Here's the full exception:
    In EJB VWBaseUser, method setUsername(java.lang.String) defined inthe remote
    interface must include java.rmi.RemoteException in its throws clause.
    The problem is, I am throwing RemoteExceptions in my remote interface!Here's
    the code:
    import javax.ejb.EJBObject;
    import java.rmi.RemoteException;
    public interface VWBaseUser extends EJBObject
    public String getFirstName() throws java.rmi.RemoteException;
    public void setFirstName() throws java.rmi.RemoteException;
    public String getLastName() throws java.rmi.RemoteException;
    public void setLastName() throws java.rmi.RemoteException;
    public String getUserName() throws java.rmi.RemoteException;
    public void setUserName() throws java.rmi.RemoteException;
    public String getPassword() throws java.rmi.RemoteException;
    public void setPassword() throws java.rmi.RemoteException;
    What gives?!? The only thing I could think of was that I'm somehowusing an old
    JDK to compile with, but I thought I checked that and it was pointingto JDK 1.3.1
    (unfortunately, we're still using VisualCafe, and an old version atthat, since
    Webgain is imploding)

  • I have problems printing with a HP Officejet 6500 printer directly from my iMac. The printer itself does function well, as I can print from another PC without any problems. Does anyone have a clue?

    I have problems printing with a HP Officejet 6500 printer directly from my iMac. The printer itself does function well, as I can print from another PC without any problems. Does anyone have a clue?

    Hello:
    I must apologize  .  I should have checked here first:
    http://support.apple.com/kb/HT3669#HP
    According to the list, there is no driver for your printer included in OS X 10.7.
    There are a couple of options:
    1.  Contact HP to see if they have a workaround.
    2. If the model of printer is not listed but your printer is a PostScript printer or PCL Laser printer, try the "Generic PostScript" or "PCL Laser printer" drivers.  Generic printer drivers may not let you access all the features of your printer.
    I have not tried #2, but some people have had success.
    Barry

  • Yosemite 10.10.2 server app. FTP help. I have a program running in my local server enviroment that wants to FTP to my mac folder. It asks for the server , name, password, port and path. what are they?

    So I have set up a localhost area in my Mac. I have the new server.app and I am running yosemite 10.10.2 .
    I have a program running in my local server enviroment that wants to FTP to my mac .
    It asks for the server , name, password, port and path. what are they?
    I am pretty certain that the Serveris "localhost",
    Name is my macs name (like my-mac-min)
    password is "my login password"
    and they suggest port 21.
    But what is the file path, lets just say my site is set up http://localhost/siteftp and is actually at my Users/Sites/siteftp folder.
    Why cant this program connect to the mac.
    Is it because they are both operating in the same localhost enviroment,
    could it be my folder permissions are not correct on siteftp folder?
    Help please !

    I tried turning the computer off and then back on. The alerts don't show the notice to update as resolved. Hopefully this is not a problem or an indicator or another problem. Should I ignore or reload 10.10.1 from the app store to trigger a resolved check in a green circle?
    Interesting that I had to buy server software after my free Yosemite download. I would have hoped that the two pieces of software would have gone together without any complication. It is not positive to end up buying a problem. Ah well, time to move on.

  • "Run as Administrator" not Elevating/Asking for Password properly

    I've got a weird issue on a Windows 7 x64 Professional that was installed and distributed (17 times) by someone else. All request to run with Elevated Rights are completely ignored.
    When I try to run Programm Elevated with Rightclick->"Run as Administrator" they are instead started as the User I am currently logged in as. I have to manually relog (logout, login) as Administrator in order to do stuff I normally would do with
    "Run as Admin".
    There is no UAC question, no Dialog to input the Admins Password/Select the user, no automatic elevation - it just executes as the current user, even if that is a Standart User.
    If any process would normally ask for elevated rights (anything marked with the Admin Right Shield thingy in Windows Explorer) it instead runs as normal user and (of course) runs into lack of rights down the road, sooner or later.
    Haven't checked how Programms with a Manifest that requires Elevation behave yet, but I guess it is the same.
    Parts that might be relevant:
    The UAC is disabeled (set to not ask anything/lowest setting)
    Two accounts: Admin Type account named "sheriff" (instead of default name) and Standart User Type account "User". The Guest account is disabeled.
    While UAC is off, unless I am very mistaken "Run as Administrator" should still work while logged in as a limited Standart User type. After all it has been around a lot longer then the UAC.
    Let's talk about MVVM: http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/b1a8bf14-4acd-4d77-9df8-bdb95b02dbe2 Please mark post as helpfull and answers respectively.

    Was a while since I posted here and I think I understand the problem a lot better now. Couldn't actually solve my problem (this would require setting the UAC back online wich is explicitly not wanted), but it still might be helpfull for others:
    Elevating as Adminsitrator (under Vista and later) needs two Components:
    runas - a Commandline Command that has been around since XP and whose sole purpose is to start Programms under other rights then the current user.
    In order for it to work the "Secundary Login" Windows Service must be running during Login of the current user. Enabling it or disabling it after a login will have no effect.
    And it will fail silently (not telling you it failed).
    UAC - normally you need it to surpress the Admin aspect. In my case it was not neded for that from a Security Standpoint. What I have here was a suiteable set of Credentials for Windows XP style Security: limited normal User, Administrator with non-standart
    name and password.
    What I would have needed from the UAC (and get on all the other Computers where it is online but we still have limited users) was it's ability to detect wich User to elevate too. The UAC is needed to "Find the Admin". And it cannot do that if set to "not inform".
    Under XP the "Run as"-Explorer Option was designed to let you select the user. Always.
    Under Vista, 7 and 8 it's renamed "Run as Adminsitrator" and the UAC autodetects wich user to Elevate towards. If the UAC is not running the menu Explorer Context Menu Option, the Runas Modifier for .NET Process and Manifests have no idea wich Usercontext they
    should run under. And never even try to elevate.
    The only way to elevate on such Computers is to relog as Administrator or use Runas on Command Line with explicit naming of the User you want to use.
    Let's talk about MVVM: http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/b1a8bf14-4acd-4d77-9df8-bdb95b02dbe2 Please mark post as helpfull and answers respectively.

  • Memory leak when we include child vo attributes in search reqion

    Hi,
    We have an ADF application (11.1.1.4) running in production. This application has around 100 pages and it takes load around 150-200 requests per second during peak time.
    We have many search pages in this application which uses the feature of including child attributes in search region.
    For Example - Let say we have MasterVO1 , ChildVO1, ChildVO2 , ChildVO3 ... , Now we have ViewCriteria (vc1)defined in MasterVO1 which includes attributes from ChildVO1, ChildVO2.. etc. We have query region in page basing on ViewCriteria(vc1) and MasterVO1, ChildVO1 , ChildVO2... are used as tables in page.
    Now when we have page as mentioned above and with proper pooling parameters for AM (idle instance timeout - 5 minutes, minimum available pool size set to zero , pool polling interval - 7 min ) , we do a force GC for 3 - 4 times after every 10 min (we make sure we have no active users or sessions by this time). Now when we analyse the live heap dump we see AM , MasterVO1 , ChildVO1 and ChildVO2 remaining in heap.
    We have repeated the same testcase by removing child attributes in viewcriteria and with same AM pooling parameters - now when we analyse the heap dump , we dont see AM or any of the VO's residing in live heap.
    We are using the child attribute search feature heavily in our application - which is causing server to go out of memory for every 2-3 weeks.
    Please suggest on this - Can this be bug with ADF?.
    Thanks,
    Naresh
    Edited by: Naresh on Mar 20, 2013 9:37 AM

    Hi Ramdeep,
    Thanks for the reply - we dont have any custom code written on vo's or using vo's.
    It's simple case - just drag and drop vc as query region and vo's as tables , then we see this leak. Most Importantly we dont see this leak when we dont have childvo attribute in viewcriteria/query region.
    Any other clues ....
    Thanks,
    Naresh

  • Can I use my fully owned CS2 on my iMac OX 10.9.5 as I paid over $1850.00 some 7 years ago for it and have been told by "Experts" that I can reinstall from my original software disks (which I have including all passwords etc required. Please assist as whe

    Can I use my fully owned CS2 on my iMac OX 10.9.5 as I paid over $1850.00 some 7 years ago for it and have been told by "Experts" that I can reinstall from my original software disks (which I have including all passwords etc required. Please assist as when my old iMac died I find I could not get my CS2 to work.  Very frustrating for some one my age who cannot afford a new InDesign.  Thomas Bain

    CS2 was created for the Power PC processor which your old iMac obviously was.
    Your new Mac with OSX 10.9.5 is an Intel Mac and no longer runs Power PC applications.
    For several years after the transition from Power PC to Intel Apple had provided an emulator called Rosetta that allowed Intel Macs to run Power PC applications.
    However, the last version of the Mac OS that had Rosetta was OSX 10.6.8 Snow Leopard.
    Even if you could find a copy of OSX 10.6.8 it would be highly unlikely that it would ever install on a newer Mac due to different firmware versions.
    Your only hope is to buy an older used Mac that can run OS 10.6.8 Snow Leopard or earlier.
    Sorry, but that ship has sailed.

  • The Nike  webstie made me change my password; now my iTunes account can't link my runs. How can I update the password in iTunes?

    Nike+ forced me to change my password to one which had a capital, lower case and number in it ... all very well BUT iTunes can now not link my iPod runs to the Nike+ website as the passwords are different. How do I update the password in iTunes? I have tried unchecking the "sync" option and checking it again but can see no option to update email and / or password.

    Did you go on-line and fix your billing information? You probably need to do this from iTunes on your computer, not your phone.
    If you've double checked your credit card info and it still won't take it, contact your card issuer.

  • "You must reset your password. Check inbox for email we just sent you." Not at old or new.

    I've been trying all day to change my email address associated with my Adobe account, using Firefox, my default browser. I am able to access my acct (old e-address), make changes in account, but then the screen displays:
    Required Password Reset: To protect the security of your account, you must reset your password. Please check your inbox for an email we just sent you with instructions for how to reset your password and log into your account.
    I have checked both email accts throughout the day, including spam folders. Cleared browser history etc. Tried using Internet Explorer. And every other action they recommend.
    How can I get through the Password Reset Wall?
    Thanks,
    Sandra

    Thanks, Dave. I think your link helped to solve my problem. Now that I have a new password, I'd like to ask this: Is making changes to your account so difficult for others? I ask because changing my password wasn't even the reason I was accessing my Adobe account.
    What I really want to do is to switch primary (1) and alternate (2) email addresses. I have a third (3) email address, which I can use for this process. For example, my idea is to replace (2) with (3), then (1) with (2), then (3) with (1). [I had already tried switching them; a lost cause.]
    I replaced (2) with (3). BUT! "An email has been sent to your inbox. Please check your email to complete verification."
    But I check all three email addresses and spam folders in each, several (m@any) times in a day, and that email never arrives. Even when I try making a different change.
    And all this so that I can prepare to purchase Adobe XI and have all communication between Adobe and me at that (currently) #2 address, which is the one I use for almost everything, and to keep all my receipts, software and hardware correspondence, and oh everything.
    Thanks for reading so far; if you (or anyone) have another way to accomplish this, please let me know.

Maybe you are looking for

  • How to find out roles for a user

    Hi Experts,             How do i find the roles that are assigned to me and for other users of BW and R3. Thanks Dave

  • Passing value from Portal Development component to Webdynpro component

    Hi experts how to pass a value from portal component to a webdynpro component , is it possible, i have both portal and webdynpro --- development components on diffrent tracks, Regards Govardan

  • Can they really do this??

     As everyone here I have been working on improving my credit situation. I had a smal Chase account charged off which has fallen off of my credit reports as it was cahrged off with first deliquency way back in 2008, it feel off a few months ago. I pul

  • How to know print margins size

    Hi. I'm developing a print management. I have a problem with impresion margins. I lknow my printer can print with a very little margin (less than one centimeter) but in java, every I print has one inch margins (left, right, upper and lower). How can

  • Esc from Type Tool to Direct Selecton instead of Selection Tool

    After editing type with the Type Tool, is there any way to set Illustrator to switch to the Direct Selection Tool instead of the Selection Tool when you hit the Escape key?