home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Amiga 3 / MA_Cover_3.iso / www / ctools / www.ctools.pp.se / ftp / sfdata06.lha / SafeData / private-startup next >
Encoding:
Text File  |  1996-12-01  |  1.9 KB  |  63 lines

  1. ;                              _
  2. ;                           _ //    
  3. ; SafeData version 0.6 for  \X/ AMIGA
  4. ; SafeData version 0.6 Copyright 1992 Bahman Moallem
  5. ; All Rights Reserved Worldwide
  6. ;
  7. ; Sample configuration file for SafeData.
  8. ; You can, and are advised to pack this file.
  9. ; Available switches:
  10. ; ProcessIndicator  Yes/No              (Default is Yes)
  11. ; ShowFileName      Yes/No              (Default is Yes)
  12. ; ReAskPassword     Yes/No              (Default is No)
  13. ; OverWrite         Yes/No              (Default is Yes)
  14. ;
  15. ; Available commands:
  16. ; Encrypter         "4 characters word" (Default is IDEA)
  17. ;
  18. ; Execute           "CMD"               (AmigaDOS executable file/script to execute)
  19. ; Echo              "String"            (String to display)
  20. ; Encrypt           FROM TO
  21. ; Encrypt encrypts the file specified with the FROM argument to the file
  22. ; specified by the TO argument.
  23. ; Code, Update and Pack are aliases for the Encrypt command.
  24. ;
  25. ; Decrypt           FROM TO
  26. ; Decrypt decrypts the file specified with the FROM argument to the file
  27. ; specified by the TO argument.
  28. ; DeCode, Restore and Unpack are aliases for the Decrypt command.
  29. ;
  30.  
  31. ProcessIndicator No
  32. ShowFileName     No
  33. OverWrite        Yes
  34.  
  35. Echo             Creating directory RAM:TEST1
  36. Execute          Makedir RAM:TEST1
  37.  
  38. ; One linefeed
  39. Echo
  40.  
  41. Echo             Encrypting S:Startup-sequence to RAM:TEST1/File1.encrypted
  42. Encrypt          S:Startup-sequence RAM:TEST1/File1.encrypted
  43.  
  44. ; One linefeed
  45. Echo
  46.  
  47. ; Turn on the ProcessIndicator
  48. ProcessIndicator Yes
  49. Echo             Decrypting RAM:TEST1/File1.encrypted to RAM:File1.decrypted
  50. Decrypt          RAM:TEST1/File1.encrypted RAM:File1.decrypted
  51.  
  52. ; One linefeed
  53. Echo
  54.  
  55. Decrypt          RAM:TEST1/File1.encrypted RAM:File1.decrypted
  56.  
  57. ; Now we turn off the OverWrite flag.
  58. ; OverWrite        No
  59. ; The following command will fail because RAM:File1.decrypted already exists
  60. ; Decrypt          RAM:TEST1/File1.encrypted RAM:File1.decrypted
  61.