Protecting folders

This is a discussion on Protecting folders within the Apache Web Server forums, part of the Web Server and Related Forums category; Right I have made an intranet for my flat and made it availiable on the www. Now i have a ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-12-2008
pjg281@googlemail.com
 
Posts: n/a
Default Protecting folders

Right I have made an intranet for my flat and made it availiable on
the www. Now i have a section in this intranet that has media so my
flat mates can see it. However I noticed even through all the password
protection that i can if wanted to go into the folders them selves on
internet explorer. So I have tried putting a .htaccess file and it
works. But when I go to stream said media on the webpage that the
server is denying access to this file and closes.

SO finaly to my question ... Can i protect my folders from peering
eyes but will still let me access said media on a webpage?

Any suggestions will be gratefully recieved.....


Many Thanks
Paul
  #2 (permalink)  
Old 01-13-2008
Trammel
 
Posts: n/a
Default Re: Protecting folders

<pjg281@googlemail.com> wrote in message
news:9176493e-d3fb-497c-9bdc-c2dafc4c66ac@e23g2000prf.googlegroups.com...
> Right I have made an intranet for my flat and made it availiable on
> the www. Now i have a section in this intranet that has media so my
> flat mates can see it. However I noticed even through all the password
> protection that i can if wanted to go into the folders them selves on
> internet explorer. So I have tried putting a .htaccess file and it
> works. But when I go to stream said media on the webpage that the
> server is denying access to this file and closes.
>
> SO finaly to my question ... Can i protect my folders from peering
> eyes but will still let me access said media on a webpage?
>
> Any suggestions will be gratefully recieved.....
>
>
> Many Thanks
> Paul


PHP can open files that the webserver cant see because of .htaccess (and
because they are outside the webservers tree, etc). You can open the files
with PHP, send the correct header and then stream the data from the movie
through PHP.

Another option would be to use PHP or another scripting language to copy the
file to a "visable" location temporarily (with a filename based on the
dage/time) and make a later load of the streaming-page delete the file
again.


  #3 (permalink)  
Old 01-13-2008
Trammel
 
Posts: n/a
Default Re: Protecting folders

"Trammel" <Me@Server.com> wrote in message
news:ymkij.128213$036.28785@fe1.news.blueyonder.co .uk...
> <pjg281@googlemail.com> wrote in message
> news:9176493e-d3fb-497c-9bdc-c2dafc4c66ac@e23g2000prf.googlegroups.com...
>> Right I have made an intranet for my flat and made it availiable on
>> the www. Now i have a section in this intranet that has media so my
>> flat mates can see it. However I noticed even through all the password
>> protection that i can if wanted to go into the folders them selves on
>> internet explorer. So I have tried putting a .htaccess file and it
>> works. But when I go to stream said media on the webpage that the
>> server is denying access to this file and closes.
>>
>> SO finaly to my question ... Can i protect my folders from peering
>> eyes but will still let me access said media on a webpage?
>>
>> Any suggestions will be gratefully recieved.....
>>
>>
>> Many Thanks
>> Paul

>
> PHP can open files that the webserver cant see because of .htaccess (and
> because they are outside the webservers tree, etc). You can open the
> files with PHP, send the correct header and then stream the data from the
> movie through PHP.
>
> Another option would be to use PHP or another scripting language to copy
> the file to a "visable" location temporarily (with a filename based on the
> dage/time) and make a later load of the streaming-page delete the file
> again.


Another option might be something as simple as putting index.html, index.htm
or index.php files in the same folder as your movies. This will make it
impossible for anyone to see the movies unless they know the exact address
(URL). You can then password your stream players page anyway you choose
(I'd suggest PHP as it can be made to do anything - no extra programs
needed)


  #4 (permalink)  
Old 01-13-2008
pjg281@googlemail.com
 
Posts: n/a
Default Re: Protecting folders



Thank you for your replys. For the first respone. I am using a my
server in my own local area with a dns point to my static ip to make
it availiable hence i cannot upgrade to a media stream.

For the rest. I have just made the move into php and know little apart
from security. How would i go ahead and call the movie in php as you
said above.


Again thank you for your help
  #5 (permalink)  
Old 01-13-2008
pjg281@googlemail.com
 
Posts: n/a
Default Re: Protecting folders

On Jan 13, 1:29*am, "Trammel" <M...@Server.com> wrote:
> "Trammel" <M...@Server.com> wrote in message
>
> news:ymkij.128213$036.28785@fe1.news.blueyonder.co .uk...
>
>
>
>
>
> > <pjg...@googlemail.com> wrote in message
> >news:9176493e-d3fb-497c-9bdc-c2dafc4c66ac@e23g2000prf.googlegroups.com...
> >> Right I have made an intranet for my flat and made it availiable on
> >> the www. Now i have a section in this intranet that has media so my
> >> flat mates can see it. However I noticed even through all the password
> >> protection that i can if wanted to go into the folders them selves on
> >> internet explorer. So I have tried putting a .htaccess file and it
> >> works. But when I go to stream said media on the webpage that the
> >> server is denying access to this file and closes.

>
> >> SO finaly to my question ... Can i protect my folders from peering
> >> eyes but will still let me access said media on a webpage?

>
> >> Any suggestions will be gratefully recieved.....

>
> >> Many Thanks
> >> Paul

>
> > PHP can open files that the webserver cant see because of .htaccess (and
> > because they are outside the webservers tree, etc). *You can open the
> > files with PHP, send the correct header and then stream the data from the
> > movie through PHP.

>
> > Another option would be to use PHP or another scripting language to copy
> > the file to a "visable" location temporarily (with a filename based on the
> > dage/time) and make a later load of the streaming-page delete the file
> > again.

>
> Another option might be something as simple as putting index.html, index.htm
> or index.php files in the same folder as your movies. *This will make it
> impossible for anyone to see the movies unless they know the exact address
> (URL). *You can then password your stream players page anyway you choose
> (I'd suggest PHP as it can be made to do anything - no extra programs
> needed)- Hide quoted text -
>
> - Show quoted text -


You know what ur a genius i just clicked to what you were saying here
mucho thanko that would be a simple fix. thank u sooooo much lol.
  #6 (permalink)  
Old 01-13-2008
Trammel
 
Posts: n/a
Default Re: Protecting folders

> <pjg281@googlemail.com> wrote in message
> news:107fd42f-5852-4614-928b-f9eb8e6ed0f2@v67g2000hse.googlegroups.com...>
> On Jan 13, 1:29 am, "Trammel" <M...@Server.com> wrote:
>> "Trammel" <M...@Server.com> wrote in message
>>
>> news:ymkij.128213$036.28785@fe1.news.blueyonder.co .uk...
>>
>>
>>
>>
>>
>>> <pjg...@googlemail.com> wrote in message
>>>news:9176493e-d3fb-497c-9bdc-c2dafc4c66ac@e23g2000prf.googlegroups.com...
>>>> Right I have made an intranet for my flat and made it availiable on
>>> the www. Now i have a section in this intranet that has media so my
>>> flat mates can see it. However I noticed even through all the password
>>> protection that i can if wanted to go into the folders them selves on
>>> internet explorer. So I have tried putting a .htaccess file and it
>>> works. But when I go to stream said media on the webpage that the
>>> server is denying access to this file and closes.

>
>>> SO finaly to my question ... Can i protect my folders from peering
>>> eyes but will still let me access said media on a webpage?

>
>>> Any suggestions will be gratefully recieved.....

>
>>> Many Thanks
>>> Paul

>>
>>> PHP can open files that the webserver cant see because of .htaccess (and
>>> because they are outside the webservers tree, etc). You can open the
>>> files with PHP, send the correct header and then stream the data from
>>> the
>>> movie through PHP.

>>
>>> Another option would be to use PHP or another scripting language to copy
>>> the file to a "visable" location temporarily (with a filename based on
>>> the
>>> dage/time) and make a later load of the streaming-page delete the file
>>> again.

>>
>> Another option might be something as simple as putting index.html,
>> index.htm
>> or index.php files in the same folder as your movies. This will make it
>> impossible for anyone to see the movies unless they know the exact
>> address
>> (URL). You can then password your stream players page anyway you choose
>> (I'd suggest PHP as it can be made to do anything - no extra programs
>> needed)- Hide quoted text -
>>
>> - Show quoted text -

>
> You know what ur a genius i just clicked to what you were saying here
> mucho thanko that would be a simple fix. thank u sooooo much lol.


Im not a genius by any stretch of the imagination, but thank you for your
feedback.
Please let us know if the "fix" works for you so we can consider the matter
closed :)


  #7 (permalink)  
Old 01-14-2008
pjg281@googlemail.com
 
Posts: n/a
Default Re: Protecting folders

On Jan 13, 12:04*pm, "Trammel" <M...@Server.com> wrote:
> > <pjg...@googlemail.com> wrote in message
> >news:107fd42f-5852-4614-928b-f9eb8e6ed0f2@v67g2000hse.googlegroups.com...>
> > On Jan 13, 1:29 am, "Trammel" <M...@Server.com> wrote:
> >> "Trammel" <M...@Server.com> wrote in message

>
> >>news:ymkij.128213$036.28785@fe1.news.blueyonder. co.uk...

>
> >>> <pjg...@googlemail.com> wrote in message
> >>>news:9176493e-d3fb-497c-9bdc-c2dafc4c66ac@e23g2000prf.googlegroups.com....
> >>>> Right I have made an intranet for my flat and made it availiable on
> >>> the www. Now i have a section in this intranet that has media so my
> >>> flat mates can see it. However I noticed even through all the password
> >>> protection that i can if wanted to go into the folders them selves on
> >>> internet explorer. So I have tried putting a .htaccess file and it
> >>> works. But when I go to stream said media on the webpage that the
> >>> server is denying access to this file and closes.

>
> >>> SO finaly to my question ... Can i protect my folders from peering
> >>> eyes but will still let me access said media on a webpage?

>
> >>> Any suggestions will be gratefully recieved.....

>
> >>> Many Thanks
> >>> Paul

>
> >>> PHP can open files that the webserver cant see because of .htaccess (and
> >>> because they are outside the webservers tree, etc). You can open the
> >>> files with PHP, send the correct header and then stream the data from
> >>> the
> >>> movie through PHP.

>
> >>> Another option would be to use PHP or another scripting language to copy
> >>> the file to a "visable" location temporarily (with a filename based on
> >>> the
> >>> dage/time) and make a later load of the streaming-page delete the file
> >>> again.

>
> >> Another option might be something as simple as putting index.html,
> >> index.htm
> >> or index.php files in the same folder as your movies. This will make it
> >> impossible for anyone to see the movies unless they know the exact
> >> address
> >> (URL). You can then password your stream players page anyway you choose
> >> (I'd suggest PHP as it can be made to do anything - no extra programs
> >> needed)- Hide quoted text -

>
> >> - Show quoted text -

>
> > You know what ur a genius i just clicked to what you were saying here
> > mucho thanko that would be a simple fix. thank u sooooo much lol.

>
> Im not a genius by any stretch of the imagination, but thank you for your
> feedback.
> Please let us know if the "fix" works for you so we can consider the matter
> closed :)- Hide quoted text -
>
> - Show quoted text -


yep all good. put a php redirecter in each folder unless u know
filename it wont be easy to get to them
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:33 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0