How to secure my flash files...

Discussion in 'Security' started by iwantvarun, Apr 5, 2009.

  1. #1
    I am using few flash(swf) files on my site....

    How to secure them so that users wont be able to download them directly....

    I am trying the hot link protection of cpanel.but it is even stopping my web pages to access those files .Any other way?
     
    iwantvarun, Apr 5, 2009 IP
  2. hans

    hans Well-Known Member

    Messages:
    2,923
    Likes Received:
    126
    Best Answers:
    1
    Trophy Points:
    173
    #2
    if you hotlink protect your files incl flash
    you always have to EXCLUDE your own site to assure the files / pics are properly displayed when view surfing on your own site
    try your hotlink code again and add the one line below.
    this is done by ONE line in your hotlink mod_rewrite code

    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?yoursite.com [NC]

    same line for each SE you want to access the files for indexing
     
    hans, Apr 17, 2009 IP