View Full Version : Protecting Images & Database in a CD
06-11-2004, 11:12 AM
06-11-2004, 11:19 AM
See the "Block source codes" link in my sig. :D
you could always compile them into bytecode. however, the images would still be save-able via the browser when decompiled and viewed.
so ... er ... in answer to your question. no, i doubt it very much. that's just life. any tech can be gotten round.
06-11-2004, 12:03 PM
I've looked at the Block source codes but that doesn't explain much, I was able to protect my source code, I'm interested in protecting a database that is in txt and js format, I would also like to protect my images.
example of database I'm using in txt format.
Adam|Rosalind x Lady Cilento|2 Days|yes|Adam.jpg
you can't protect your images. it's not possible. the user can still get them.
similarly with your sourcecode/JS DB. even if these are compliled into DLLs, they can still be decompiled.
there's nothing you can do to be 100% safe. you can only hinder the amateurs, not the professionals.
06-11-2004, 01:28 PM
;) o.k. I understand that anything and everything can be decompiled or cracked. can you tell me which program I could use to convert js database in dll.
not sure. have been wondering that myself.
probably use VB, but there's prolly some free compliling tool out there. you can always use an evaluation copy of VB or Delphi or something.
i believe, once compliled into a DLL you have to refer to the resource using the res:// protocol. you can find out about that by refering to HTAs on MSDN. one caveat is that this may only work in IE.
sorry i can't be more specific, but it's something i need to know too.
06-11-2004, 01:49 PM
o.k. thanks, I will look into it, if I find something I will let you know.
cheers, that would be really appreciated.
hope it works out for you. the thing with web dev there's always an obscure workaround. likewise there are obscure workarounds for those too. cat and mouse!
06-11-2004, 02:30 PM
Hi Itís me again
I was thinking of another approach, to protect my images and database, Hope I can explain this well enough since Iím not that good in writing English.
I have a program (HTML PROTECTOR) that will allows protect my source code, at the same time it can protect a folder with a password, here are my thoughts, what if the password is encrypted in php and JS , will that work?? What are your opinions. If this can be done, can someone help?
if you can code PHP then you could look into PHP-GDK and use the Zend enocder to compile your app.
you could even develop the application using applets or Java-Swing. of course, you prolly don't have time to learn a high-level language like Java, so the PHP route might be best.
the HTML encoder you're talking of is rubbish. All it does is add extra characters to the HTML which can easily be stripped out using search and replace in any text editor. as for the password protection, that sounds like nonsense too.
Java would be ideal. but PHP-GDK might be the quickest route. it's all a matter of time, money and coding preference ultimately.
hope that helps :thumbsup:
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.