Home > AS/400 Tips > iSeries administrator tips > Use caution when providing access to file shares
iSeries 400 Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ISERIES ADMINISTRATOR TIPS

Use caution when providing access to file shares


Carol Woodbury
10.14.2004
Rating: -4.70- (out of 5)


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



Carol Woodbury

File shares are what make a file system or a directory within a file system available to be accessed via your corporate network. File shares allow users to map a drive to the directory, making the directory appear as part of the PC directory structure when viewed from an interface such as Windows Explorer.

While a convenient way to share data throughout a corporation, defining shares can create serious security exposures if OS/400 object authority has not been utilized. For example, defining a read/write share for the root ('/') directory provides access via the corporate network to the entire directory structure that includes the QSYS.LIB file system -- better known as OS/400.

File shares are created using iSeries Navigator. Go to My Connections->iSeries_name->File Systems->Integrated File System. Right click on the directory or file you want to share. Choose Sharing.

Shares can be defined as read-only or read/write. Obviously, the more secure setting is read-only because -- as the name implies -- users can only read the data that is being shared on the network and not update it. However, whether the share is defined as read-only or read/write, OS/400 security has the final word. For example, if a read-only share is defined for a directory and Carol is excluded from the directory, she will not be able to see the contents of the directory.

More Information

To see the existing shares, click on File Shares under File Systems in iSeries Navigator. Right click on a share and choose Properties to see whether the share is read-only or read/write. When viewing directories or files via iSeries Navigator, existing shares are indicated by a hand underneath the directory or file name. See Figure 1.

Figure 1: The hand under the Root directory indicates that a share has been defined. The shares defined on this system are shown on the right.

Because file shares can literally make your entire system available to your corporate network, you want to control the creation of file shares. To do this, control the users that have authority to the QZLSADFS (Add file share) and QZLSCHFS (change file share) APIs. Change the *PUBLIC authority of these APIs to *PUBLIC(*EXCLUDE) and grant *USE authority to the individuals or group(s) that should be able to create or change file shares.

To remove file shares from users' view, use Application Administration. One feature of Application Administration lets you remove features users see when they launch iSeries Navigator. (Note, the function is still there -- they just can't see it. This is truly a case of "security by obscurity." While not the most robust, it works for some users.) To use Application Administration, open iSeries Navigator and right click on the iSeries system name. Choose Application Administration. See Figure 2.

Figure 2: Configuring file share access via Application Administration

Scroll down until you see the File share entry. Uncheck the "Default Access" box and your general user community will not be able to view the file shares on your system. Uncheck the "All Object Access" box and your *ALLOBJ users will not be able to see the file shares. Highlight the File share entry and press Customize. Figure 3 shows how you can allow specific users or groups to view the file share function in iSeries Navigator.

Figure 3: Customizing a user or groups' ability to see file shares through iSeries Navigator

-----------------------------------
About the author: Carol Woodbury is co-founder of SkyView Partners, LLC, a firm specializing in security consulting, services and assessment software. Carol is the former Chief Security Architect for AS/400 for IBM in Rochester, Minn., and has specialized in security architecture, design and consulting for over 14 years. Carol speaks around the world on a variety of security topics and is co-author of the book, Experts' Guide to OS/400 and i5/OS Security.


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.


Submit a Tip




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



RELATED CONTENT
iSeries administrator tips
Researching high availability for your System i shop
Translating Linux for IBM i admins: Using GUI to make it easy
Translating Linux for IBM i admins: Working with jobs and networking
OpenOffice: What to know before making the transition from Microsoft Office
OpenOffice: An enterprise open source solution
Database performance comparisons on IBM i
Translating Linux for IBM i admins: User profile commands
Modern System i reports using Client Access
Tips for installing Lotus Domino server on a System i partition
The iSeries Blog has a new home on IT Knowledge Exchange

Systems Management
Can you trust all those trigger programs?
Are your backups complete?
Controlling remote command processing
Watch your profiles
Avoid locking issues
Send message to users at a remote site
Security journal receiver management
Top 10 backup commands
Create an iSeries Access image and update it with the latest Service Pack
Tracking critical file access in real time

OS/400
Top 10 backup commands
Take control of your iSeries
How to save time using the CPYTOPCD and CPYFRMPCD commands
Top Q&A's on the OS/400
Top 10 security tips
How to set up an autostart job
How does Sarbanes-Oxley affect you?
Automated disaster recovery revisited
Top 10 Administrator Tips
User profile exit points make administrators' lives easier

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