Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 13 of 13
  1. #1
    Join Date
    Jul 2003
    Posts
    712

    EXAMPLE: Secure your source files

    Hello,

    This example demonstrates how to secure your source files (in this case image files) using a renamed and [potentially] password protected zip file.

    This example could be expanded to make use of the built-in Crypto actions as well.

    Skills Used: Rename files, temporary file, ZIP, security, Image Object, source files.
    Attached Files

  2. #2
    Join Date
    Feb 2007
    Posts
    4
    how you did that ? may u explain please ? as detailed as u can ? i wanna protect all data include html pages and .exe app ? are it possible to protect those item ?

  3. #3
    Join Date
    Jul 2003
    Posts
    712
    Well, it is possible -- sort of. You can protect the files up to the point that the user will see them -- but you still have to unprotect them (ie. unzip to a temp location) to allow the user to view.

    Protecting files is a loosing battle -- ultimately the user can "steal" anything that they can see on their screen (And even some things they can't). So the users that you are *Really* concerned about will probably be able to get your source files, regardless of the security you implement. And you risk inconveniencing legitimate users should something go wrong with your protection scheme.

    Desmond.

  4. #4
    Join Date
    Feb 2007
    Posts
    4
    what about just hide the "Autoplay" folder ? are it possible in ISO ?

  5. #5
    Join Date
    Jul 2003
    Posts
    712
    Well, if you built your project into an ISO, you couldn't run the application until you burnt that ISO image to a CD -- at that point, your files are once again visible.

    Perhaps if you explain what you're trying to do? Please include as much detail as possible.

    Desmond

  6. #6
    Join Date
    Feb 2007
    Posts
    4
    The project include app .exe html,pgf documents most of user's will run it on a virtual drive it's ok , but only things i want is at less hide the source folder , sure i do understand that is impossible to hide or protect the source folder from a hacker's , but only simple hide this folders will be enought for me , how I can did it ?

  7. #7
    Join Date
    Jul 2003
    Posts
    712
    What about if you publish to a single-file executable? How large are your source files?

  8. #8
    Join Date
    Feb 2007
    Posts
    4
    well executable is also good idea , 1 project is a 151mb second one will be nearly 700mb and am still workin on it .

  9. #9
    Join Date
    Oct 2006
    Posts
    209

    Smile sorry bit lazy....

    well guys i was working on one project how to protect your files.
    bit lazy i hop i'll share that file soon.

  10. #10
    Join Date
    Dec 2003
    Location
    The Netherlands
    Posts
    475
    Talking about security, time ago i wrote a library (EncryptDecrypt.dll) to protect valuable files one doesn't want to be copied or share. I use different approach. I do not compress them, i just encrypt them using a very simple yet effective encryption mechanism. After the file is encrypted it is practically useless. The file will retain the original file extension but if one attempts to open it with associated program it will be reported corrupted. My intentions were to encrypt image, audio and/or video files, yet one is not limited to these file extensions. The encryption decryption rates are 20 mb/sec (megabyte/sec) depending from the system. So for smaller files (image, mp3, etc) user will not notice anything. But at a certain point, in order to use the file it must be decrypted. Again if the file is decrypted at a "secret" location (temp or whatever folder) one can still maintain a higher level of security than usual.

    I have written another library, which "keeps an eye" on a given file/folder (location) and logs unauthorized activity, So if one creates/writes/deletes to a certain file it will be logged, yet not prevented. It is up to you what to do if the event is risen.

    These are different solutions for different scenarios to maintain certain level of security (higher than usual) on files and folders.

    This is my input in such things, yet the half of the whole thing. If ir (indigorose team) decides to do the other half (in certain subjects), we can achieve a bullet proof security.

    Example:
    If image object were to load an image from base64 string (very easy to develop such functionality) an photo, image etc "wouldn't touch the ground" to be first saved as (decrypted) file and then load in an image object.
    That would be also my suggestion:

    Image.LoadFromBase64String.

    So, here you have the images covered. And there we take it at the next level.

    Note: EncryptDecrypt.dll does not "encrypt" to base64. I just choose different approach.

    With Kind Regards
    sside

  11. #11
    Join Date
    Oct 2007
    Posts
    1
    Well sside post is interesting, but I cant use his method, because my concern is mostly with large files (such as video, mostly over 200 mb), so what I did was to present my program on a cd (or dvd) to the end user, I made my cd half audio and half data, my source folders are written through audio channel and my .exe through normal data channel.

    So the users cant see my source folders, I also have "locked" my cd, using dummy audio tracks and some other methods so if in any case they see my source files, it cant be copied from cd/dvd only could be read from it.

    Although I also believe that if a user is really concerned to get your source files, HE COULD ! but it would be just hard (or so hard some times), on the other hand, we mostly develop for ordinary ppl who are not so interested in spending hours writing a program to decipher the source file or track them back to temp folder or crack the cd !!

  12. #12
    Join Date
    Apr 2006
    Posts
    17

    Video

    Desmond, in your sample Secure your source files I have tried to use it for a video file but no luck. Do you have a sample with out the list box, single file?

    Kind regards
    CJ

  13. #13
    Join Date
    Jul 2007
    Posts
    1,512
    Desmond hi

    just a little question what about hard drive run apps isn't there away to make a new fold for the file to be run from on runtime what the end user would find harder to to find and also make the app take full contral of the files so how its
    running stop other apps from using it?

    i know this is not full proth ever but they would have to know the names
    of the files before they could even find the files to steal them if they was in a custom run place and even to fool them have dumby crypted files in the main temps.

    do you think this would be possable?

Similar Threads

  1. Use source sub-tree as destination sub-tree on multiple files
    By roofrack in forum Setup Factory 6.0
    Replies: 1
    Last Post: 08-27-2003, 07:17 AM
  2. Replies: 0
    Last Post: 06-22-2003, 06:47 AM
  3. INFO: Why Files are Renamed in the DATA Folder
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-24-2002, 03:36 PM
  4. HOWTO: Remove Files that were Installed by a Patch or Alternate Source
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 09-24-2002, 09:49 AM
  5. Changing source drive of the files
    By Richard Man in forum Setup Factory 5.0
    Replies: 3
    Last Post: 03-28-2001, 12:22 PM

Posting Permissions

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