Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Using htaccess to limit browsers access to website.

    Hi There,

    I have a website with a lot of video's in some of my directories people are trying to rip,

    I want to limit access to the video's by agent type, specificly Agent: NSV Player/0.0 (ultravox/2.0)

    I believe I can use the BrowserLimit var in Apache, but i'm not sure what the context is. Can someone help me out here?



  2. #2
    add this to your .htaccess file in the website root directory.

    SetEnvIf User-Agent "NSV Player" Banned
    Deny from env=Banned

  3. #3
    Will the ban the NSV Player, or ban everything else but the NSV player?

    I want to allow just the NSV player software, and deny browsers.


  4. $spacer_open
  5. #4
    aha, I misunderstood ya before. Enter this in the .htaccess file in the directory or directories your video's are kept.

    SetEnvIf User-Agent "NSV Player" Allowed
    Order Allow,Deny
    Allow from env=Allowed
    Deny from all

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts