Urgent! File Permission Problem

Discussion in 'Programming' started by Zlimp, Jan 7, 2009.

  1. #1
    hi guys! i need help from you ... i have problems with directory permissions. the problem is as follows >>
    for example >>>
    http://www.flashgamescript.com/demo/games/WhackABeast.html <<< this link has an .swf file in it... and the link to tht swf file is >>> http://www.flashgamescript.com/demo/files/swf/51695.swf ... now if u see, the link to the swf file gives an error msg tht this area is "forbidden"... so ppl cnt access the swf file directly...coz if thy get the access thy will download the swf file... so how can i prevent this? i have tried putting an empty index.html file in tht directory but i guess people can download the swf with tht too.
    my question is how can this be prevented? and how can i prevent ppl from accessing tht area but at the same time use tht directory on my site.
     
    Zlimp, Jan 7, 2009 IP
  2. mediashare

    mediashare Active Member

    Messages:
    200
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #2
    Use .htaccess- Blocking users/ sites by referrer.
     
    mediashare, Jan 7, 2009 IP
  3. Zlimp

    Zlimp Well-Known Member

    Messages:
    217
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    105
    #3
    yes .. but can u tell me the code? i have no idea about this
     
    Zlimp, Jan 7, 2009 IP