Home Private Messages Search
CPG Dragonfly™ CMS Dedicated Server & Bandwidth Sponsored by DedicatedNOW
Toggle Content
 
Forums ⇒ CMS (All) ⇒ Security :: Archives ⇒ How to prevent copying of my news? :: Archived


How to prevent copying of my news? :: Archived
Post any security related questions in here.
Please send discovered reports to security @ cpgnuke.com
Do Not post links to exploits or hacker sites - your post will be edited/deleted.
If you think you've been hacked, FIRST go through your server logs.

Go to page Previous  1, 2
Post new topic    Revive this topic    Printer Friendly Page     Forum Index ⇒  Security

Topic Archived View previous topic :: View next topic  
Author Message
Q-tech
Newbie
Newbie

Offline Offline
Joined: Aug 04, 2005
Posts: 33
Location: Bulgaria
PostPosted: Tue Aug 09, 2005 1:03 pm
Post subject: Re: How to prevent copying of my news?

Notice the difference between - parsing, showing and storing/retrieving the information!

News for sure might be stored in the database as well as pictures (a script can convert them after they're entered). The only drawback is that you'll have to make general modifications in the code.

I've got another crazy idea about all this, but it needs more testing (not sure what will happen with the reader's eyes Smile ).

Encode/decode letters! Make an alphabet of images, then send them as separate to the browser. You loose kerning and the output code will be tremendous (that's where gzip encoding comes in handy Smile ) but combined with previous ideas (no refferes and using cookies, images send thru php and gif animations) it might become unbreakable.
A PHP script and a html file should be autogenerated along with news, so that they hold news' text (to avoid DB quieries) and a function to retrieve letters. And ofcourse a caching engine (such as eaccelerator) has to be installed/enabled serverside! This also depends on browser caching algorithm - whether it uses their names for identification.

Prelimitary calculations:
example letter tag:
Code::
<img src="/e/n123456.php?l=1234"></img>
1 letter = 30 bytes code
example letter gif:
1 letter (50 frames x 20 bytes each ) = 1k data
example text:
1 page (4000 letters) = 120 k uncompressed code and 4 mb not cached data.

Well, also about 4000 server quieries per page but that could generally be reduced if you group data on words, sentences or even paragraphs.

Also, php script could be avoided if you manage to encrypt letters/words names with a random key each time (or hidden data) and decode them somehow in .htaccess or with javascript.

Another way is to parse all this with a java applet and show it to the user as separate gif images.

If I had more freetime I could make a demo for all of this, but for now - you'll have to satisfy with the ideas only. Big grin

_________________
Wise man - believes half of what he reads. Genius - knows which half to believe.

-- Benny Hill


Q-tech's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Slackware 9.1 Current/Apache 2.05/MySQL 4.1.12/PHP 5.04/Dragonfly 9.0.6.1
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ⇒  Security
Page 2 of 2
All times are GMT
Go to page Previous  1, 2

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.
 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

lesa meira...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy