Answer the question
In order to leave comments, you need to log in
Html5 + pass in url?
Hi all.
There is an mp4 video on the server. I want to work with him, play through the Html5 player.
But I wanted access to the video with a password, earlier with a swf player it was possible to pass a login and a pass in the address ..
http://user:[email protected]\1.mp4
But in the docks they write that IE does not support links with a login and pass in the urls... how to be?
Answer the question
In order to leave comments, you need to log in
conf site
in the site config you insert
< Directory /var/www/site/directory to be password protected>
AuthType Basic
AuthName "%site%"
AuthUserFile /etc/apache2/passwd-db
------------
Create password file.
http://name:[email protected]
And everything comes in.
This is the wrong approach.
Correct:
1. Registration on the site
2. For registered users, a special URL is generated up to the server script
3. This URL has a limited lifetime
4. And only by this URL the server already returns the video
5. Something like this.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question