Results 1 to 6 of 6

Thread: Files\Folder in single file.

  1. #1

    Thread Starter
    Fanatic Member vijy's Avatar
    Join Date
    May 2007
    Location
    India
    Posts
    548

    Files\Folder in single file.

    I have developed a windows product which deals with conversion of files(PDF to XML/HTML/doc), which will create some folders and files in local for application use.Also i am maintaining mdb, and some customized configuration files for he conversion.

    These folders and files not needed to the user.But the application needs the same.

    So i thought of encrypting these folder and files in a single file.When application needed it has to decrypt the file and use it inside the application.

    Is there any third party or dot net component to do this.
    Visual Studio.net 2010
    If this post is useful, rate it


  2. #2
    Frenzied Member
    Join Date
    Nov 2005
    Posts
    1,834

    Re: Files\Folder in single file.

    What kind of files are they exactly? Executables and databases need to be extracted to the hard drive first before you can use them. The user can still access them when they are extracted to the hard drive.

    You can use DotNetZip (WinZip) to create a single file or create your own file archiver.

  3. #3
    PowerPoster dunfiddlin's Avatar
    Join Date
    Jun 2012
    Posts
    8,245

    Re: Files\Folder in single file.

    What objection do you have to the files being visible to the user? What application do you know of which seeks to hide working files away in this way?

  4. #4
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    14,206

    Re: Files\Folder in single file.

    Why do they need to be hidden?

    Unless there is some reason that these files really need to be hidden then it makes no sense to do so as it will make your code more complex and slow down your programs execution. If files need to be hidden from an average user there are many simple ways to do so, for example simply setting the Attribute flag to hidden will do it for most users.

  5. #5

    Thread Starter
    Fanatic Member vijy's Avatar
    Join Date
    May 2007
    Location
    India
    Posts
    548

    Re: Files\Folder in single file.

    Quote Originally Posted by Chris001 View Post
    What kind of files are they exactly? Executables and databases need to be extracted to the hard drive first before you can use them. The user can still access them when they are extracted to the hard drive.

    You can use DotNetZip (WinZip) to create a single file or create your own file archiver.
    The folder contains a mdb files,html files.. am maintaining an ini file inside for the application purpose. That all user dont want to read. so i try to make it by encrypting the things.
    Visual Studio.net 2010
    If this post is useful, rate it


  6. #6
    PowerPoster dunfiddlin's Avatar
    Join Date
    Jun 2012
    Posts
    8,245

    Re: Files\Folder in single file.

    That all user dont want to read.
    So, what's the problem? Nobody's forcing anyone to read them. Applications always come with many files that are of no great interest to the user (just look at Visual Studio itself!) By all means encrypt individual files if you think there's a security issue but don't waste time and effort on trying to keep hidden what clearly does not need to be hidden!

Posting Permissions

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



Click Here to Expand Forum to Full Width