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
pjg281 [ Sa, 12 Januar 2008 02:39 ] [ ID #1906172 ]

Re: Protecting folders

Post removed (X-No-Archive: yes)
Notifier Deamon [ Sa, 12 Januar 2008 09:00 ] [ ID #1906175 ]

Re: Protecting folders

<pjg281 [at] googlemail.com> wrote in message
news:9176493e-d3fb-497c-9bdc-c2dafc4c66ac [at] e23g2000prf.google groups.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.
Trammel [ So, 13 Januar 2008 09:55 ] [ ID #1906598 ]

Re: Protecting folders

"Trammel" <Me [at] Server.com> wrote in message
news:ymkij.128213$036.28785 [at] fe1.news.blueyonder.co.uk...
> <pjg281 [at] googlemail.com> wrote in message
> news:9176493e-d3fb-497c-9bdc-c2dafc4c66ac [at] e23g2000prf.google groups.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)
Trammel [ So, 13 Januar 2008 10:29 ] [ ID #1906599 ]

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
pjg281 [ So, 13 Januar 2008 16:42 ] [ ID #1906603 ]

Re: Protecting folders

On Jan 13, 1:29=A0am, "Trammel" <M... [at] Server.com> wrote:
> "Trammel" <M... [at] Server.com> wrote in message
>
> news:ymkij.128213$036.28785 [at] fe1.news.blueyonder.co.uk...
>
>
>
>
>
> > <pjg... [at] googlemail.com> wrote in message
> >news:9176493e-d3fb-497c-9bdc-c2dafc4c66ac [at] e23g2000prf.googl egroups.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). =A0You can open the
> > files with PHP, send the correct header and then stream the data from th=
e
> > 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 t=
he
> > 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.h=
tm
> or index.php files in the same folder as your movies. =A0This will make it=

> impossible for anyone to see the movies unless they know the exact address=

> (URL). =A0You 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.
pjg281 [ So, 13 Januar 2008 16:43 ] [ ID #1906604 ]

Re: Protecting folders

> <pjg281 [at] googlemail.com> wrote in message
> news:107fd42f-5852-4614-928b-f9eb8e6ed0f2 [at] v67g2000hse.google groups.com...>
> On Jan 13, 1:29 am, "Trammel" <M... [at] Server.com> wrote:
>> "Trammel" <M... [at] Server.com> wrote in message
>>
>> news:ymkij.128213$036.28785 [at] fe1.news.blueyonder.co.uk...
>>
>>
>>
>>
>>
>>> <pjg... [at] googlemail.com> wrote in message
>>>news:9176493e-d3fb-497c-9bdc-c2dafc4c66ac [at] e23g2000prf.goo glegroups.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 :)
Trammel [ So, 13 Januar 2008 21:04 ] [ ID #1906610 ]

Re: Protecting folders

On Jan 13, 12:04=A0pm, "Trammel" <M... [at] Server.com> wrote:
> > <pjg... [at] googlemail.com> wrote in message
> >news:107fd42f-5852-4614-928b-f9eb8e6ed0f2 [at] v67g2000hse.googl egroups.com...=
>
> > On Jan 13, 1:29 am, "Trammel" <M... [at] Server.com> wrote:
> >> "Trammel" <M... [at] Server.com> wrote in message
>
> >>news:ymkij.128213$036.28785 [at] fe1.news.blueyonder.co.uk...
>
> >>> <pjg... [at] googlemail.com> wrote in message
> >>>news:9176493e-d3fb-497c-9bdc-c2dafc4c66ac [at] e23g2000prf.goo glegroups.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 (a=
nd
> >>> 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 co=
py
> >>> 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 matte=
r
> 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
pjg281 [ Mo, 14 Januar 2008 02:35 ] [ ID #1907346 ]
Webserver » alt.apache.configuration » Protecting folders

Vorheriges Thema: xampp apache vhosts setting (linux) - help help !!!!
Nächstes Thema: Is there a mod that can do this?