<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: Hiding the path to a PDF in a browser pop-up window</title>
	<link>http://ask.metafilter.com/47669/Hiding-the-path-to-a-PDF-in-a-browser-popup-window/</link>
	<description>Comments on Ask MetaFilter post Hiding the path to a PDF in a browser pop-up window</description>
	<pubDate>Sun, 01 Oct 2006 19:41:17 -0800</pubDate>
	<lastBuildDate>Sun, 01 Oct 2006 19:41:17 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: Hiding the path to a PDF in a browser pop-up window</title>
		<link>http://ask.metafilter.com/47669/Hiding-the-path-to-a-PDF-in-a-browser-popup-window</link>	
		<description>When I launch a PDF in a pop-up browser window, how can I hide the path to it that appears in the title bar? &lt;br /&gt;&lt;br /&gt; A friend has several PDFs to be displayed in a pop-up window from which I&apos;ve removed the location, status bar, etc. However, while an HTML page in a pop-up window will just have its title displayed in the title bar, the PDF displays the full path to itself. We don&apos;t want to drop clues about where to find other elements of the site, so I&apos;d like to be able to hide that path. I&apos;ve poked around in Acrobat and can see that there is a title assigned to the PDF, but it doesn&apos;t display in the title bar.&lt;br&gt;
&lt;br&gt;
I&apos;m sure I&apos;m missing something obvious, so give me a kick in the ass and enlighten me.</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2006:site.47669</guid>
		<pubDate>Sun, 01 Oct 2006 19:14:35 -0800</pubDate>
		<dc:creator>rosemere</dc:creator>
		
			<category>pdf</category>
		
			<category>browser</category>
		
			<category>title</category>
		
			<category>path</category>
		
	</item> <item>
		<title>By: zixyer</title>
		<link>http://ask.metafilter.com/47669/Hiding-the-path-to-a-PDF-in-a-browser-popup-window#725362</link>	
		<description>Maybe you could instead open an html page with two frames: one invisible and the other the PDF file.  Then you could set the window&apos;s title with the &amp;lt;title&amp;gt; element.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.47669-725362</guid>
		<pubDate>Sun, 01 Oct 2006 19:41:17 -0800</pubDate>
		<dc:creator>zixyer</dc:creator>
	</item><item>
		<title>By: zixyer</title>
		<link>http://ask.metafilter.com/47669/Hiding-the-path-to-a-PDF-in-a-browser-popup-window#725364</link>	
		<description>Sorry, I know this isn&apos;t an answer to your question, but I can&apos;t keep myself from adding: if you&apos;re trying to hide the location because the site contains other PDFs with confidential information, you should know that hiding the URLs is not a good approach to security.  But I&apos;m sure you&apos;re already aware of this.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.47669-725364</guid>
		<pubDate>Sun, 01 Oct 2006 19:45:51 -0800</pubDate>
		<dc:creator>zixyer</dc:creator>
	</item><item>
		<title>By: mkultra</title>
		<link>http://ask.metafilter.com/47669/Hiding-the-path-to-a-PDF-in-a-browser-popup-window#725372</link>	
		<description>I agree with zixyer that any reasonably intelligent person can figure out the full path to a document fairly easily. Right click + &quot;Copy URL&quot;.&lt;br&gt;
&lt;br&gt;
You can do what you want programmatically by tagging each document with a unique ID (unrelated to anything about the doc) in a database table, then streaming out the relevant file based on the requested ID.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.47669-725372</guid>
		<pubDate>Sun, 01 Oct 2006 19:57:33 -0800</pubDate>
		<dc:creator>mkultra</dc:creator>
	</item><item>
		<title>By: rosemere</title>
		<link>http://ask.metafilter.com/47669/Hiding-the-path-to-a-PDF-in-a-browser-popup-window#725382</link>	
		<description>That&apos;s what I love about this place: fast, helpful answers. &lt;br&gt;
&lt;br&gt;
Yes, the frameset approach, while imperfect, is something I can do. (mkultra, I&apos;ll keep your method in mind once I get more experience working with databases in a web environment.)&lt;br&gt;
&lt;br&gt;
I know that URLs can be traced in a variety of ways, and that the chromeless windows and JavaScript right-click disabling we&apos;re using won&apos;t stop everyone. We&apos;re just trying to minimize what our mostly naive user base could do. The other information isn&apos;t confidential, just things we&apos;d prefer that people don&apos;t poke around in much.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.47669-725382</guid>
		<pubDate>Sun, 01 Oct 2006 20:17:01 -0800</pubDate>
		<dc:creator>rosemere</dc:creator>
	</item><item>
		<title>By: misterbrandt</title>
		<link>http://ask.metafilter.com/47669/Hiding-the-path-to-a-PDF-in-a-browser-popup-window#725399</link>	
		<description>&lt;em&gt;The other information isn&apos;t confidential, just things we&apos;d prefer that people don&apos;t poke around in much.&lt;/em&gt;&lt;br&gt;
&lt;br&gt;
Why not implement a couple of simple .htaccess rules to limit people&apos;s ability to poke around? (&lt;a href=&quot;http://www.javascriptkit.com/howto/htaccess11.shtml&quot;&gt;disable directory listing&lt;/a&gt;, maybe &lt;a href=&quot;http://altlab.com/htaccess_tutorial.html&quot;&gt;hotlinking&lt;/a&gt; too)</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.47669-725399</guid>
		<pubDate>Sun, 01 Oct 2006 20:41:04 -0800</pubDate>
		<dc:creator>misterbrandt</dc:creator>
	</item><item>
		<title>By: rosemere</title>
		<link>http://ask.metafilter.com/47669/Hiding-the-path-to-a-PDF-in-a-browser-popup-window#725454</link>	
		<description>My friend&apos;s using IIS, not Apache, but has already disabled directory listing. We&apos;ll look at hotlinking safeguards for IIS as well. Thanks!</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.47669-725454</guid>
		<pubDate>Sun, 01 Oct 2006 22:27:46 -0800</pubDate>
		<dc:creator>rosemere</dc:creator>
	</item><item>
		<title>By: mkultra</title>
		<link>http://ask.metafilter.com/47669/Hiding-the-path-to-a-PDF-in-a-browser-popup-window#725781</link>	
		<description>&lt;a href=&quot;http://trailfire.com/bonlebon/marks/14947&quot;&gt;This&lt;/a&gt; how-to for PHP popped up on Digg today.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.47669-725781</guid>
		<pubDate>Mon, 02 Oct 2006 09:52:20 -0800</pubDate>
		<dc:creator>mkultra</dc:creator>
	</item>
	</channel>
</rss>
