# Access to documents in shared folder

**URL:** <https://www.ruby-forum.com/t/access-to-documents-in-shared-folder/153322>\
**Category:** Rails\
**Created:** [November 14, 2008, 8:34pm UTC](https://www.ruby-forum.com/t/access-to-documents-in-shared-folder/153322 "2008-11-14T20:34:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fearx](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/82dd89/32.png) [@fearx](https://www.ruby-forum.com/u/fearx)\
**Post date:** [November 14, 2008, 8:34pm UTC](https://www.ruby-forum.com/t/access-to-documents-in-shared-folder/153322/1 "2008-11-14T20:34:37Z")

</div>

Is it possible Rails, access files outside of the folder itself from the  
application?

By example, I want to show from my rails application a pdf document,  
located in \server\_name\shared\_folder\document1.pdf

I show the document, located RAILS\_ROOT\public\documents\document1.pdf,  
but I would like to have the document at the \server\_name\shared\_folder  
route.

Thanks in advance.

Fernando GonzÃ¡lez MacÃ­as  
fgonzalez @ grupojoly. com
