Flv download restricted

Discussion in 'ASP.NET 2.0' started by yogarajan, Jan 28, 2013.

  1. Hi All

    I am developing video based tutorials. my video is flv format.
    user can view course through web page. if user knows my flv path then if they try to hack my flv path For eg : (http://www.xyz.com/video/abc.flv) in the address bar... How do I restrict the url by not accepting it??? Is there any solutions kindly let me know!!!

    Thanks in advance!!!
     
  2. dmitri

    dmitri DiscountASP.NET Staff

    You can passowrd-protect the directory that contains your files following the instructions in this article.
     
  3. hi dmitri

    Thanks for your reply

    any other method is there?

    Thanks in advance
     
  4. Hi dmitri

    i was tried your method

    my program structure
    sample folder contains img folder and default.html
    img folder contains sample.jpg

    so i am create password for img folder

    my html

    if i access the html also it is asking user name password

    my requirement is

    if i access the http://localhost/secfile/img/sample.jpg - asking user name and password
    http://localhost/secfile/default.html - it is show my page without username and password

    but your method(password-protect the directory) asking username and password for both


    thanks in advance
     
  5. Bruce

    Bruce DiscountASP.NET Staff

  6. Hi bruce


    Thanks for your reply

    it is working fine

    Thanks
     

Share This Page