# How to keep and access the video files outside public folder

**URL:** <https://www.ruby-forum.com/t/how-to-keep-and-access-the-video-files-outside-public-folder/125223>\
**Category:** Ruby\
**Created:** [January 7, 2008, 7:40am UTC](https://www.ruby-forum.com/t/how-to-keep-and-access-the-video-files-outside-public-folder/125223 "2008-01-07T07:40:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![saurabhpurnaye](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ee59a6/32.png) [@saurabhpurnaye](https://www.ruby-forum.com/u/saurabhpurnaye)\
**Post date:** [January 7, 2008, 7:40am UTC](https://www.ruby-forum.com/t/how-to-keep-and-access-the-video-files-outside-public-folder/125223/1 "2008-01-07T07:40:23Z")

</div>

HI all,  
Grettings,  
I m using flashplayer helper for playing the videos, but i m getting an  
error if i tried to fetched them from out side the public/swf folder.  
The default path is public/swf… i have tried to change the path in the  
plugin also but it gives an error of no route found matching… As all  
know its very risky to keep the private video files in the public, and  
all the files are accessible to the users…  
So please guide me in this direction…

---

<div class="post-metadata">

**Author:** ![saurabhpurnaye](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ee59a6/32.png) [@saurabhpurnaye](https://www.ruby-forum.com/u/saurabhpurnaye)\
**Post date:** [January 7, 2008, 8:05am UTC](https://www.ruby-forum.com/t/how-to-keep-and-access-the-video-files-outside-public-folder/125223/2 "2008-01-07T08:05:58Z")

</div>

On Jan 7, 2008 3:40 PM, Saurabh P.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> HI all,  
> Grettings,  
> I m using flashplayer helper for playing the videos, but i m getting an  
> error if i tried to fetched them from out side the public/swf folder.  
> The default path is public/swf… i have tried to change the path in the  
> plugin also but it gives an error of no route found matching… As all  
> know its very risky to keep the private video files in the public, and  
> all the files are accessible to the users…  
> So please guide me in this direction…

I think you should tell us first what framework you are using so we  
can redirect you to the proper mailing list.

^ manveru
