Re: FW: [PHP] Accessing Files Outside the Web Root

2013-03-15 Thread Ashley Sheridan
On Fri, 2013-03-15 at 09:11 -0400, Dale H. Cook wrote: > At 09:44 PM 3/14/2013, tamouse mailing lists wrote: > > >If you are delivering files to a (human) user via their browser, by whatever > >mechanism, that means someone can write a script to scrape them. > > That script, however, would have

Re: [PHP] Accessing Files Outside the Web Root

2013-03-15 Thread Dale H. Cook
At 09:27 AM 3/15/2013, Stuart Dallas wrote: >You'll have to pursue legal avenues to prevent it being made available, and >that's usually prohibitively expensive. Not necessarily. Most of the host systems for the scraper sites are responsive to my complaints. Even if a site owner will not respon

Re: [PHP] Accessing Files Outside the Web Root

2013-03-15 Thread Stuart Dallas
On 15 Mar 2013, at 13:11, "Dale H. Cook" wrote: > At 09:44 PM 3/14/2013, tamouse mailing lists wrote: > >> If you are delivering files to a (human) user via their browser, by whatever >> mechanism, that means someone can write a script to scrape them. > > That script, however, would have to be

Re: FW: [PHP] Accessing Files Outside the Web Root

2013-03-15 Thread Dale H. Cook
At 09:44 PM 3/14/2013, tamouse mailing lists wrote: >If you are delivering files to a (human) user via their browser, by whatever >mechanism, that means someone can write a script to scrape them. That script, however, would have to be running on my host system in order to access the script whic

Re: [PHP] Accessing Files Outside the Web Root

2013-03-14 Thread Dale H. Cook
At 12:40 PM 3/14/2013, Ravi Gehlot wrote: >In order to address the problem, you should create a "Members Restricted Area" You need to understand my target demo to understand my approach. Much of my target audience for those files is elderly and not very computer savvy. Having to register for ac

[PHP] Accessing Files Outside the Web Root - Progress Report 1

2013-03-14 Thread Dale H. Cook
I have made some progress. It occurred to me that the problem that I had in accessing files outside the web root could be a pathing problem, and that was the case. I finally ran phpinfo() and examined &_SERVER["DOCUMENT_ROOT"] to see what the correct path should be. I then figured that for porta

Re: [PHP] Accessing Files Outside the Web Root

2013-03-14 Thread Ravi Gehlot
Hello Dale, The spiders are not the only problem. The issue here is that anyone can download your files from your website and then make them available elsewhere. In order to address the problem, you should create a "Members Restricted Area" where members only could download your files. You can the

Re: FW: [PHP] Accessing Files Outside the Web Root

2013-03-14 Thread Dale H. Cook
At 04:06 AM 3/14/2013, tamouse mailing lists wrote: >If the files are delivered via the web, by php or some other means, even if >located outside webroot, they'd still be scrapeable. Bots, however, being "mechanical" (i.e., hard wired or programmed) behave in different ways than humans, and that

Re: FW: [PHP] Accessing Files Outside the Web Root

2013-03-14 Thread tamouse mailing lists
On Mar 13, 2013 7:06 PM, "David Robley" wrote: > > "Dale H. Cook" wrote: > > > At 05:04 PM 3/13/2013, Dan McCullough wrote > > : > >>Web bots can ignore the robots.txt file, most scrapers would. > > > > and at 05:06 PM 3/13/2013, Marc Guay wrote: > > > >>These don't sound like robots that would re

Re: FW: [PHP] Accessing Files Outside the Web Root

2013-03-13 Thread David Robley
"Dale H. Cook" wrote: > At 05:04 PM 3/13/2013, Dan McCullough wrote > : >>Web bots can ignore the robots.txt file, most scrapers would. > > and at 05:06 PM 3/13/2013, Marc Guay wrote: > >>These don't sound like robots that would respect a txt file to me. > > Dan and Marc are correct. Although I

Re: FW: [PHP] Accessing Files Outside the Web Root

2013-03-13 Thread Dale H. Cook
At 05:04 PM 3/13/2013, Dan McCullough wrote : >Web bots can ignore the robots.txt file, most scrapers would. and at 05:06 PM 3/13/2013, Marc Guay wrote: >These don't sound like robots that would respect a txt file to me. Dan and Marc are correct. Although I used the terms "spiders" and "pirates"

Re: FW: [PHP] Accessing Files Outside the Web Root

2013-03-13 Thread Dale H. Cook
At 04:58 PM 3/13/2013, Jen Rasmussen wrote: >Have you tried keeping all of your documents in one directory and blocking >that directory via a robots.txt file? A spider used by a pirate site does not have to honor robots.txt, just as a non-Adobe PDF utility does not have to honor security setting

Re: FW: [PHP] Accessing Files Outside the Web Root

2013-03-13 Thread Marc Guay
> Have you tried keeping all of your documents in one directory and blocking > that directory via a robots.txt file? These don't sound like robots that would respect a txt file to me. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: FW: [PHP] Accessing Files Outside the Web Root

2013-03-13 Thread Dan McCullough
hp.net > Subject: [PHP] Accessing Files Outside the Web Root > > Let me preface my question by noting that I am virtually a PHP novice. > Although I am a long-time webmaster, and have used PHP for some years to > give visitors access to information in my SQL database, this is my first >

FW: [PHP] Accessing Files Outside the Web Root

2013-03-13 Thread Jen Rasmussen
-Original Message- From: Dale H. Cook [mailto:radiot...@plymouthcolony.net] Sent: Wednesday, March 13, 2013 3:38 PM To: php-general@lists.php.net Subject: [PHP] Accessing Files Outside the Web Root Let me preface my question by noting that I am virtually a PHP novice. Although I am a

[PHP] Accessing Files Outside the Web Root

2013-03-13 Thread Dale H. Cook
Let me preface my question by noting that I am virtually a PHP novice. Although I am a long-time webmaster, and have used PHP for some years to give visitors access to information in my SQL database, this is my first attempt to use it for another purpose. I have browsed the mailing list archives