Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 11 of 11
  1. #1
    New Coder
    Join Date
    Jan 2003
    Location
    Italy
    Posts
    57
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Protecting Images & Database in a CD

    Hi Everyone

    I have burned a run able CD with several Php and Javascript, I was able to protect all scripts codes, however, I would like to know if there is a way to protect images and database as well.
    I’ve tried to protect my database files and images, but the end results is, the scripts (php & Javascript) will not show protected data or images. Any suggestions on how to get around this problem.

  • #2
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,042
    Thanks
    0
    Thanked 251 Times in 247 Posts
    See the "Block source codes" link in my sig.

  • #3
    Senior Coder
    Join Date
    Feb 2004
    Location
    Edinburgh
    Posts
    1,352
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs down nope. nada. niet. non. nah: it's the same in any language

    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.

  • #4
    New Coder
    Join Date
    Jan 2003
    Location
    Italy
    Posts
    57
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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

  • #5
    Senior Coder
    Join Date
    Feb 2004
    Location
    Edinburgh
    Posts
    1,352
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #6
    New Coder
    Join Date
    Jan 2003
    Location
    Italy
    Posts
    57
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.
    Thanks

  • #7
    Senior Coder
    Join Date
    Feb 2004
    Location
    Edinburgh
    Posts
    1,352
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #8
    New Coder
    Join Date
    Jan 2003
    Location
    Italy
    Posts
    57
    Thanks
    0
    Thanked 0 Times in 0 Posts
    o.k. thanks, I will look into it, if I find something I will let you know.

  • #9
    Senior Coder
    Join Date
    Feb 2004
    Location
    Edinburgh
    Posts
    1,352
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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!

  • #10
    New Coder
    Join Date
    Jan 2003
    Location
    Italy
    Posts
    57
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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?

  • #11
    Senior Coder
    Join Date
    Feb 2004
    Location
    Edinburgh
    Posts
    1,352
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •