PHP Applications
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Applications

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old April 17th, 2007, 08:32 PM
mike901 mike901 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 9 mike901 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
encrypting database driven pages

probably like a lot of others, the data in my database-driven site is my most valuable asset. has anyone used any encryption products or other stratetgies to disallow someone from simply copying and pasting the query results to be their own?

thanks,

Mike

Reply With Quote
  #2  
Old April 20th, 2007, 08:53 PM
honcho's Avatar
honcho honcho is offline
Contributing User
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Cape Cod
Posts: 1,347 honcho User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 52 m 2 sec
Reputation Power: 3
Re: encrypting database driven pages

Can you be more specific about how someone would simply copy the results from a query? Do people have access to the database directly, or are you worried about them copying the output from the query after you format it for a web page, xml feed, etc.?

Reply With Quote
  #3  
Old April 20th, 2007, 10:06 PM
Rich's Avatar
Rich Rich is offline
Administrator
Developer Shed Admin.
 
Join Date: Apr 2007
Location: Fort Lauderdale, FL
Posts: 160 Rich User rank is Private First Class (20 - 50 Reputation Level)Rich User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 10 h 49 m 8 sec
Reputation Power: 10
Quote:
Originally Posted by mike901
probably like a lot of others, the data in my database-driven site is my most valuable asset. has anyone used any encryption products or other stratetgies to disallow someone from simply copying and pasting the query results to be their own?

thanks,

Mike


Thats a tough situation. If you encrypt the output, the user wont be able to read it. If they can read it, they can copy it.

In a situation where there is truly a danger of your data being "farmed", there is no TRUE solution. Some may require a paid membership to do searches, others may limit the number of searches a user or IP address can do in a given time-period.

Alot of what you can do depends on how free you want the information to be available. If you require a free user account, with a valid email address to be registered, it may deter data farmers, but it may also deter real users.

Anyone else have a workable solution?

Reply With Quote
  #4  
Old April 24th, 2007, 05:13 AM
tkarkkainen's Avatar
tkarkkainen tkarkkainen is offline
Moderator
Click here for more information
 
Join Date: Apr 2007
Location: Finland
Posts: 2,310 tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)  Folding Points: 7832 Folding Title: Novice Folder
Time spent in forums: 6 Days 4 h 58 m 15 sec
Reputation Power: 4
The first post is vague, so I have to make some assumptions.

First, I'm going to assume that the data you want to protect is the actual content of your web site. Encrypting the content in the database is no good because it has to be decrypted before the user can read it. There are also these Javascript based HTML obfuscators but they're no good, one can make a copy of the original HTML source in less than a minute regardless of those.

As to requiring registration, either free or paid, that won't help too much either. All that is required is one account. Then the user simply makes a copy and redistributes it.

On the other hand, your purpose could be to protect data that is stored in a database but is not publicly visible on a web page. Customers' credit card information in a web shop could be a good example. For encryption to be necessary the data needs to be valuable enough for someone to try to steal it.

If you want more specific answers you really should tell us more about your situation.
__________________
Fight Internet censorship!

Code:
()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments

Reply With Quote
  #5  
Old August 13th, 2007, 02:50 PM
hammer65 hammer65 is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Aug 2007
Location: Nebraska
Posts: 55 hammer65 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 h 16 m 53 sec
Reputation Power: 1
If your concern is screen scrapers, there is a technique I have seen used that can at least make it difficult. It does involve javascript which can cause a problem if Javascript is disabled.

The technique involves using Javascript, either through DOM (perhaps even AJAX calls) or through simple document.write statements to write out the content. A server based scraper could not just read the HTML but would have to use complex regular expressions to parse out the data. if you changed the structure of the Javascript in any way, the scraping would fail.

If you look at it from the standpoint of the scraper. How would you do it? CUrl can read the page, but can't execute the Javascript. You can contol Mozilla (and IE on windows with Active X as an alt) through the command line, but even then you have to get the flattened DOM after the Javascipt is done changing it. Firebug will do that, but that isn't remotely controlable with any reasonable effort.

There's no gekko/firefox extension for PHP (I actually wish there was), or any other server side language AFAIK. Provided you don't mind using Javascript for printing the data out, it should work pretty well.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Applications > encrypting database driven pages


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five &quot;checkpoints&quot; for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway