Manage Learn to apply best practices and optimize your operations.

Set the IFS security

My company has programs (run from the green screen) that generate IFS files. I need to provide authority for the clerk running the program to create these files, but I do not want her to be able to access or view the results via iSeries Access or IFS File Shares. Is there some way I can set the IFS security so the manager can access the files from her PC applications (Word, Excel, etc.), but none of the clerks can?
You can try the following:

To create an object into a directory, you need *W, so try giving the clerks DTAAUT(*W) and OBJAUT(*NONE) to the directory into which the files are being created.

To read a file, the manager will need at least *X to the directory and *RX to the file itself. So the manager will need these authorities.

The problem is the clerk is going to own the file (even if you specify to have the group own newly created objects, objects created into the IFS ignore this user profile setting and the user creating the object owns it. So you will need some process to sweep the directory and change the ownership of these objects. If you are running V5R3, you may be able to take advantage of one of the new file system exit points that allows you to have a program called when objects are created into a directory. You may be able to use this program to immediately change the ownership. Otherwise, you will have to have a process that runs hourly or nightly, etc.


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

Visit the ITKnowledge Exchange and get answers to your security questions fast.

Dig Deeper on iSeries system and application security

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.