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:
Chris Radcliffe
Past 24 Hours:
0
Prev. 24 Hours:
1
Overall:
5187
People Online:
Visitors:
320
Members:
1
Total:
321
Online Now:
Ari
New Topics
Lawson Landmark
LPL INSTR Functions
4/5/2024 8:32 PM
I'm writing a simple report using the Create R
Infor SCM
Translating 856 to get the ~ REF^CN^ field
4/3/2024 8:24 PM
We are trying to get the tracking number which is
IPA/ProcessFlow
Sample XML file create Flow
4/3/2024 3:43 PM
Hello everyone, I am new to creating XML files
Lawson S3 HR/Payroll/Benefits
bn105 error message
3/26/2024 6:40 PM
I need to change some of the set ups in our Life I
IPA/ProcessFlow
IPA executing Job
3/13/2024 7:08 PM
New to the IPA world and was wondering, can an IPA
Lawson S3 HR/Payroll/Benefits
Life Age Reduction on benefits plans
3/12/2024 7:15 PM
For our optional life we have an age based coverag
Lawson S3 HR/Payroll/Benefits
BN53.1 Add-In
3/7/2024 3:31 PM
We are migrating to Solstice. They require a
Lawson Business Intelligence/Reporting/Crystal
Domain Name Change
3/5/2024 7:45 PM
Our domain name needs to change and was hoping I c
S3 Customization/Development
Cobol calling Shell Script
2/29/2024 1:27 PM
Has anyone created or modified a Lawson Cobol prog
Infor ION
ION vs IPA
2/29/2024 1:24 AM
We had a person new to Lawson and Infor go to Info
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3288
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1348
Roger French
1311
mark.cook
1244
Forums
Unanswered
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
S3 Security
LS9 ESS security and Servlet calls
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
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
Senior Member
Posts: 3348
8/18/2010 3:40 PM
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
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
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
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
From a command line, What is returned by
lawsec
?
Lien
Basic Member
Posts: 6
8/19/2010 9:40 PM
security is on: Lawson Security Is On.
John Henley
Senior Member
Posts: 3348
8/20/2010 12:03 PM
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
Yes, I am testing on DEV. Here is the servlet call
https://servername/servle...;&OUT=XML%20HTTP/1.1
John Henley
Senior Member
Posts: 3348
8/20/2010 12:48 PM
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
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.
You are not authorized to post a reply.