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     Restrict WFClient from accessing all folders in apps

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Restrict WFClient from accessing all folders in apps
 Login/Join
 
Master
posted
I want to restrict the WFClient from accessing the folders in apps. It should get the procedures from only that folder.

ie., we have folders like ibisamp, test. The request comes from WFClient1 should hit only ibisamp and WFClient2 should hit only test.

How we can restrict the WFClient? Any thoughts about it, please let me know

Thanks


WFConsultant

WF 8105M on Win7/Tomcat
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Report This Post
Virtuoso
posted Hide Post
Kamesh

If you have 2 clients, you could use EDASPROF in conjuction with the _site_profile for each client.

Have 3 application directories:
default
dev
test

In EDASPROF you have:
APP PATH default.

In the default directory you have client1.fex and client2.fex.

client1.fex contains:
APP APPENDPATH dev
-RUN

client2.fex contains:
APP APPENDPATH test
-RUN

In your WFClient1 set _site_profile to:
-INCLUDE CLIENT1\n

In your WFClient2 set -site_profile to:
-INCLUDE CLIENT2\n

As I only have one WF client here, I haven't been able to test this, but I do use EDASPROF and _site_profile, so I know those work.


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
Master
posted Hide Post
Thanks Alan, it sounds like solves my issue. Let me try this and let you know.


WFConsultant

WF 8105M on Win7/Tomcat
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Report This Post
Master
posted Hide Post
Hi Alan,
Tried it but it didn't work as I wanted.

Steps I did,

1. Add the APP PATH in WFClient cgivar.wfs file.
2. Commented the APP PATH in edasprof.prf file.
3. Restarted the server.

What happens in webfocus, by default it's taking the file from the directory where it finds first and then it applies the APP PATH command whatever we are mentioning in cgivar.wfs file.

Am I missing something here, Please let me know.

Thanks


WFConsultant

WF 8105M on Win7/Tomcat
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Report This Post
Master
posted Hide Post
Kamesh,

I believe what he is saying is something like this.

create 2 focexec and put them in baseapp
1. wfclient1.fex - in there set app path to what you want.
2. wfclient2.fex - in there set app path to what you want.

modify site.wfs not cgivars.wfs on each of the wfcleints.

in site.fex on wfclient1 add
_site_profile = -INCLUDE wfcleint1.fex

in site.fex on wfclient2 add
_site_profile = -INCLUDE wfcleint2.fex

Hope this helps




Scott

 
Posts: 865 | Registered: May 24, 2004Report This Post
Virtuoso
posted Hide Post
Kamesh

Make sure that you use the:
ibi\WebFOCUSnn\clientnn\wfc\etc\cgivars.wfs

If you follow what I did and use an -INCLUDE rather than trying to add the code directly, it will work. I have never had a success in putting code directly into the _site_profile.

So you need a PATH in EDASPROF to pick up the files you will -INCLUDE. The -INCLUDE fex will then set the path you want, don't forget the -RUN after the APP command.


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
Virtuoso
posted Hide Post
Kamesh,
Thinking about it, did you have

APP PATH mypath\n-RUN

in _site_profile.

The reason I have problems is that I need to do a lot more in _site_profile than just set a path. The -RUN is essential.


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
Master
posted Hide Post
Thanks Alan,Your suggestion works great.
Thanks TexasStingray for your inputs.

Have a good long weekend


WFConsultant

WF 8105M on Win7/Tomcat
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Report This Post
Virtuoso
posted Hide Post
TS

Your right of course, site.wfs is the place to set _site_profile, I was following Kamesh when he mentioned cgivars, which is, of course, where the admin console changes it.

When I say I have problems, it is that my profile is, oh, somewhere in the region of 200 lines, and it became more than messy.

I find the -INCLUDE more than satisfactory. Additionally, I do find if I change site.wfs, I sometimes have to reboot to get the changes to be applied, whereas I can change the -INCLUDEd file on the fly with no issues.


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report 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     Restrict WFClient from accessing all folders in apps

Copyright © 1996-2020 Information Builders