I have a "members only" section that is protected with session variables. Inside this members area are some SWF's. My trouble is if people type in the direct location of that SWF they can download it. I've been searching for a way to prevent this and I came across htaccess wrapping.
Trying to do this:
AddHandler secured .swf
Action secured secure.php
and secure.php would do some stuff to check sessions and redirect if not present. I keep getting an error "Client sent malformed Host header"
- What am I doing wrong
- Is there a better way to do this?
PS: I contemplated doing this with flash and loadvariables, but I also have some FLV video that I need to protect.