# Filename protection (encryption)?

**URL:** <https://www.ruby-forum.com/t/filename-protection-encryption/149171>\
**Category:** Rails\
**Created:** [September 22, 2008, 8:46am UTC](https://www.ruby-forum.com/t/filename-protection-encryption/149171 "2008-09-22T08:46:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nik](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/6de8d8/32.png) [@nik](https://www.ruby-forum.com/u/nik)\
**Post date:** [September 22, 2008, 8:46am UTC](https://www.ruby-forum.com/t/filename-protection-encryption/149171/1 "2008-09-22T08:46:12Z")

</div>

Hello,

I am allowing people to upload their videos. But I am afraid that  
people can “guess” the filename and just manually download/see them by  
including it in the URL  
[http://dns/FileNotBelongingToMe.mov](http://dns/FileNotBelongingToMe.mov)

How does one prevent that?

Thank You
