CFpdf and CFcontent shows filepath and filename in browser

Thanks to all for past help on my CF questions...
I've developed an upload application for (logged in to secure environment) users that uploads a pdf outside of the root, moves and renames the file and then cfpdf protects the file with a password. Part of the upload process inserts variables in a SQL database such as Catagory, Subcatagory, FileName, etc. The cffile move puts the file inside the root where I have a security framework. No problem with this.
I have a cfm page populated (dynamically) with links to the pdf files. These links contain url handlers that pass the filepath and filename. When a user clicks a link, he is carried to an index.cfm that has the security framework and within this page I have cfpdf link to the pdf file (and sets a password) and cfcontent loading the pdf file in the browser. All of this works just fine, as it should.
However... Because cfpdf sets the filepath/filename source and destination and passes this on to the cfcontent tag -- the filepath and filename are shown in the browser address bar as well as naming the download file the same as the http address (albeit with underscores) if the user saves the file. Anyone with any savvy can figure out the actual filepath and filename and go directly to the file in their browser. They'd still have to type in a password to view the file but I'd rather not have this filepath exposed like this.
Without having to create a copy of the original and rename the file, is there a way to change what is shown in the browser address and in the download filename? At some point there may be many pdf files uploaded and stored on this site. I'd rather not have 2 copies of each file on the server - the original and one renamed...
I've googled and googled and can't find an answer anywhere on this. Thanks to anyone pointing me in the right direction here.
- e

Finally figured this out...
Since the file exists on the server, there's no need to use cfpdf and cfcontent to serve up the PDF.
When the PDF link is clicked, the user is directed to a page that has the security framework where there is a redirect to the PDF on the server. I have the PDF password protected. The PDF opens in the browser and, if saved, is saved with the file name only instead of the whole url+filename.
Learning to work with CF and PDFs through cfdocument and cfpdf lately has been somewhat frustratingly fun.(!) I guess it was overkill in trying to do the above when all I needed was a direct link to the file itself.
Hope this will help someone else...
- e

Similar Messages

  • HT4059 After updating iBooks on my iPad all my PDFs disappeared how do I get them back? I reinstalled the app again and they showed up and thn they disappeared, what is going on?

    After updating iBooks on my iPad all my PDFs disappeared how do I get them back? I reinstalled the app again and they showed up and thn they disappeared, what is going on?

    By reinstalling do you mean that you deleted the app and redownloaded it ? Deleting an app will remove the app and its contents. Do you have copies of the PDFs in the Books part of your computer's iTunes library so that you can sync them back ?

  • My iphone 3g hang when i lock it and just shows white and red verticle lines on the screen . . please help me out

    my iphone 3g hang when i lock it and just shows white and red verticle lines on the screen . . please help me out

    Try resetting > 
    Hold the On/Off Sleep/Wake button and the Home button down at the same time for at least ten seconds, until the Apple logo appears.
    If that doesn't help, try restoring >  Backing up, updating, and restoring your iPhone, iPad, or iPod touch software

  • Why can't I add appointments to the calendar anymore?  I can add to my iPad and they show up and sync with iPhone but I can't add appointments directly to the iPhone calendar.

    Why can't I add appointments to the calendar anymore?  I can add to my iPad and they show up and sync with iPhone but I can't add appointments directly to the iPhone calendar.  I am on the latest OS version available for iPhone 5s.

    Hi,
    You cannot manually manage music with match turned on on your iOS device. If you want to manage music manually, you will need to turn off match on your iPhone.
    Jim

  • TS1424 Itunes film and TV show downloads and not being able to watch them.

    When I am using my macbook pro and in itunes and download a film, the film starts to download OK, and it shows the artwork for the film and it also starts downloading as a 'protected MPEG-4 video file'.  You can even start to watch the film Ok on the macbook pro, but as soon as its finished downloading, the artwork disappears and it says that the film has downloaded as just an 'MPEG-4 video file' and is no longer protected.  I am therefore unable to watch the film I have downloaded for my son. 
    When you try to watch the film in iTunes on my Macbook pro, it says "This movie requires QuickTime, which is not supported by this version of iTunes.
    I have updated to make sure I have all the latest software and I also subscribe to itunes match. I have downloaded lots of films before and never had a problem until a month ago.  Please help!!!

    My understanding is that VGA generally does not support HDCP (and it's not an Apple issue as such). If your TV has a DVI input, try that. Or if it has an HDMI input, try that using a DVI to HDMI cable.

  • Recharged my iPad and it shows iTunes and a plug?

    Recharged my iPad and the screen shows iTunes and a plug.

    It means you're in recovery mode. You need to connect to iTunes on a computer and restore from a iTunes or iCloud backup. This happened to me last Monday and the iCloud backup restored 100% of everything on my iPad. Plus I regained 6GB of needed memory in the process.

  • I got my iphone4 updated via wifi and its shows downloaded and when i install it, it shows verifying software and then says error occured while installing ???

    hi, there, i got my iphone4 updated via wifi n its downloaded, its shows when i check the software update n when i install it, it shows verifying the software n after a couple of seconds comes back with "error while installing ios6" failed so many attempts and even tried to reset the phone, but no use, then i tried latest updated itunes too, can u believe it, it took ages to download n when it was 880mb of the 899mb file, error occured , so many failed attempts, can some one tell me what to do ? are there any issues with iphone4 updates? m scared to update it now, but really wanna get it on my phone.

    I have experienced a similar error with the iPhone 4S.  The new version of iTunes will not let me restore the phone, it must be updated and nothing appears to be happening.  Suffice it to say I am not amused.  Apple needs to work this out - I had trouble updating to 8.0.2 as well.

  • My ITunes has stopped working and now shows error6034 and Error7Windows,I  can't  open  it ,have reinstalled twice but no use,now  what?Thnx

    I  think my ITunes  has  crashed- I  have  reinstalled  twice but still  get  same  error  message 6034 and Error7 Windows,was  told  it  might be library  files not ITunes  directly.Should use restore point, but I've never done that before  and is permanent...don't  want to make  matters worse or screw up everything else with restore button....It is restore point from Nov. Anyone have a solution for me?   Thnx  for your help.

    Click here and follow the instructions. You may need to completely remove and reinstall iTunes and all related components, or run the process multiple times; this won't normally affect its library, but that should be backed up anyway.
    (99547)

  • SCCM 2012 R2 Reports not activate Value button and not showing Visio and Project products

    Hello,
    I have experiencing some problems with SCCM reports
    1)  In some of the reports the "Values" button is disabled and because of that I can not select the name of a specific computer, the reports I've noticed that are relating to Specific Computers
    2) The other problem is that when reviewing a software inventory report on a specific computer, Visio nor the Project of Microsoft Office does not appear , which itself can be seen from the Resource Browser
    I will appreciate it very much to help me to solve these drawbacks presented in the reports of SCCM 2012 R2.
    Thanks in advance.
    Manuel
    Manuel´s Microsoft Forums Threads

    open the report in the report builder tool (in the console, right click and edit. From the reports web page you can click the drop down and choose open with report builder) and examine the query that is being used to populate the computername
    values list. You should be able to run that query from the report builder utility to see if anything is being returned. For the report you mention, there is no query to bring back computer names. In report builder, in the left hand menu, open the parameters
    folder, then right click @variable from the list and open the properties. Go to the available values item in the menu of the properties window and notice that the available values is set to none, not get values from a query. That is why you can't click on
    Values in the SSRS report and get a list of computer Names. You could add a query into the report and save the report if you really want a drop down list of all computer names. I would save the report with a different name if I were to take that approach,
    it is not a good practice to modify the built in reports.
    Regarding the applications you are not seeing, you will have to look at the query contained in the report, and determine if that query is targeting the same view or data that you were looking at using resource explorer. Which category within resource
    explorer were you seeing the information you were expecting to see in this report? You can use report builder to see that the report you are looking at is calling a function to return the software titles, and that function looks to be based on the v_gs_softwareproduct
    view. If you were looking at software files or add/remove programs within the resource viewer, you won't necessarily see the same information in the report, since the report is reading a different view.
    I hope this info will help you to troubleshoot report quirks. SCCM 2012 reporting is a world apart from SCCM 2007 reporting. There are alot more stored procedures and functions used in SCCM 2012, and even a dll file on the reporting point that is required
    for some (most) of the reports!

  • I'm not having access to the purchase/rent movies and TV shows menus and also Netflix

    I have access to everything I purchased on my PC. I just cant purchase from the Apple store. The menu doesn't even show on the starting screen.

    Welcome to the Apple Community.
    Check that you have the correct location entered in the store settings (settings/general). You might also try restarting the Apple TV by removing ALL the cables for a few moments.

  • How do I delete Movies and TV Shows in my iTunes Store download Queue?

    Please help...
    I have Apple TV and I purchase TV shows and Movies via iTunes Store. These programs and movies have successfully downloaded to my Apple TV and I have watched them and deleted them off the Apple TV Hard Drive.
    My problem:
    I do not have much free Hard Drive space on the older laptop that I currently have iTunes running on. Everytime I open iTunes on my laptop it starts downloading the very large movie and TV show files and I do not have enough hard drive space for them and I do not want them now that I have alredy watched them.
    My questions:
    1. Can you delete everything that is currently in my iTunes Store downlonad queue so these programs and movies will not try and download? If so, how?...
    2. Is there a way I can prevent this from happening in the future?
    Any help you can provide would be greatly appreciated.

    iTunes will not show me where the files reside (by right-clicking and selecting "show file" because the option doesn't exist for TV shows.
    I don't understand, it does exist for tv shows.
    Also, using the "delete" commend does nothing!
    How are you using the delete command if you can't locate the file.
    I have several shows taking up several gigabytes of disk space, and I can't locate them on my hard drive, or remove them from within iTunes!
    Have you tried spotlight.

  • Creative cloud shows CC and CC (2014), if i try running (2014) I get an error that I need to login.

    I have adobe Creative cloud and it shows CC and CC (2014) for every program, if i try running (2014) I get an error that I need to login.
    When I look at my adobe subscription it says Creative Cloud Free membership but I pay 49.95 a month for full access.
    Why am I not able to use CC(2014).
    If I pay the 49 monthly should I not get upgrades to all my apps instantly?
    Please help

    You will see my monthly payment to Adobe and the reference for the payment.
    Hi Kartikay,
    I have been using my creative cloud for months with my email address [email protected] I am surprised you do not see it.
    What can I do?
    When I login all my programs open correctly except premiere cc 2014

  • IDVD problem with "Show title and comments"

    I am making a DVD for a neighbor. He has given me CDs with scanned old slides. He has over 1000 photos.
    I've got the DVD made in iDVD and everything is fine except in one of the slideshows.
    In iPhoto I have 22 albums of photos. When I'm in iDVD I go to "media" and I drag an album into the theme. After it is there I drag another album into that album I just drug. So what I'm doing is combining 2 albums into one slideshow thus having 11 slideshows in my theme. I then go into each slideshow while in iDVD and add music and go to "settings" and unclick "Show title and comments".
    After I have completed this for all slideshows I watch each slideshow before burning and everything looks fine. After the DVD burns (which takes 5 hours) I again watch the DVD on my television. In the first slideshow, and only the first slideshow, the first half is fine and then when it comes to the pictures that were in the second iPhoto album that I drug in the titles of each photo are coming up on the screen. All of the other 10 slideshows that I combined are just fine.
    I pitched the first DVD and tried to fix this by going into iPhoto and making a separate album that had all the pictures of thos first two initial albums. I then went into iDVD, deleted that problem slideshow and then added the slideshow that I had combined all the photos into that one album. I again make adjustment adding music and going into "settings" and unclick "Show title and comments". I watch the slideshow while in iDVD and everything looks fine.
    I burn another DVD and when I watch it on my television again that first slideshow has the first half of the pictures just fine and then the second half are showing the titles of each photo on the screen.
    Everything else in the DVD looks fine.
    The only other thing that might be of importance is when the DVD is ejected from the burner the screen says:
    "Current Operation"
    "Image Incomplete"
    I click Cancel and then it says:
    "Cleaning Up"
    "Image Incomplete"
    I again click Cancel.
    At this point iDVD freezes and I have to go up under the Apple symbol and do a Force Quit.
    Does anyone have any suggestions? I know I should try to make 2 DVDs out of all these photos instead of 1 but my neighbor was really hoping he could have all of them on 1.
    Thanks in advance for any and all help.

    Just drag them from the iPhoto Trash bin onto the Library icon just above it.
    OT

  • Dvr620ku only shows black and white using HDMI cable

    I connected the av cables and they showed black and white, now im connected through hdmi and same problem watching vcr tapes... what can I do besides trying a component cable?

    I would recommend trying composite (not component) video. There is one jack, color coded yellow, at the bottom right when looking at the back of the unit. Run that into your TV. Your TV likely has a combination component/composite video input. If so, you'd connect the output from the DVR620 into the Y input on the TV and connect nothing into Pb and Pr. If you're uncertain, post back with the model number of your TV so I can check its manual online. I'm not sure why HDMI would give you black and white unless the tracking and picture quality is poor with the VHS tape. I have tested this scenario multiple times with my DVR620 and always get color. Presumably you get color when playing back DVDs? If you have L1 or L2 connected to a cable box, I recommend you record a brief segment off of a TV channel onto VHS, and then test playing that back to see if that is in color or black and white.

  • Show spelling and grammer gone!

    Very mysterious. I go to the Menu>Edit>Spelling and Grammer>Show Spelling and  Grammar (or Check Document Now) and nothing happens. Nothing.
    No Spelling &  Grammar Window appears. 
    Anyone have any ideas? -  All else working fine and as normal.
    Thanks.

    i did both of them, but still the while sending the mail the diolog box is not showing up and also the spelling and grammer does not do the spelling check. 
    This problem just started for about 3 to 4 days now.  earlier it was working normally.

Maybe you are looking for

  • I would like to download and install Photoshop CS6 for Mac

    I bought last year Photoshop CS6, and up to now I used it on windows system. Now I chaged system to mac, and I would like to download product Adobe Photoshop CS6, for mac - but when I try, I get offer for creative cloud membership for one year insted

  • Acrobat Pro 8 Outlook convert to PDF

    I have several thousand emails that I want to convert to PDF using the PDF Maker plug-in. I want all the messages and their attachements converted, I don't need PDF/A or an index. The problem that I have is the volume of emails is so large that PDF M

  • BlazeDS - n:m relation with eager loading - recursion?

    Hello to all! I have a n:m relation and I do eager loading with Hibernate (and other relations with 1:n and n:m, but not displayed here): @ManyToMany(fetch=FetchType.EAGER)     @JoinTable(name = "Group_User",         joinColumns = {@JoinColumn(name="

  • Gcc 4.2.1(gccfss)  Solaris x86 c++

    I build executable successfully, but when I run it, it does not work, and produce error message " invalid argument". I am just wondering if x86 can run executable produced from gccfss. Thanks

  • Closing Out of the Filming Screen After Completing A Movie

    So here's my iMovie question- and I hope you guys might be able to help. When I go to record a movie, it seems to work fine. When I'm done, I press stop- no problems and it appears as though the movie has been saved. This being said- I am not able to