Home > Ask the AS/400 Experts > Questions & Answers > DB2/400 field-level security
Ask The iSeries 400 Expert: Questions & Answers
EMAIL THIS

DB2/400 field-level security

Paul Jury EXPERT RESPONSE FROM: Paul Jury

Pose a Question
Other iSeries 400 Categories
Meet all iSeries 400 Experts
Become an Expert for this site
>
QUESTION POSED ON: 09 September 2003
I'm currently running V4R5 on a model 720. I'm using Crystal Report Writer and want to apply security in DB2/400 at the field level. For instance, I want departments to have access to their own payroll data, but no one else's. Is this possible?

>

There are two ways to restrict user update and read requests to specific fields of a physical database file:

Create a logical view of the physical file that includes only those fields to which you want your users to have access. See "Using logical files to secure data" for more information.

Or you could use the SQL GRANT statement to grant update authority to specific columns of an SQL table. See About DB2 UDB for iSeries SQL Programming Concepts for more information.

For more information about the GRANT and REVOKE statements themselves, see About DB2 UDB for iSeries SQL reference. One major limitation of this latter method is that field level security only works for SQL type accesses, and only for *CHANGE –- not for *READ.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: tips, tutorials and more.

Search400's targeted search engine: Get relevant information on security.

Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.

Check out this Search400.com Featured Topic: Top ten security tips


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



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



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



iSeries Networking - Printing, Remote Access, TCP/IP
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