4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: maxx_84 on May 23, 2010, 08:53:59 AM

Title: need to deny media files download or to view in other sites
Post by: maxx_84 on May 23, 2010, 08:53:59 AM
My brothers I use the script to view flv video files
I have at least 300 GB Media uploaded, add
i need to deny
media files download or to view in other sites

What is the solution

I hope hard find solution here  :|
Title: Re: need to deny media files download or to view in other sites
Post by: batu544 on May 23, 2010, 10:48:33 AM
Hi,
     Try to add this in your .htaccess file, may be it will work for you..

Code: [Select]
RewriteRule .*\.(jpeg|gif|bmp|flv)$ http://www.yourdomain.com [R,NC]


Replace www.yourdomain.com with your actual website name.


Thanks,
batu544