# Paperclipped PDF's and DOC's

**URL:** <https://www.ruby-forum.com/t/paperclipped-pdfs-and-docs/163934>\
**Category:** Radiant CMS\
**Created:** [March 26, 2009, 9:59am UTC](https://www.ruby-forum.com/t/paperclipped-pdfs-and-docs/163934 "2009-03-26T09:59:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bartee](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/d78d45/32.png) [@bartee](https://www.ruby-forum.com/u/bartee)\
**Post date:** [March 26, 2009, 9:59am UTC](https://www.ruby-forum.com/t/paperclipped-pdfs-and-docs/163934/1 "2009-03-26T09:59:30Z")

</div>

I have a client who wants to be able to load a DOC file ( or a PDF, my  
idea ) and then reference those in a page.

Paperclipped will not allow those extensions.

I have not looked at the code yet. I think it might work with a small  
modification, but then what would the thumbnail look like ? hmmm… just  
kidding…

---

<div class="post-metadata">

**Author:** ![bartee](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/d78d45/32.png) [@bartee](https://www.ruby-forum.com/u/bartee)\
**Post date:** [April 12, 2009, 11:01pm UTC](https://www.ruby-forum.com/t/paperclipped-pdfs-and-docs/163934/2 "2009-04-12T23:01:49Z")

</div>

Bartee L. wrote:

> I have a client who wants to be able to load a DOC file ( or a PDF, my  
> idea ) and then reference those in a page.
> 
> Paperclipped will not allow those extensions.
> 
> I have not looked at the code yet. I think it might work with a small  
> modification, but then what would the thumbnail look like ? hmmm… just  
> kidding…

You can allow the mime types you want which is a preferable security  
feature over allowing extensions. God knows what people could  
concatenate in a file.
