Focal Point
[CLOSED]WebFocus - Business Views and Security (User Access)

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/7137051486

October 06, 2016, 04:01 PM
Thomas Raspberry
[CLOSED]WebFocus - Business Views and Security (User Access)
Hi WebFocus friends,
I got exposed to Webfocus over 6 months ago and I would like to start making Business Views. I believe I know how I can make Business Views on my own through App Studio. Although I have problem understanding how the security (different user access) will be applied to different "folders" under Business Views.

Can anybody share some documentation regarding Business Views and applying user access on them?
I will be greatly appreciated,
Sincerely,
Thomas

This message has been edited. Last edited by: <Emily McAllister>,


WebFOCUS 8.201
October 07, 2016, 07:52 AM
MartinY
Read:
DBA Security


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
October 07, 2016, 01:22 PM
Thomas Raspberry
Thank You Martin for the link.
To be more specific My institution created User Groups in WebFocus which we use to limit user's view for reports and such.
Although when I follow the the Link, you have to create a new user? What about users/groups we already created under WebFocus Security Console?
Or maybe I do not follow properly the documentation?

Thanks WebFocus Fans for help!


WebFOCUS 8.201
October 07, 2016, 01:44 PM
MartinY
You don't need to create new users. Those that exist may be used.

It's just that you have to type the user id yourself, there is no way (as far as I know) to make a selection from a list of existing users.

Make a copy of one of your master then try to create DBA on that copy first.


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
October 07, 2016, 02:58 PM
Thomas Raspberry
Thanks MartinY for replying.
Yes, I can create DBA and users, but what it is a purpose of that since it cannot limit access to folders? Meaning, by using DBA/USERS I can only limit Field restrictions. What about set restrictions based on the folder? I just do not understand why what is the purpose of Business Views since you cannot limit the access to them by each folder...


WebFOCUS 8.201
October 07, 2016, 03:01 PM
Thomas Raspberry
Screenshot of the Business View


WebFOCUS 8.201
October 07, 2016, 03:20 PM
MartinY
A Folder restriction it's a SEGMENT restriction.


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
October 11, 2016, 04:28 PM
eric.woerle
Thomas,

my few cents....

1st, if you are on any version after 8.0.08M, then upgrade to the latest 8.1.05 gen. Somewhere after 8.0.08 there is a bug in the SQL adapter in how the SQL is created when dealing with Business Views and DBA security. It got fixed in gen 913 I believe (I know because I found it). on to your actual question.

Folders are considered virtual segments. So wherever the documentation refers to segments, you can interchangeably use folder.

Using groups to restrict your data. You can base your DBA security based on groups but to do so you will need to create an MFD profile. In your MFD profile you can use the variable &FOCSECGROUPS (this grabs your WebFOCUS group assignments for a user. This became available in 8.0.09) to identify all of the groups that a person belongs to. You will need to write a short procedure to parse the value and then set the "password" to the desired value

 SET PASS = 'GROUPA'
-- or you can set a permanent password that cannot be changed during the session
SET PERMPASS = 'NON_SHALL_PASS' 


This "password" relates to the User in the DBA security. This is how you can restrict entire groups and not need to create a rule for every user individually.

This is an excerpt from the help file that Martin pointed you towards:

quote:
Restrictions: Segment, Field, Value, Noprint, Same
When the file access is selected, continue to select the type of restriction you wish to apply.
Choose Segment to grant access to all or individual segments.
Choose Field to grant access to all or individual fields.
Choose Value to limit access to values that meet a test condition. See Restricting Access to Segments, Fields, Field Values, and Noprint.
Choose Noprint to specify fields you do not want to display in a report.
Choose Same to apply the same restrictions as other users that are already set up.


Going back to what I said above, Folders are virtual segments. By putting your folder name as the restricted segment, you can restrict entire folders from users.

I hope this helps in your building of DBA security.


Eric Woerle
8.1.05M Gen 913- Reporting Server Unix
8.1.05 Client Unix
Oracle 11.2.0.2