Tag Info

Hot answers tagged

2

Place that log outside of your webroot. That way the only way to access it is through a script which can contain authentication (i.e. a password).


2

First off the easiest one for www is this. RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^yourwebsite\.com$ [NC] RewriteRule ^(.*)$ http://www.yourwebsite.com/$1 [R=301,L] Now for some actual rewriting you should be able to use something like this. RewriteCond $1 !^(users) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d ...


1

And second thing I plan to store videos in seperate dedicated server and is it possible to protect it's actual location? Following on from grgarside's answer... the client would make a request to the first server. The first server then makes the request to the separate media server and returns the response to the client. The client at no point connects ...


1

Use temporary resource URLs that only work once. Have the server generate unique URLs that can only be used once and only be generated by using the player on the intended player page. For more information, see Stack Overflow: http://stackoverflow.com/questions/9756837/prevent-html5-video-from-being-downloaded-right-click-saved



Only top voted, non community-wiki answers of a minimum length are eligible