Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Securing a public dir, but able to stream files from it?

  • 18-11-2012 08:12PM
    #1
    Banned (with Prison Access) Posts: 1,940 ✭✭✭


    I have a folder in my www directory which I would like protected so only I can access it, but I'd also like to be able to navigate it properly, be able to download files via Save As, and also stream media files from it in a media player.

    Currently I'm using .htaccess/.htpasswd and while that secures the directory, I can't stream any files using VLC (prompts for pass but does nothing after entering it). Also when I try to access subdirectories I get a Forbidden error.


Comments

  • Closed Accounts Posts: 3,683 ✭✭✭Kensington


    Have you applied the permissions recursively?
    You may be giving the top level folder the desired permissions but everything within it and beneath it may have completely different permissions - which your login appears not to have access to...


Advertisement