Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

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

  • 18-11-2012 07: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