McAfee MEJCAE-AM-DA Product Guide - Page 66

Creating PGParchives, E-Business Server supports.

Page 66 highlights

Encrypting and Decrypting Encrypting information ebs --encrypt --sda ... [--output ] [--conventional-passphrase ] Note: You can specify directories as input instead of filenames-the syntax would be ebs --encrypt --sda directory2>... The default name for the SDA is the name of the first file in the SDA. E-Business Server automatically appends a ".sda.exe" extension. For example, to generate a SDA containing the files c:\data.txt and c:\results.txt you would enter: ebs --encrypt --sda c:\data.txt c:\results.txt --output mysda.exe The resulting SDA file is mysda.exe. (If you created the file without specifying the output filename, the resulting file would be data.txt.sda.exe.) You can add the --discard-paths option to instruct E-Business Server to strip any relative path information from the list of files you want to include in the SDA. During decryption of the SDA, the files are placed in the current directory instead of in subdirectories of the current directory. For example: ebs --encrypt --sda --discard-paths foo/bar.txt abc/xyz.txt In this example, E-Business Server includes the files bar.txt and xyz.txt in the archive, but the file's relative paths are not included. When the archive is decrypted, both files are placed in the current directory and not in foo and abc subdirectories. Creating PGParchives You can use E-Business Server to create a PGParchive. PGParchives are similar to self-decrypting archives (SDAs) except that they are not Windows executables, which means that there is no practical limit to the size of a PGParchive. (SDAs cannot be larger than 4 GB.) PGParchives are usable on all platforms that E-Business Server supports. If you select this option, the file is conventionally encrypted using a passphrase that you are asked to choose. The resulting output file can be decrypted using the archive reader, which you can re-distribute freely. This option is especially convenient for users who are sending encrypted files to people who do not have E-Business Server software installed. To create a PGParchive, you simply add the --archive modifier to the --encrypt option. You must also specify the name of the input file. ebs --encrypt --archive Optionally, you can specify multiple input files, the name of the output file, and the passphrase you want to use for the conventional encryption. ebs --encrypt --archive ... [--output ] [--conventional-passphrase ] The default name for the PGParchive is the name of the first input file in the archive. E-Business Server automatically appends a ".pga" extension. For example, to generate a PGParchive containing the files c:\data.txt and c:\results.txt you would enter: ebs --encrypt --archive c:\data.txt c:\results.txt --output archive.txt The resulting archive file is archive.txt. (If you created the file without specifying the output filename, the resulting file would be data.txt.pga.) You can add the --discard-paths option to instruct E-Business Server to strip any path information from the list of files you want to include in the PGParchive. During decryption of the PGParchive, the files are placed in the current directory instead of in subdirectories of the current directory. For example: ebs --encrypt --archive --discard-paths foo/bar.txt abc/xyz.txt E-Business Server™ 8.6 Product Guide 64

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188

E-Business Server
8.6
Product Guide
64
Encrypting and Decrypting
Encrypting information
ebs --encrypt --sda <filename1> <filename2>... [--output <output_filename>]
[--conventional-passphrase <quoted-passphrase>]
Note:
You can specify directories as input instead of filenames—the syntax would be
ebs --encrypt --sda <directory1>
directory2>...
The default name for the SDA is the name of the first file in the SDA. E-Business Server automatically
appends a “
.sda.exe
” extension.
For example, to generate a SDA containing the files
c:\data.txt
and
c:\results.txt
you would enter:
ebs --encrypt --sda c:\data.txt c:\results.txt --output mysda.exe
The resulting SDA file is
mysda.exe
. (If you created the file without specifying the output filename, the
resulting file would be
data.txt.sda.exe
.)
You can add the
--discard-paths
option to instruct E-Business Server to strip any relative path information
from the list of files you want to include in the SDA. During decryption of the SDA, the files are placed in
the current directory instead of in subdirectories of the current directory.
For example:
ebs --encrypt --sda --discard-paths foo/bar.txt abc/xyz.txt
In this example, E-Business Server includes the files
bar.txt
and
xyz.txt
in the archive, but the file’s relative
paths are not included. When the archive is decrypted, both files are placed in the current directory and not
in
foo
and
abc
subdirectories.
Creating PGParchives
You can use E-Business Server to create a PGParchive. PGParchives are similar to self-decrypting archives
(SDAs) except that they are not Windows executables, which means that there is no practical limit to the
size of a PGParchive. (SDAs cannot be larger than 4 GB.) PGParchives are usable on all platforms that
E-Business Server supports.
If you select this option, the file is conventionally encrypted using a passphrase that you are asked to
choose. The resulting output file can be decrypted using the archive reader, which you can re-distribute
freely. This option is especially convenient for users who are sending encrypted files to people who do not
have E-Business Server software installed.
To create a PGParchive, you simply add the
--archive
modifier to the
--encrypt
option. You must also specify
the name of the input file.
ebs --encrypt --archive <filename>
Optionally, you can specify multiple input files, the name of the output file, and the passphrase you want to
use for the conventional encryption.
ebs --encrypt --archive <filename1> <filename2>... [--output <output_filename>]
[--conventional-passphrase <quoted-passphrase>]
The default name for the PGParchive is the name of the first input file in the archive. E-Business Server
automatically appends a “
.pga
” extension.
For example, to generate a PGParchive containing the files
c:\data.txt
and
c:\results.txt
you would enter:
ebs --encrypt --archive c:\data.txt c:\results.txt --output archive.txt
The resulting archive file is
archive.txt
. (If you created the file without specifying the output filename, the resulting file
would be
data.txt.pga
.)
You can add the
--discard-paths
option to instruct E-Business Server to strip any path information from the
list of files you want to include in the PGParchive. During decryption of the PGParchive, the files are placed
in the current directory instead of in subdirectories of the current directory.
For example:
ebs --encrypt --archive --discard-paths foo/bar.txt abc/xyz.txt