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     [SOLVED] Security using APP PATH

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Security using APP PATH
 Login/Join
 
Guru
posted
I am trying to set some security using the APP PATH Command based on the MRE user logged.

 -* GET THE USERLOGGED IN AND THE USER LEVEL
-TYPE USERLOGGED IN IS &MREUSER
-SET &CHARLEVEL= EDIT(&MREUSER,'$$$$9');
-TYPE ACCESS LEVEL IS &CHARLEVEL

TABLE FILE MYFILE
PRINT MYFIELD
WHERE READLIMIT EQ 10
ON TABLE HOLD AS H1
END
-RUN
-*SET THE APP PATH BASED ON THE LEVEL
APP PATH APP01

-* TRY DOING TABLE FILE AFTER THE LOCK
TABLE FILE MYFILE
PRINT MYFIELD
WHERE READLIMIT EQ 10
ON TABLE HOLD AS H2
END
-RUN 


I was really hoping to see it execute the first request but fail on the second but looks like it did not change anything by looking at the messages..
USERLOGGED IN IS blah1
ACCESS LEVEL IS 1
0 NUMBER OF RECORDS IN TABLE= 10 LINES= 10
0 NUMBER OF RECORDS IN TABLE= 10 LINES= 10


Please advise..I need to able to force the users to look at specific app folders so they can only see that metadata and nothing else.

This message has been edited. Last edited by: Kerry,


-********************
Sandbox: 8206.10
Dev: 8201M
Prod:8009
-********************
 
Posts: 289 | Location: Houston,TX | Registered: June 11, 2004Report This Post
Expert
posted Hide Post
Could you add APP SHOWPATH after the APP PATH, so you can see what the path is.

I assume APP01 exists.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Guru
posted Hide Post
It does exist but, the problem is I am getting the baseapp at all times which I don't want. I would really like to keep it to one folder per user.

Any ideas?
 
Posts: 289 | Location: Houston,TX | Registered: June 11, 2004Report This Post
Expert
posted Hide Post
Please see my comments in this post.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Virtuoso
posted Hide Post
vaayu-

The command
WHENCE MYFILE MASTER
placed just before TABLE MYFILE ...
will reveal where the copy that Table uses is located.
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Guru
posted Hide Post
@j.gross
Very neat..
 
Posts: 289 | Location: Houston,TX | Registered: June 11, 2004Report This Post
Gold member
posted Hide Post
Would an APP PREPENDPATH xxxx be searched before baseapp or still afterwards?


WebFOCUS 7.7.05M, gen 144, Windows 2008 Server R2 64-bit, Tomcat 6.0.33, IIS 7.0, SQL Server, Excel 2013, PDF, HTML, FOCUS files.
 
Posts: 88 | Location: Seattle | Registered: March 29, 2007Report This Post
Expert
posted Hide Post
To check the order of the APP Paths, use APP SHOWPATH.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 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     [SOLVED] Security using APP PATH

Copyright © 1996-2020 Information Builders