Studio 5000 Source Protection — Step-by-Step

Prerequisites (One-Time Per Workstation)

The Configure Source Protection menu item is not visible by default in Studio 5000. You have to enable it first.

  1. Locate or download RS5KSrcPtc.exe (the Source Protection Tool) from Rockwell's PCDC / Compatibility & Downloads site, or find it in your Studio 5000 installation media under a Tools folder
  2. Close Studio 5000 if it's open
  3. Run RS5KSrcPtc.exe as Administrator → select Enable → OK
  4. Reopen Studio 5000 — you should now see Tools → Security → Configure Source Protection

This is a per-workstation registry toggle. Any machine that needs to apply or unlock source protection has to go through this step once.


Step 1 — Create the Source Key File (sk.dat)

The sk.dat file is the keyring that holds all your source keys. Treat it like a password vault — whoever has it can unlock the protected logic.

  1. Open your offline project (.ACD) in Logix Designer
  2. Go to Tools → Security → Configure Source Protection
  3. If no sk.dat file is configured, you'll be prompted to specify a location → click Yes
  4. Browse to a folder where the file will live (recommend a secure, backed-up location — not the project folder, and not on a customer-bound deliverable)
  5. If sk.dat doesn't exist there yet, you'll be prompted to create one → click Yes

You should now be in the Source Protection Configuration dialog showing all routines and AOIs in the project.


Step 2 — Apply Source Key Protection to Routines / AOIs

  1. In the Source Protection Configuration dialog, select the routine or AOI you want to protect
  2. Click Protect
  3. In the Protect dialog:
    • Protection Type: Source Key
    • New Source Key: enter a strong key (case-sensitive; special characters allowed: @#$%(){}[])
    • Confirm New Source Key: re-enter
    • Source Key Name (optional but recommended): a friendly label like Serlixer_AOI_Master — this is what shows in the dialog instead of the raw key
    • Allow viewing of components (read-only) checkbox:
      • UNCHECKED = logic is fully hidden (cannot view or edit) ← use this for IP protection
      • CHECKED = logic is visible but read-only ← use this if customer needs to troubleshoot
  4. Click OK
  5. Repeat for every routine and AOI you want to protect
  6. Close the Source Protection Configuration dialog
  7. Save the project

Step 3 — Verify the Lock Works

Before deploying anything to the field, prove it actually locked:

  1. Save and close the project
  2. Move the sk.dat file out of its configured location (rename it or move it to a different folder)
  3. Reopen the .ACD project
  4. Try to expand the protected routine/AOI in the controller organizer — you should see no access to Logic or Tags, and the icon should indicate it's protected
  5. Try to export the protected routine to L5X — confirm the export file is encrypted, not human-readable
  6. Restore the sk.dat to its location and confirm full access is back

This verification step matters. It's the only way to know your customer can't read what you intended to hide.


Step 4 — Download to Controller

Once protection is applied and verified:

  1. Go online and download as you normally would
  2. The protected components are stored in the controller in encrypted form
  3. Anyone uploading the project from the controller will get the protected .ACD — but without the matching source key in their sk.dat, they cannot view or edit the protected routines/AOIs

Best Practices for an SI IP Protection Workflow

Key Management

  • Use a single master sk.dat stored in a controlled location (Bitwarden, encrypted share, etc.) — never deliver it to the customer
  • Use different source keys per customer or per project family so a leak doesn't compromise everything
  • Use the Source Key Name feature so engineers see friendly labels, not raw keys, when working in the dialog
  • Back up the sk.dat redundantly — if you lose it, the protected logic is unrecoverable

 

Quick Reference — Menu Path Summary

Action Path
Enable feature on workstation Run RS5KSrcPtc.exe → Enable
Configure protection Tools → Security → Configure Source Protection
Specify sk.dat location Source Protection Configuration → Specify
Apply key Select component → Protect → Source Key
Remove protection (with key) Select component → Unprotect

 

Article Details

Article ID:
24
Category:
Rating :