Architecture / System Values

IBM i Security Levels and the QSECURITY System Value

For a current IBM i production system, the useful choice is level 40 or 50. Level 30 enforces resource authority but lacks the integrity protection IBM requires for a secure server. Level 20 is a historical setting, not a current choice.

Last verified

Choose the QSECURITY Level by the System You Run

30
Move UpResource authority works, but IBM i integrity protection is not active. Prepare the applications and move to 40 or 50.
40
Production MinimumUse this as the normal floor for a production server. It adds the operating system integrity checks missing at level 30.
50
Highest ProtectionUse this when the system needs the strongest integrity rules and the applications can run under the tighter checks.

What QSECURITY Actually Controls

QSECURITY controls resource authority and the operating system checks that protect IBM i from unsupported program behavior. Level 30 enforces resource authority. Levels 40 and 50 add the integrity checks that stop a program from reaching around those rules.

That difference matters. A system at level 30 can have a careful authority model and still lack the integrity protection built into levels 40 and 50.

The IBM i Security Levels

A QSECURITY change takes effect at the next initial program load. Test first, then make the change inside a maintenance window you chose.

LevelWhat It EnforcesOur Verdict
10No password required. Signing on with an unknown profile created one automatically.Gone. IBM removed support at V4R3. You cannot set it, and you would not want to.
20Password required to sign on. Every user profile is created with *ALLOBJ special authority by default.Historical only. Current IBM i documentation says you cannot set QSECURITY to level 20.
30Password required, and object authority is enforced. Users no longer receive *ALLOBJ automatically.The old default. Real authority enforcement, but the operating system will not defend its own integrity.
40Everything in level 30, plus operating system integrity protection. Programs cannot call unsupported interfaces or reach objects directly through pointer manipulation.The practical minimum, and the shipped default. If you are below this, start here.
50Everything in level 40, plus stricter validation of message handling and parameters passed between programs at different states.The right answer for high-assurance and heavily regulated environments. Test it properly before you enforce it.

The Level Is a Floor, Not a Program

Here is the part that gets skipped. Fortra's annual State of IBM i Security Study has found for years running that the average audited system is already at level 40, and that those same systems still carry default passwords on powerful profiles, far too many users holding *ALLOBJ, and exit points sitting wide open to FTP and ODBC.

So the level is not the finding. The level is the thing almost everybody already got right, which is exactly what makes it such a poor place to stop. Setting QSECURITY to 40 does not clean up your authority model, does not turn on audit journaling, and does not put a single control in front of a network connection. It sets the floor. What you build on the floor is the actual security program.

Moving Up a Level Without Breaking Production

The risk in raising the level is old code. A program that uses an unsupported interface can fail once the stronger integrity checks are active. IBM gives you a way to find much of that risk before the production change.

  1. Turn On Failure Auditing First

    Include *PGMFAIL and *AUTFAIL in QAUDLVL so IBM i records the failures that need attention.

  2. Run a Full Business Cycle

    Cover the work that runs monthly or quarterly so a quiet test week does not hide the program that will fail later.

  3. Raise the Level in Test

    Change the test partition, perform the IPL, and run the same applications and batch work used in production.

  4. Set the Production Rollback

    Name the owner, maintenance window, checks, and rollback decision before the production IPL begins.

The System Values That Matter as Much as the Level

QSECURITY gets the attention because it has a number attached to it. Several of its neighbours do more day-to-day work and are quietly left at defaults on a lot of systems.

QPWDLVLPassword level 0 to 3. Levels 2 and 3 allow long, case-sensitive passphrases instead of 10 characters.
QMAXSIGNHow many failed sign-on attempts before the profile or device is disabled.
QINACTITVInactive job timeout. Unattended 5250 sessions are a recurring audit finding.
QLMTSECOFRRestricts where *ALLOBJ and *SERVICE profiles are allowed to sign on.
QCRTAUTDefault public authority for newly created objects. Frequently still sitting at *CHANGE.
QALWOBJRSTControls whether objects with security-sensitive attributes can be restored.
QRETSVRSECWhether server security data, including credentials for other systems, is retained.
QSECURITYThe level itself. Requires an IPL before the change takes effect.

Menu Security Is Not Security

Limiting a user to an initial menu and setting LMTCPB(*YES) feels like a control, and for a long time it behaved like one. When a green screen was the only way onto the machine, the menu really was the boundary.

It is not the boundary now. ODBC, JDBC, FTP, DDM, remote command, and Access Client Solutions all reach the data without ever loading a menu. A user restricted to three options on a green screen can often pull the same files straight into a spreadsheet from their desk. Menu security is a usability feature that we kept describing as a security feature, and the space between those two descriptions is where a lot of shops are still exposed.

Check your level first, because it is quick and the answer is binary. Then treat that answer as the starting line. The exposures that turn up in real assessments live in authority management, exit points, and default passwords, not in the QSECURITY value.

Current IBM QSECURITY References

IBM's current documentation treats level 40 as the normal production floor and level 50 as the strongest choice. Use the migration instructions before the IPL instead of treating the number as a harmless setting.

Vendors Covering This Control

Fortra (Powertech)

Fortra's Powertech line (formerly HelpSystems, formerly PowerTech Group) is the longest-running dedicated IBM i security vendor and still the largest install base by most industry surveys, including its own annual State of IBM i Security Study. Powertech Multi-Factor Authentication, Authority Broker, Exit Point Manager, and Compliance Monitor are each strong standalone products.

Strengths

  • Largest install base among dedicated IBM i security vendors, with the deepest bench of IBM i-specific security expertise
  • Powertech Authority Broker is a mature, well-regarded privileged access / elevated-authority management product
  • Exit Point Manager provides granular network access control across FTP, ODBC, DDM, and remote command exit points
  • Publishes the annual State of IBM i Security Study, a widely cited independent-feeling data source (though vendor-funded)

Limitations

  • Product line grew through acquisition (PowerTech, Bytware, Robot, Vityl) and integration between modules is less unified than Precisely's single suite
  • Some legacy product UIs (Robot Console-adjacent tooling) show their age relative to newer competitors
  • Full stack pricing across MFA, Authority Broker, Exit Point Manager, and Compliance Monitor adds up for smaller shops

Best fit: Shops that specifically need best-in-class privileged access management (Authority Broker) or exit-point network control, and are comfortable managing several point products rather than one suite.

Precisely (Assure Security)

Precisely's Assure Security suite is the broadest single-vendor IBM i security platform on the market, spanning multi-factor authentication, encryption, compliance monitoring, and access control in one licensing family. It is the platform we point mid-size and enterprise IBM i shops to first when they need one vendor covering the most ground.

Strengths

  • Widest single-suite coverage: MFA, encryption, exit point control, and compliance monitoring under one console
  • Strong native IBM i journal-based monitoring with real-time SIEM forwarding (Splunk, QRadar, Sentinel)
  • Assure Encryption supports field-level and full-database encryption without application changes in most cases
  • Established install base and long IBM i-specific engineering history (originated from Townsend Security and Syncsort lineage)

Limitations

  • Suite pricing and licensing complexity increases as modules are added; full-suite cost is not the cheapest entry point
  • MFA client coverage for legacy green-screen sessions requires exit-point configuration that takes real implementation time
  • Reporting UI is functional but less modern than some newer point-solution dashboards

Best fit: Mid-size to enterprise IBM i shops that want one vendor for MFA, encryption, and compliance monitoring rather than stitching together point products.

Trinity Guard

Trinity Guard (TGSecure, TGAudit, TGDetect) is a smaller, IBM i-focused vendor built by veterans of the original PowerTech engineering team. Its products are priced aggressively and aimed at shops that want core compliance and threat-detection coverage without enterprise-suite overhead.

Strengths

  • Built by engineers with deep PowerTech/Powertech-era IBM i security experience
  • TGDetect provides real-time threat detection with behavior-based alerting on journal activity
  • Generally lower total cost of ownership than the two larger suite vendors
  • Responsive, IBM i-specialist support with a smaller, more accessible team

Limitations

  • Smaller company footprint means less bench depth for very large, multi-LPAR enterprise rollouts
  • Narrower third-party SIEM and integration ecosystem than Fortra or Precisely
  • Smaller analyst and public case-study presence makes independent verification of claims harder

Best fit: Cost-conscious mid-market shops that want solid compliance monitoring and threat detection without full enterprise-suite pricing.