Ok, I am not fluent in Apache...

I've got a .htaccess file setup like so:

<Files *>
    Order Deny,Allow
    Deny from all
    Allow from localhost
</Files>

RemoveHandler .php .php3 .phtml .cgi .fcgi .pl .fpl .shtml

The issue is I'm requiring to make use of .pdf files to connect to a URL like so in this particular directory:

<iframe name="FRAME2" src="http://docs.google.com/viewer?url=URLTOFILE.pdf&reqTime=1271316295&embedded=true" width="500" height="280" frameborder="1"></iframe>

Therefore the Pdf never will get displayed/embedded because it should inside the page. Basically remove all lines in the .htaccess file it really works PERFECTLY. However, I am speculating that that's inside for security reasons. So, can there be anyway to bypass PDF files only, to ensure that they're permitted all or a method to take just for the google URL in here?

Help...arggg

And before anybody asks, "URLTOFILE.pdf" is really pointing to some VALID Pdf on my small server inside the same folder the .htaccess file is situated in.

Thanks :)

<Files *.PDF>
    Order Allow, Deny
    Allow from all
</Files>


<Files *>
    Order Deny,Allow
    Deny from all
    Allow from localhost
</Files>

These directive apply within the order they're specified. So, first, allow use of PDF files, after which deny everything not caught.