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

Username, Password hard coded


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

New User


Joined: 26 Feb 2006
Posts: 3
Location: DC

PostPosted: Thu Aug 04, 2011 2:00 am
Reply with quote

Hi! I would like to know how to handle the situation if a COBOL SPROC has username and password hard coded, these Stored procs are for FTP jobs.. Since this a security violation, we would like to change them, do you know how to proceed with this?
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Thu Aug 04, 2011 2:52 am
Reply with quote

Depending on the submitter, a small Assembler sub-program, which obtains the submitting USERID from the ACEE (via control block traversing) and then issues a RACINIT Macro, will return an RC=00 or a non-00 RC.

As far as passwords in the clear, this is a clear security violation.

It certainly wouldn't pass the "smell" test in my shop.... icon_eek.gif

Bill
Back to top
View user's profile Send private message
anilgkumar

New User


Joined: 26 Feb 2006
Posts: 3
Location: DC

PostPosted: Thu Aug 04, 2011 3:30 am
Reply with quote

Thanks Bill for the quick reply.

I am not familiar with Assembler.Is there any otherway to handle this?

Also, I forgot to mention the user from the front end asp page will trigger the FTP file to download thru the COBOL stored procedure inturn will create a JCL to download/ftp the file.
Back to top
View user's profile Send private message
nevilh

Active User


Joined: 01 Sep 2006
Posts: 262

PostPosted: Thu Aug 04, 2011 4:24 pm
Reply with quote

I would think the way forward would be to define the user (in RACF) to use PASSTICKET processing this would be the way to make the system security compliant. IBM supply a program (PTKTGEN) that can be called and will generate the Passticket . The problem is if the system is not already using PASSTICKET then the RACF environment would have to be set up accordingly.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Thu Aug 04, 2011 5:08 pm
Reply with quote

Nevilh,

Great suggestion!

Regards,

Bill
Back to top
View user's profile Send private message
anilgkumar

New User


Joined: 26 Feb 2006
Posts: 3
Location: DC

PostPosted: Thu Aug 04, 2011 7:14 pm
Reply with quote

Thanks nevilh, I will try this and will let you all know.
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Fri Aug 05, 2011 5:24 am
Reply with quote

Why, exactly, is the username and password needed?
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts EZT program to build a flat file with... All Other Mainframe Topics 9
No new posts Need help to resolve a hard edit COBOL Programming 8
This topic is locked: you cannot edit posts or make replies. Need help to resolve a hard edit COBOL Programming 4
No new posts Can EATTR be coded in an IMS COBOL pgm? IMS DB/DC 1
No new posts FTP - connect with certificate, no pa... JCL & VSAM 1
Search our Forums:


Back to Top