Home > AS/400 Tips > iSeries administrator tips > Stop storing hidden data in V5R1 PC5250 macros
iSeries 400 Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ISERIES ADMINISTRATOR TIPS

Stop storing hidden data in V5R1 PC5250 macros


Joe Hertvik
10.31.2001
Rating: -3.20- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


PC5250 macros are great in that you can automate repetitive OS/400 green-screen functions for speed and accuracy. But the weak spot with pre-V5R1 PC5250 macros has always been that, out of necessity, hidden data -- such as passwords and other confidential information that are recorded when a macro is created -- is stored in the macro file as unprotected viewable text. This leads to a security hole in that macro variables in PC5250 .MAC files can easily be listed or brought into text editors, and unauthorized users can discover OS/400 user IDs, passwords and other sensitive information just by scanning PC5250 macros. This is not a good situation.

IBM has recognized this vulnerability and issued a new macro security setting with the PC5250 program that comes with Client Access Express for Windows V5R1. This setting isn't available in the PC5250 GUI; it is activated by manually entering a new parameter in PC5250's workstation profile. That setting prevents the recording and storage of hidden data, including passwords, in new macro files. To activate the feature, perform the following steps:

1. Using a text editor, open the workstation profile (the .ws file) that your V5R1 PC5250 program uses for emulation configuration.

2. Look for the keyboard stanza section in the file. The keyboard stanza is a series of settings that tell PC5250 how to process keyboard input. These statements are found directly underneath the '[Keyboard]' literal in the file.

3. Under the [Keyboard] stanza, add the following line to your .ws file:

HideNonDisplayDataOnRecord=Yes

4. Save the file.

For all new macros created after modifying the.ws file with this setting, V5R1 PC5250 will no longer store or playback macro data that was entered in hidden fields as the macro was recorded. When it comes time to enter a hidden value on playback--such as a password, bank account number, or other non-displayed sensitive information--the macro will stop and wait for the user to enter the hidden data before it continues processing. It's important to understand that IBM doesn?t encrypt the hidden data in the macro with this setting; it doesn't record it at all. The result is that your automated macros now become semi-automated, where a user must attend to the playback and enter sensitive information as the macro requires it.

This fix is available only with V5R1 PC5250, and it is not included with any earlier Client Access versions. You should also remember that adding the new .WS file setting doesn't modify any existing macros that contain viewable sensitive information. It works only with newly created macros, and existing macros will continue to feed stored hidden data into input fields upon playback. Hidden data will still be sitting unprotected in pre-V5R1 macro files, so if you implement this fix, I recommend that you also delete and re-record your existing macros to remove this vulnerability from your total installation. If you do this, it will help shore up existing PC5250 security issues and protect hidden data from prying eyes.

-------------------------------
About the author: Joe Hertvik is an editor for Midrange Server and an IT consultant and freelance writer who specializes in middleware, network infrastructure, and iSeries and AS/400 issues. Joe can be reached at jhertvik@midrangeserver.com.

========================
MORE INFORMATION
========================


Rate this Tip
To rate tips, you must be a member of Search400.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Implementation
Getting modules to adopt authorities from the main program
iSeries i5/OS: Top 10 Q&As
iSeries i5/OS: Top 10 Q&As
Using the SPLF0200 format in QUSLSPL API
New option within the WRKSYSACT command
Identify files used in all queries
Security Tools can help manage your system security
Client Access Express password cache
Check constraint allows database admins to sleep a bit better at night
See the users with *change or *all authority
Implementation Research

Performance
Will overloaded discs impact iSeries performance?
Extend storage capacity on an IBM i without negatively effecting system performance
Database drivers on the i: MySQL vs. IBM Toolbox
Performance tuning for IBM i: The basics and beyond
IBM releases new Power products for the midrange
Top System i admin tips for 2006
Catholic Charities keeps track of homeless with iSeries
i5 error messages: What you need to know
IBM races for clock speed
System shutting down after cleanup

iSeries system performance and monitoring
Analyze the health of your IBM i server with iScore
Translating Linux for IBM i admins: Working with jobs and networking
Database performance comparisons on IBM i
How to: Monitoring job activity on the AS/400
Performance tuning for IBM i: The basics and beyond
How to: Reduce the percentage of ASP used on the AS/400
Detecting system changes made by outside IP address
AS/400 system values quiz
Checking on System i disk space requires creating a new command: XRTVSYSSTS
Drive space management commands

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
AS/400  (Search400.com)
i5/OS  (Search400.com)
iSeries  (Search400.com)
OS/400  (Search400.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



iSeries Security - Security Tools, Physical Security and System Security
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts