# Protect .mp3 files

**URL:** <https://forum.kirupa.com/t/protect-mp3-files/130441>\
**Category:** Uncategorized\
**Created:** [December 5, 2004, 3:20am UTC](https://forum.kirupa.com/t/protect-mp3-files/130441 "2004-12-05T03:20:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dreamerp](https://avatars.discourse-cdn.com/v4/letter/d/fbc32d/32.png) [@dreamerp](https://forum.kirupa.com/u/dreamerp)\
**Post date:** [December 5, 2004, 3:20am UTC](https://forum.kirupa.com/t/protect-mp3-files/130441/1 "2004-12-05T03:20:21Z")

</div>

Hello,

Is it possible to protect .mp3 files on a server using PHP? I have a login system but I only want registered users to be able to download. One page with files would only go to a link, how would I protect the mp3 file?

Peter
