Your best bet is probably something like the following: <?php
include( 'security.php' );
if ( user_is_authorized() )
{
echo file_get_contents( "my_flv_file.flv" );
die();
}
else
{
die();
}
?>
Obviously, your security functions will be named and processed differently, so you'll have to replace the include at the top and the user_is_authorized() function with your own security implementations.