IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Secure Delivery of Zip files


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
raj_mainframe08

New User


Joined: 11 Sep 2007
Posts: 65
Location: Gurgaon

PostPosted: Tue Dec 15, 2009 4:25 pm
Reply with quote

I need to send an ZIP file email attachement. I know how to zip a file and how to email through JCL but is there any way such that I can use the Secure delivery feature of Outlook?
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Dec 15, 2009 4:34 pm
Reply with quote

I'm sure the answer lies within Outlook.
Back to top
View user's profile Send private message
raj_mainframe08

New User


Joined: 11 Sep 2007
Posts: 65
Location: Gurgaon

PostPosted: Tue Dec 15, 2009 4:45 pm
Reply with quote

What i am asking is is there any way such that I can use the Secure delivery feature of Outlook through JCL while sending the attachment? Appreciate if somebody knows the answer. Thanks
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Dec 15, 2009 4:49 pm
Reply with quote

Quote:
Secure delivery feature of Outlook


Quote:
Appreciate if somebody knows the answer. Thanks


Appreciate if You' d explain better the requirement

this is a mainframe related forum not a windoze one,
please explain what is the quoted feature

not everybody uses outlook, so You should not assume that everybody understands what You mean

looks more like a feature related to sending mails
no reason to expect any other mailing facility to have/support the same features as Outlook
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Dec 15, 2009 4:59 pm
Reply with quote

Google is your friend. Look at RFC 2821 and RFC 2822, which are the standards for emails. If there is no mention of your desired feature in these documents, what you want to do almost certainly cannot be done from the mainframe directly.

The way to ensure security on email is to encrypt the message (using any of the various methods available), then email it as an attachment to a message.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Dec 15, 2009 5:12 pm
Reply with quote

Maybe password protecting th zip file is a solution?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Dec 15, 2009 5:21 pm
Reply with quote

Password protection of a zip file doesn't add much security -- as shown by Googling "zip password recovery" and finding there's 11 million hits. If the o/p requirement comes from PCI or something similar, zip passwords do not meet the requirement.
Back to top
View user's profile Send private message
raj_mainframe08

New User


Joined: 11 Sep 2007
Posts: 65
Location: Gurgaon

PostPosted: Tue Dec 15, 2009 5:35 pm
Reply with quote

Well i am trying for the ZIP password protection but the report i am getting is not password protectec. Please advice if i am doing somethig wrong. Following is the code

Code:
//XMIT03   EXEC  PGM=IKJEFT01                                   
//SYSPROC  DD DSN=SYSUSER.TSO.COMMON.CLIST,DISP=SHR             
//STEPS    DD DSN=SS5482.G5482.STEPS4.DATA,DISP=SHR             
//SYSTSPRT DD SYSOUT=*                                         
//PA01FX   DD DSN=SS5482.G5482.PA01F.ZIP.DATA,DISP=SHR         
//ADDR     DD DSN=SS5482.G5482.S5482E20.ADDR.DATA,DISP=SHR     
//SYSTSIN  DD *                                                 
      %XMITIP * -                                               
       FROM (RAJIV_GARG@GMAIL.COM) -                           
       SUBJECT 'REPORT TEST' -                                 
       MSGDD STEPS           -                                 
       ADDRESSFILEDD ADDR    -                                 
       FILEDD  PA01FX        -                                 
       FORMAT   BIN/ZIP -                                       
       FILENAME ('FOSTER BENEFIT RESOURCES.ZIP')             - 
       ZIPPASS RAJIV                                           
/*                       

Where PA01FX is the zipped excel file.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Dec 15, 2009 5:40 pm
Reply with quote

Robert Sample wrote:
Password protection of a zip file doesn't add much security -- as shown by Googling "zip password recovery" and finding there's 11 million hits. If the o/p requirement comes from PCI or something similar, zip passwords do not meet the requirement.


Robert do we have different google's ?

"zip password recovery" gives me about 513.000 hits
zip password recovery gives me about 94.000.000 hits

Beside that all those tools offered do they really crack the
passwords? Im quite sceptic about that.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Dec 15, 2009 5:45 pm
Reply with quote

Quote:
"zip password recovery" gives me about 513.000 hits
zip password recovery gives me about 94.000.000 hits


Hi Peter!
using double quotes will search for the <exact> "sentence"
without it will search for each word anywhere in the document

the count difference is normal
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Dec 15, 2009 5:57 pm
Reply with quote

Hello Enrico,

i know all that stuff (using quotes and all). I was just wondering in what way Robert got 11.000.000 hits.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Dec 15, 2009 6:01 pm
Reply with quote

raj_mainframe08

Was the following dataset created with a password?

SS5482.G5482.PA01F.ZIP.DATA

Beside that i dont know if ZIPPASS RAJIV has anything to do with
%XMITIP or the zip process.

And btw thanks for the password, going to use that when im listening in your transmission.
Back to top
View user's profile Send private message
raj_mainframe08

New User


Joined: 11 Sep 2007
Posts: 65
Location: Gurgaon

PostPosted: Tue Dec 15, 2009 6:07 pm
Reply with quote

No. The dataset SS5482.G5482.PA01F.ZIP.DATA is a excel report in zip format. When we send this dataset using XMITIP, it the go as a zip file in which excel report is there.

ZIPPASS RAJIV

is a command where i want to apply password RAJIV to the zip file. But the file i am getting in email is getting opened without using any password
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Dec 15, 2009 6:11 pm
Reply with quote

Hi Peter!
sorry for my bad judgement,
I got around 11,000,000 hits too

the difference about choosing only english pages rather than default to all languages is irrelevant
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Dec 15, 2009 6:15 pm
Reply with quote

raj_mainframe08 wrote:
No. The dataset SS5482.G5482.PA01F.ZIP.DATA is a excel report in zip format. When we send this dataset using XMITIP, it the go as a zip file in which excel report is there.


Once again, was that dataset created (zipped) with a password
protection? If not you have to do that.
Back to top
View user's profile Send private message
raj_mainframe08

New User


Joined: 11 Sep 2007
Posts: 65
Location: Gurgaon

PostPosted: Tue Dec 15, 2009 6:22 pm
Reply with quote

Following is the code i am using to create the zip file. Please let me know how can i apply password then

Code:
//PKZIP01 EXEC PGM=PKZIP,REGION=0M,TIME=(50,00)                     
//INFILE   DD DSN=SS5482.G5482.PA01F.DATA,DISP=SHR                   
//OUTFILE  DD DSN=SS5482.G5482.PA01F.ZIP.DATA,DISP=(NEW,CATLG,KEEP),
//          DCB=(RECFM=FB,LRECL=400,BLKSIZE=4000),                   
//         UNIT=SYSDA,SPACE=(CYL,(100,100),RLSE)                     
//SYSIN    DD *
   -INDD(INFILE)       
    -ARCHOUTDD(OUTFILE) 
   -METHOD(MAXIMUM)     
//SYSPRINT DD SYSOUT=(,)                                             
//SYSOUT   DD SYSOUT=(,)                                             
//SYSUDUMP DD SYSOUT=(,)                                             
//*                                                                 
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Dec 15, 2009 6:25 pm
Reply with quote

–PASSWORD(<userpw>)

see : www.pkware.com/documents/manuals/PKMU-V5R5000.pdf
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Dec 15, 2009 6:26 pm
Reply with quote

I strongly recommend that sensitive matters like encryption should not rely on forum replies

they should be discussed with the proper organization hierarchy in order to apply the correct process
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Dec 15, 2009 6:32 pm
Reply with quote

Why is that Enrico? A lot of stuff is to be found about en/decryption on the internets and/or literature.
Asking for some solutions/procedures etc. is not that bad.
Implementing some things is another story, that would be left to
authorized people. But maybe the TS belongs to that.
Back to top
View user's profile Send private message
raj_mainframe08

New User


Joined: 11 Sep 2007
Posts: 65
Location: Gurgaon

PostPosted: Tue Dec 15, 2009 6:35 pm
Reply with quote

i am just trying to understand how can i create the password protected zip file and not giving the actual data. Whats the problem in that if i am not sharing any sensitve information?
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Dec 15, 2009 6:43 pm
Reply with quote

raj_mainframe08 wrote:
i am just trying to understand how can i create the password protected zip file and not giving the actual data. Whats the problem in that if i am not sharing any sensitve information?


Did you read my response and follow the link?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Dec 15, 2009 6:45 pm
Reply with quote

the main point I try to make is that people asking on forums just want a quick and dirty recipe for blind problem solving

I strongly believe that the main concern when replying to any question should be
on teaching people how to use the proper organization channels and apply the proper standards and practices


for example
what is the security level of the data being exchanged
who is responsible for the data
how are the passwords going to be exchanged
what is being done to secure the overall path of critical data

that' s why without knowing the whole shebang I advice against giving advice
the tools should have been already chosen and tested befor beyng deployed to the bottom of the chain
( if somebody is higher in the chain then he should not have the need to ask on a forum)
the command how to password protect a zip file should be the last concern


that' why I feel that security related issues should not be discussed on forums

giving a quick and dirty suggestion might agree with the spoon feeding approach , but in the long run will make people lose the organizational perspective

also one more note... people asking on the forums very seldom have the need to know icon_biggrin.gif
Back to top
View user's profile Send private message
raj_mainframe08

New User


Joined: 11 Sep 2007
Posts: 65
Location: Gurgaon

PostPosted: Tue Dec 15, 2009 7:29 pm
Reply with quote

Hi Peter,

Yes, i have tried your suggestion for creating the password protected zip file and successful in doinjg that. Really appreciate your help in this regard. Thanks [:d]
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts Joinkeys - 5 output files DFSORT/ICETOOL 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
Search our Forums:

Back to Top