943,993 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 2916
  • PHP RSS
Aug 1st, 2007
0

prevent scraping

Expand Post »
Is their a way to prevent screen scraping? Thanks Dave
Similar Threads
Reputation Points: 18
Solved Threads: 2
Junior Poster
Dsiembab is offline Offline
156 posts
since Mar 2007
Aug 1st, 2007
0

Re: prevent scraping

Click to Expand / Collapse  Quote originally posted by Dsiembab ...
Is their a way to prevent screen scraping? Thanks Dave
Only one that I know of: don't produce any output.
Moderator
Featured Poster
Reputation Points: 3239
Solved Threads: 839
Posting Genius
Ezzaral is offline Offline
6,761 posts
since May 2007
Aug 1st, 2007
0

Re: prevent scraping

you mean like chmod or .htaccess, I guess I'll have to read up on perl. thanks anyways
Reputation Points: 18
Solved Threads: 2
Junior Poster
Dsiembab is offline Offline
156 posts
since Mar 2007
Aug 2nd, 2007
0

Re: prevent scraping

Click to Expand / Collapse  Quote originally posted by Dsiembab ...
you mean like chmod or .htaccess, I guess I'll have to read up on perl. thanks anyways
No, I mean that if your script is sending any output to a user at all (html, text, whatever), that user can scrape it.
Moderator
Featured Poster
Reputation Points: 3239
Solved Threads: 839
Posting Genius
Ezzaral is offline Offline
6,761 posts
since May 2007
Aug 2nd, 2007
0

Re: prevent scraping

I was thinking their might be a way to password protect the directory and use a curl function to forward a password to the directory with the data being viewed. That way the directory cannot be viewed and the curl function being php will not be veiwed either.
Reputation Points: 18
Solved Threads: 2
Junior Poster
Dsiembab is offline Offline
156 posts
since Mar 2007
Aug 2nd, 2007
0

Re: prevent scraping

It sounds like you are talking about securing file access - not screen scraping.
Moderator
Featured Poster
Reputation Points: 3239
Solved Threads: 839
Posting Genius
Ezzaral is offline Offline
6,761 posts
since May 2007
Aug 2nd, 2007
0

Re: prevent scraping

I would like to secure file access, can you point me in the right direction? Thanks Dave
Reputation Points: 18
Solved Threads: 2
Junior Poster
Dsiembab is offline Offline
156 posts
since Mar 2007
Aug 3rd, 2007
1

Re: prevent scraping

Click to Expand / Collapse  Quote originally posted by Dsiembab ...
I would like to secure file access, can you point me in the right direction? Thanks Dave
If you are using Apache then .htaccess will allow you to control that. Here are a couple of tutorials:
http://httpd.apache.org/docs/1.3/howto/htaccess.html

http://www.javascriptkit.com/howto/htaccess.shtml

http://articles.techrepublic.com.com...1-5034311.html
Moderator
Featured Poster
Reputation Points: 3239
Solved Threads: 839
Posting Genius
Ezzaral is offline Offline
6,761 posts
since May 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Having trouble with my form validation
Next Thread in PHP Forum Timeline: PHP substring comparisons...what kinds are there?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC