Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Infor / Lawson Platforms
S3 Security
LS9 ESS security and Servlet calls
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
John Bonin
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5270
People Online:
Visitors:
326
Members:
0
Total:
326
Online Now:
New Topics
Lawson S3 Procurement
Tolerance Settings
3/31/2025 2:01 PM
I've been trying to set a tolerance for some t
Dealing with Lawson / Infor
Printing Solutions other than MHC
3/27/2025 1:00 PM
What are others using for printing solutions besid
Lawson S3 Procurement
Green check marks in Lawson 9.0.1
3/20/2025 4:55 PM
Hi, How to remove green check mark on items when o
Lawson S3 HR/Payroll/Benefits
Pay Rate History to Show All Positions
2/26/2025 3:34 PM
Does anyone know how to modify payratehistory.htm
Infor CloudSuite
How to build a Pre-Prod tenant
2/7/2025 1:28 AM
After we finished our implementation and ended our
Lawson S3 Procurement
Browser issue with RQC Shopping
1/28/2025 5:49 PM
Since the recent Chrome/Edge updates, our RQC shop
Lawson S3 Procurement
S3-Procurement New Company
1/22/2025 10:38 PM
My Accounting Department has created a new Company
S3 Customization/Development
JUSTIFIED RIGHT
1/15/2025 7:41 PM
Is there a way in Lawson COBOL to make a character
S3 Systems Administration
ADFS certificate - new cert
12/3/2024 9:38 PM
The certificates on the windows boxes expired and
Lawson S3 HR/Payroll/Benefits
Post Tax Benefit Plan Table
11/14/2024 9:16 PM
Hi, totally new to Laswon. I have a repor
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3291
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1375
Roger French
1315
mark.cook
1244
Forums
Filtered Topics
Unanswered
Unresolved
Announcements
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Infor / Lawson Platforms
S3 Security
LS9 ESS security and Servlet calls
Please
login
to post a reply.
10 Replies
0
Subscribed to this topic
16 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Lien
Basic Member
Posts: 6
8/18/2010 3:25 PM
Hi, we are on LS9 and came across an issue where an ESS employee can view another employee’s personal information through a servlet call. The employee uses a debugging tool to get the URL then substitute their employee ID with someone else’s. We’ve tried to lock down all the HR, PA, PR, etc. related tables and forms with conditional rules. But we are still able to return sensitive data using the servlet call.
Tried with this rule:
if(user.getCompany()==table.COMPANY&&user.getEmployeeId()==form.EMP_EMPLOYEE)
'A,M,D,'
else
'ALL_ACCESS,'
Then tried with this rule:
if(trim(table.EMPLOYEE)==user.getEmployeeId())
'A,C, D, I,'
else
'NO_ACCESS,'
The only form that seems to be working with the second rule is for PA67, no other forms or tables seem to be working. Has anyone experience this? Any help will be much appreciated.
John Henley
Posts: 3351
8/18/2010 3:40 PM
Split
Hi Lien. I'm assuming you have fired the (devious) employee using a debugging tool!
I notice that you have mixed table.COMPANY and form.EMP_EMPLOYEE -- was that intentional?
Lien
Basic Member
Posts: 6
8/18/2010 4:37 PM
Split
Hi John, I actually got this from one of the postings and wanted to try it. At this point...I am lost :-(
Jimmy Chiu
Veteran Member
Posts: 641
8/19/2010 2:32 PM
Split
Your first rule will give either "A,M,D" access or "ALL ACCESS", so it's no good.
Try something like this under "files" / "HR" / "EMPLOYEE/PAEMPLOYEE" table
if(user.getCompany()==lztrim(table.COMPANY)&&user.getEmployeeId()==lztrim(table.EMPLOYEE))
'ALL_ACCESS'
else
'NO_ACCESS'
Lien
Basic Member
Posts: 6
8/19/2010 3:44 PM
Split
Hi Jimmy, I just tried it and I can still see the return data.
Greg Moeller
Veteran Member
Posts: 1498
8/19/2010 9:06 PM
Split
From a command line, What is returned by
lawsec
?
Lien
Basic Member
Posts: 6
8/19/2010 9:40 PM
Split
security is on: Lawson Security Is On.
John Henley
Posts: 3351
8/20/2010 12:03 PM
Split
You probably have another class/role that is overruling this one. I'm assuming you aren't actually testing as that user, but rather as a test user assigned to the same roles. Easiest way to trouble shoot is to turn on debug for that test user and then look at lase logs, which will show which rule granted access.
Also, what is the specific servlet call that is used?=
Lien
Basic Member
Posts: 6
8/20/2010 12:37 PM
Split
Yes, I am testing on DEV. Here is the servlet call
https://servername/servle...ET1&SELECT=EMPLOYEE=
&OUT=XML%20HTTP/1.1
John Henley
Posts: 3351
8/20/2010 12:48 PM
Split
You would need to add the rule that was added for EMPLOYEE/PAEMPLOYEE to apply to all tables you want to protect, including PRRATEHIST.
Lien
Basic Member
Posts: 6
8/20/2010 1:28 PM
Split
Yes, I added the rule to all the forms that we wanted to protect and all tables like BENEFICRY, BENEFIT, EMPLOYEE, HRDEPBEN, PAEMPLOYEE, PRRATEHIST, TAEMPTRANS, etc. I will turn on the debug and see if I see anything.
Please
login
to post a reply.