you can make life dificult for hotlink and stuff with this:
RewriteEngine on
# agent is requesting media files and is not media player but has ok referer
# add for .wma on stories to ??
RewriteCond %{REQUEST_FILENAME} ^.*\.wmv$ [NC]
RewriteCond %{REQUEST_FILENAME} ^.*\.wma$ [NC]
RewriteCond %{HTTP_USER_AGENT} !^NSPlayer.* [NC]
RewriteCond %{HTTP_USER_AGENT} !^Windows-Media-Player.* [NC]
RewriteCond %{HTTP_REFERER} ^
http://.*xxxdatabase.com/.* [NC]
RewriteRule /*
http://php.xxxdatabase.com/link/getmediaplayer.html [R]
# agent is requesting media files and is not media player and has bad referer
RewriteCond %{REQUEST_FILENAME} ^.*\.wmv$ [NC]
RewriteCond %{REQUEST_FILENAME} ^.*\.wma$ [NC]
RewriteCond %{HTTP_USER_AGENT} !^NSPlayer.* [NC]
RewriteCond %{HTTP_USER_AGENT} !^Windows-Media-Player.* [NC]
RewriteCond %{HTTP_REFERER} !^
http://.*xxxdatabase.com/.* [NC]
RewriteRule /*
http://php.xxxdatabase.com/link/hotlink.html [R]
# agent has no cookie and is not media player
RewriteCond %{HTTP_COOKIE} !^user=.* [NC]
RewriteCond %{HTTP_USER_AGENT} !^NSPlayer.* [NC]
RewriteCond %{HTTP_USER_AGENT} !^Windows-Media-Player.* [NC]
RewriteRule /*
http://php.xxxdatabase.com/link/nocookie.phtml?&host=%{HTTP_HOST} [R]