Announcement

Collapse
No announcement yet.

Encrypt CD or password protection

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Encrypt CD or password protection

    Hi, my project has archives pdf, desire to encrypt the CD to avoid copies, somebody knows of method to protect the copy of the CD.

    Thanks

  • #2
    Re: Encrypt CD or password protection

    Hey Lepinski!
    I zip them with WinZip and use a password. Now there are some here that would say NO!!! LOL but the new WinZip 9.0 uses some nasty encryption. (From their site) http://www.winzip.com/whatsnew90.htm

    ¨ WinZip 9.0 supports 128- and 256-bit key AES encryption, which provide much greater cryptographic security than the traditional Zip 2.0 encryption method used in earlier versions of WinZip.
    WinZip 9.0's advanced encryption (FIPS-197 certified) uses the Rijndael cryptographic algorithm which, in 2001, was specified by the National Institute of Standards and Technology (NIST) in Federal Information Processing Standards (FIPS) Publication 197 as the Advanced Encryption Standard (AES).
    After a three-year competition, the AES was announced by NIST as an approved encryption technique for use by the U.S. government, private businesses, and individuals. When properly implemented as a key component of an overall security protocol, the AES permits a very high degree of cryptographic security, yet is fast and efficient in operation.¨
    B.T.W. It's free [img]/ubbthreads/images/icons/wink.gif[/img]

    Then just call the file you want in a mouse click event:

    %ZipPW% = "yourpassword"
    ZipFile.Extract ( "%SrcDir%\youzipfile.zip", "*.*", "C:\temp")
    File.Execute ("%SrcDir%\Acrobat\AcroRd32.exe", ""C:\temp\your.pdf"", Wait)

    This is assuming you would have Acrobat on the CD for your end user. Then just kill the temp file C:\temp on page close event! Like this:

    File.Delete ("C:\temp\*.*")
    Folder.Remove ("C:\temp")

    Any other ideas anyone?

    Comment


    • #3
      Re: Encrypt CD or password protection


      This is assuming you would have Acrobat on the CD for your end user. Then just kill the temp file C:\temp on page close event! Like this:

      File.Delete ("C:\temp\*.*")
      Folder.Remove ("C:\temp")
      I would probably try to avoid removing this folder just in case the folder exists before you used it. I have a C:\temp and would not like to have it removed by a program. Now if you created a folder C:\Program Files\My AMS App\Temp and unzipped your files there and then wanted to remove the directory tree go ahead. Clean up is a good thing, I hate having files floating around my system that I don't want to have.

      Tigg
      TJ-Tigger
      "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
      "Draco dormiens nunquam titillandus."
      Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

      Comment


      • #4
        Re: Encrypt CD or password protection

        Good point!

        Comment


        • #5
          Re: Encrypt CD or password protection

          Thanks

          Comment


          • #6
            Re: Encrypt CD or password protection

            Yes, their data were good, thanks.
            now, if I close autorun, and I have an opened file, the folder and the file is in the computer, since I do so that autorun verifies that acrobat has been closed before closing autorun?

            I am a new user, until now I am knowing AMS 4.0

            Thanks

            Comment


            • #7
              Re: Encrypt CD or password protection

              this is a very good solution, but when I use encrypt of 128 or 256 in winzip 9, the file presents/displays errors, somebody has an idea?

              Thanks

              Comment


              • #8
                Re: Encrypt CD or password protection

                I finding the same thing... I'll poke at it for a bit.

                Comment


                • #9
                  Re: Encrypt CD or password protection

                  I'm finding the same thing... I'll poke at it for a bit.

                  Comment


                  • #10
                    Re: Encrypt CD or password protection

                    Unless I'm mistaken, I don't think the zip library that AutoPlay uses has support for the new encryption method. (How could it, since it was built before WinZip 9?)

                    If you use a long enough password, the old method was pretty darn secure as it was.
                    --[[ Indigo Rose Software Developer ]]

                    Comment


                    • #11
                      Re: Encrypt CD or password protection

                      Maybe in the next upgrade?

                      Comment


                      • #12
                        Re: Encrypt CD or password protection

                        AMS verifies that program (acrobat, powerpoint, etc) has been closed before closing autorun?

                        Comment


                        • #13
                          Re: Encrypt CD or password protection

                          Are you passing the Zip password in the command line? I've been trying to figure out how to do this.

                          Comment


                          • #14
                            Re: Encrypt CD or password protection

                            this works for my :

                            Folder.Create ("C:\foldertemp")
                            %ZipPW%="password"
                            ZipFile.Extract ( "%SrcDir\namezipfile.zip", "*.*", "c:\foldertemp")
                            File.Open (open, "C:\foldertemp\namepdffile.pdf")

                            Comment

                            Working...
                            X