Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     DBA security and chained variables

Read-Only Read-Only Topic
Go
Search
Notify
Tools
DBA security and chained variables
 Login/Join
 
Platinum Member
posted
DBA security and chained variables.

I am trying to use DBA security on the car db. This is running as a self service app. There are 3 drop down variables COUNTRY, CAR, and MODEL that are chained together. The variables are dynamically populated from the car db. I would like for the values that appear in the drop downs to be controlled by the dba security. How do I set the user value before the html page runs?

SET USER = EDAUSER2
TABLE FILE CAR
SUM SALES
BY COUNTRY
BY CAR
BY MODEL
END

DBA security:
END
DBA=IBI,$
USER=EDAUSER ,ACCESS=R, $
USER=EDAUSER1 ,ACCESS=R, RESTRICT=VALUE, NAME=ORIGIN,
VALUE=COUNTRY EQ 'ENGLAND' ,$
NAME=COMP,
VALUE=CAR EQ 'JAGUAR',$
NAME=CARREC,
VALUE=MODEL EQ 'V12XKE AUTO',$
USER=EDAUSER2 ,ACCESS=R, RESTRICT=VALUE, NAME=ORIGIN,
VALUE=COUNTRY EQ 'FRANCE' OR 'ITALY' ,$
USER=EDAUSER3 ,ACCESS=R, RESTRICT=VALUE, NAME=ORIGIN,
VALUE=COUNTRY EQ 'W GERMANY' OR 'JAPAN' ,$


WF 8 version 8.2.04. Windows.
In focus since 1990.
 
Posts: 189 | Location: pgh pa | Registered: October 06, 2004Report This Post
Expert
posted Hide Post
I think it is more important that the focexec you are eventually running against the secure file be governed by the DBA password. With that said, this is what I would do:

1. Write a focexec to populate the chained boxes, put the DBA password in it, and encrypt this focexec.

2. Reference the fex in #1 when setting up the controls in the HTML painter.

3. Put a text box on the launch page to prompt for the DBA password.

4. In the report focexec, set the DBA password to the variable you are prompting for in #3.

To my mind, it doesn't matter (it might to you) if the dropdowns get populated; just that the focexec won't run unless the user knows the DBA password.

Make sense?


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Platinum Member
posted Hide Post
Ginny - I’m trying your suggestions.


WF 8 version 8.2.04. Windows.
In focus since 1990.
 
Posts: 189 | Location: pgh pa | Registered: October 06, 2004Report This Post
Virtuoso
posted Hide Post
An other solution might be that you create a table with the loginid and the usercode.
create an include fex that reads the usercode and sets the password.

I can post that fex if you want.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     DBA security and chained variables

Copyright © 1996-2020 Information Builders