PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > alt.apache.configuration > Protecting folders
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
alt.apache.configuration Apache web server configuration issues.

Protecting folders

Réponse
 
LinkBack Outils de la discussion
Vieux 12/01/2008, 01h39   #1
pjg281@googlemail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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
  Réponse avec citation
Vieux 12/01/2008, 08h00   #2
Davide Bianchi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Protecting folders

On 2008-01-12, pjg281@googlemail.com <pjg281@googlemail.com> wrote:
> protection that i can if wanted to go into the folders them selves on
> SO finaly to my question ... Can i protect my folders from peering
> eyes but will still let me access said media on a webpage?


Not using Apache. You need something more media-oriented, like
a stream server.

Davide

--
This fortune does not require Microsoft Windows.
  Réponse avec citation
Vieux 13/01/2008, 08h55   #3
Trammel
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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.


  Réponse avec citation
Vieux 13/01/2008, 09h29   #4
Trammel
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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)


  Réponse avec citation
Vieux 13/01/2008, 15h42   #5
pjg281@googlemail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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
  Réponse avec citation
Vieux 13/01/2008, 15h43   #6
pjg281@googlemail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Protecting folders

On Jan 13, 1:29am, "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.
  Réponse avec citation
Vieux 13/01/2008, 20h04   #7
Trammel
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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


  Réponse avec citation
Vieux 14/01/2008, 01h35   #8
pjg281@googlemail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Protecting folders

On Jan 13, 12:04pm, "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
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 10h38.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,16289 seconds with 16 queries