Protecting folders
am 12.01.2008 02:39:29 von pjg281
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
Re: Protecting folders
am 12.01.2008 09:00:03 von unknown
Post removed (X-No-Archive: yes)
Re: Protecting folders
am 13.01.2008 09:55:58 von Trammel
wrote in message
news:9176493e-d3fb-497c-9bdc-c2dafc4c66ac@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.
Re: Protecting folders
am 13.01.2008 10:29:17 von Trammel
"Trammel" wrote in message
news:ymkij.128213$036.28785@fe1.news.blueyonder.co.uk...
> wrote in message
> news:9176493e-d3fb-497c-9bdc-c2dafc4c66ac@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)
Re: Protecting folders
am 13.01.2008 16:42:08 von pjg281
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
Re: Protecting folders
am 13.01.2008 16:43:48 von pjg281
On Jan 13, 1:29=A0am, "Trammel" wrote:
> "Trammel" wrote in message
>
> news:ymkij.128213$036.28785@fe1.news.blueyonder.co.uk...
>
>
>
>
>
> > wrote in message
> >news:9176493e-d3fb-497c-9bdc-c2dafc4c66ac@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.
Re: Protecting folders
am 13.01.2008 21:04:44 von Trammel
> wrote in message
> news:107fd42f-5852-4614-928b-f9eb8e6ed0f2@v67g2000hse.google groups.com...>
> On Jan 13, 1:29 am, "Trammel" wrote:
>> "Trammel" wrote in message
>>
>> news:ymkij.128213$036.28785@fe1.news.blueyonder.co.uk...
>>
>>
>>
>>
>>
>>> wrote in message
>>>news:9176493e-d3fb-497c-9bdc-c2dafc4c66ac@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 :)
Re: Protecting folders
am 14.01.2008 02:35:19 von pjg281
On Jan 13, 12:04=A0pm, "Trammel" wrote:
> > wrote in message
> >news:107fd42f-5852-4614-928b-f9eb8e6ed0f2@v67g2000hse.googl egroups.com...=
>
> > On Jan 13, 1:29 am, "Trammel" wrote:
> >> "Trammel" wrote in message
>
> >>news:ymkij.128213$036.28785@fe1.news.blueyonder.co.uk...
>
> >>> wrote in message
> >>>news:9176493e-d3fb-497c-9bdc-c2dafc4c66ac@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