Public pages in authenticated application (NTLM)

I've been using a custome authentication method based on the NTLM Authentication method documented in the [white paper|http://www.oracle.com/technology/products/database/application_express/pdf/apex_ntlm_authentication_wp.pdf] for a while now with no problems.
This basically does the following 2 steps:
1) Standard NTLM Auth
2) Check returned user ID exists in a seperate table containing valid users
I've recently been working on an application where the bulk of the application is restricted to users with relevant permissions to edit the data. However there needs to be a public search facility open to anyone.
I was assuming that I'd be able to do this by just setting the authentication of the relevant page to "Page is Public", however this has presented a problem.
When I run the app as a user which passes both steps above (ie. auth succeeds), everything works fine.
However when I run as a user which fails step 2 above (auth fails) the public page loads fine, but whenever anything is posted I get an error like
Expecting p_company or wwv_flow_company cookie to contain security group id of application owner.
Error ERR-7621 Could not determine workspace for application (:) on application accept. Also this problem only rears it's head in IE (tried in 7&8), everything works fine in Firefox.
Also I've created a seperate application with just the public page (and the application set to use the DATABASE auth (i.e. no auth)) and this works fine.
This is fine as a workaround in this one instance, but i suspect there is likely to be call for similar public pages in other applications, and I don't want to have to create seperate apps for these unless I really have to.
Anyone any ideas about what the cause of the problem may be, or even pointers about where to look?

Try Page properties, Security tab, Authentication setting. It has values: Page requires authentication (default) / page is public. Havent tried though..
Just tried. it works. i manually changed page address in address line like http://something.lt:7777/pls/htmldb/f?p=103:19:3411287399936455. The user connected is "nobody". Public page is page 19.
Simas
Message was edited by:
SimAkas

Similar Messages

  • Public page asking for authentication

    Hi there,
    I have three pages in my application (aside from the login page) that are publicly accessible; ie, they have the 'Authentication' field in the page attributes set to 'Page Is Public'. Two of the pages work fine; they are accessible to unauthenticated users and display without hindrance. However, the third page always displays the login page instead of the page itself.
    There are differences between the way the pages are referred to. For example, setting pages' caches to be cleared, so I have tried using URLs with these components being the same and still get different behaviour. Also, they differ in setting variables in the URL so again, I have tried both setting variables and not in both the working and non-working pages and always get different behaviour.
    This is most strange behaviour; I have, within the same application, pages which should work the same way but don't. I would create a test case but the test case already exists within the application (the working public pages) and doesn't cause a problem.
    What reason could there be that one page set to be publicly accessible works fine with unauthenticated users but another page asks for authentication?
    Thanks,
    Robert

    Hi Dimitri,
    There's been a misunderstanding here. I don't use caching. What I mentioned was regarding the ClearCache component of Apex URLs (the 6th component.) Any pages listed in this component will have their item values cleared. This is distinct from Apex's rendering cache which appears to be what you're referring to.
    The issue is to do with different authentication behaviour in pages with the same settings.
    Regards,
    Robert

  • How To Call asp page in j2me application.....?

    Hi friends...
    I m Developing small application on j2me to call asp page on j2me .
    I Dont know how shoud i call this page into j2me .is there any setting we have do in it?
    Plz anyone know plz tell me its urgent...
    i tried but it will give 401 file not found error
    Thnks and Regards
    Shri K

    Hi Alekh,
    To turn off authentication you must create and make current a No Login Authentication authentication scheme.
    or change Page / Security / Authentication as "Page is Public"
    Regards,
    Benz

  • Loading web pages from an application

    Hi All
    I've tried hunting on this web site for info about how to show an html page from an application. Unfortunatley I couldnt find anything.
    So how do I fire up a web browser, and load in a specified web page?
    I can get a URL pointing to a file on my system ie File:c:/MyDoc/Help.htm, but am unsure what I need to do next.
    Any advice welcome.
    Cheers

    From an applet? - I assume this is a java web app ...
    import java.awt.*;
    import java.awt.event.*;
    import java.net.*;   
    public class URLCheckBox extends java.applet.Applet implements ItemListener {
       Choice chqbx = new Choice();
       Label lblOutput, lblfalse;
       URL url; 
       public void init() {
           this.setLayout(new FlowLayout());
                   chqbx.addItem("URL link to ..."); // add URL names here eg: www.yahoo.com/
           chqbx.addItemListener(this);
           setFont(new Font("Arial", 0, 18));
           setForeground(new java.awt.Color(255,255,55));
           setBackground(new java.awt.Color(95,100,215));
           lblOutput = new Label("Link to other web pages: ");
           add   (lblOutput);
           add(chqbx_MMedia);
           chqbx_MMedia.setForeground(new java.awt.Color(210,210,255));
           chqbx_MMedia.setBackground(new java.awt.Color(50,50,95)); 
       public void paint(Graphics g) { // this just makes it look pretty!
          g.drawRect(2,2,216,196);
          g.setColor(Color.white);
          g.drawRect(4,4,212,192);
          g.setColor(Color.blue);
          g.drawRect(6,6,208,188);
          g.setColor(Color.white);
          g.drawRect(8,8,204,184);
          g.setColor(Color.gray);
          g.drawRect(10,10,200,180);
       public void itemStateChanged(ItemEvent e) {
           String URLstr = "http://";
           String selection;
           selection = (String)chqbx.getSelectedItem();
           String urlText =  URLstr + selection";
              try {
                 url = new URL(urlText);        
                 getAppletContext().showDocument(url);
              catch(MalformedURLException ignore){ }
    }

  • Session 0 (Zero) and public pages

    Hi APEX gurus,
    I have some difficulties with public pages and session 0 in combination with Tabs.
    The problem occur when i click on some of my Tabs. For some reason the session 0 is replaces with the proper session id. This only happens for some Tabs. When i go back to the previous Tab, session 0 i back i the URL...
    I have tried to replicate this problem in a new application but I'm not able to reproduse this behavior :(
    I use APEX version 3.2.1.00.12 and I only use one level of Tabs.
    Can anybody give me a hint or clue to how I can debug this problem?
    Best Regards
    Trond

    Some time ago, probably at the time of apex version 3.0 or even before, i had a similar issue.
    Session zero makes sense if you are trying to get a stable URL that can be indexed optimally by search bots.
    If you have a similar requirement, then it makes sense to change tab templates and replace javascript doSubmits with links containing session zero, because that will enable spiders to drill down your application, which would be impossible in the other way, unless there are additional links somewhere else in the page.
    You will achieve the twofold result of stabilizing the indexed URLs and also make session zero more persistent for the user.
    Flavio
    http://oraclequirks.blogspot.com

  • How to use tab to link to other page in other application

    Hi all,
    I noticed that tabs does not have the option URL for the Target. It only has current page.
    Is it possible to link a tab to a page in another application in the same workspace?
    Thanks.
    Allen

    Hi Allen,
    Lists are more useful and flexible in that case, you can apply a tab template on them.
    Out of the box, tabs don't allow you to navigate to url's like you want to do. What you can do, navigate to a page in your current app and have in the header a redirect to the other app.
    Make sure you transfer your session (and authentication) to the other app, otherwise you need to login again.
    Regards,
    Dimitri
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/
    http://www.apexblogs.info/

  • Using apex url to link to a page in another application

    hi all.
    i have 5 applications based on same schema in a single workspace. now i intent to have a single page with 5 button from where i will call all those 5 applications' home pages.
    i used following syntax for URL Target on a button to check it but it didnt work.
              f?p=102:101:&APP_SESSION.
      i can very easily to a page in same application (offcourse) but i want to ask that can we link to a page which is in another application in same workspace
    bundles of thanks in advance.

    Check out this link
    http://apps2fusion.com/at/64-kr/413-maintaining-authentication-between-apex-applications

  • How to disable login page in an application

    how to disable login page in an application

    Hi Alekh,
    To turn off authentication you must create and make current a No Login Authentication authentication scheme.
    or change Page / Security / Authentication as "Page is Public"
    Regards,
    Benz

  • How to create multiple pages using flex application.

    Hi all,
    i am doing flex application which contains 5 different
    pages,
    to do this i have used viewstack component to navigate
    between the pages.
    this is working fine if all my pages are of same size. each
    page as different background image.
    but i have to create pages with different sizes.
    my first and second page are small and remaining pages are
    big.
    when i navigate to 3rd or 4th page, it is showing scrollbar
    inside swf.
    but i want scrollbar for browser window not inside my swf
    anyone please guide me how to create pages in flex
    application.
    i have one more doubt, if my page contains some html links ,
    how to open those links,
    is it posible to open the link in new window.
    please help me , i have no idea how to create web
    applications using flex
    Thanks in advance
    regards
    avanthika

    Hi inlineblue,
    Thanks for your reply,
    you asked about sample code,
    following is my sample code.
    In my Application mxml file, i am loading all custom
    components for each page.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns="*"
    horizontalAlign="center" verticalAlign="top"
    styleName="plain"
    backgroundColor="#FFFFFF"
    creationComplete="init()" width="780" height="594" >
    <mx:Script>
    <![CDATA[
    //navigating to next page
    public function showNextStep(newIndx:int):void{
    vs.selectedIndex=newIndx;
    //navigating to previous page
    public function showPreviousStep(newIndx):void{
    vs.selectedIndex=newIndx
    ]]>
    </mx:Script>
    <mx:ViewStack id="vs" paddingLeft="0" height="100%"
    width="100%" >
    <mx:Canvas id="s1" label="step1"
    backgroundImage="assets/Step1.jpg" >
    <!-- Step1.jpg image size is width=778, height=560 -->
    <mx:HBox paddingLeft="8" width="780" height="548">
    </mx:HBox>
    <mx:Button alpha="0" buttonMode="true" x="697" y="18"
    click="showNextStep(1)" width="72" height="24" />
    <mx:Button alpha="0" buttonMode="true" x="697" y="508"
    width="72" click="showNextStep(1)" height="24"/>
    </mx:Canvas>
    <step2 id="s2" label="Step2" hideEffect="{blurImage}"
    showEffect="{unblurImage}" />
    <step3 id="s3" label="Step3" hideEffect="{blurImage}"
    showEffect="{unblurImage}" />
    <step4 id="s4" label="Step4" hideEffect="{blurImage}"
    showEffect="{unblurImage}" />
    <step5 id="s5" label="Step5" hideEffect="{blurImage}"
    showEffect="{unblurImage}" />
    </mx:ViewStack>
    </mx:Application>
    // following is the page2 (step2) component code
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    creationComplete="init()"
    backgroundImage="assets/Step2.jpg" width="778" height="600"
    >
    <!-- Step2.jpg image size is width=778, height=600 -->
    <mx:HBox horizontalAlign="left" paddingLeft="5"
    height="511" width="768">
    </mx:HBox>
    <mx:Button alpha="0" buttonMode="true" x="648" y="6"
    click="this.parentApplication.showPreviousStep(0)" width="61"
    height="24"/>
    <mx:Button alpha="0" buttonMode="true" x="711" y="6"
    click="this.parentApplication.showNextStep(2)" width="53"
    height="24"/>
    <mx:Button alpha="0" buttonMode="true" x="651" y="529"
    width="58" click="this.parentApplication.showPreviousStep(0)"
    height="24"/>
    <mx:Button alpha="0" buttonMode="true" x="712" y="528"
    width="54" click="this.parentApplication.showNextStep(2)"
    height="24"/>
    </mx:Canvas>
    // following is the code for page3 (step3) component
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    creationComplete="init()"
    backgroundImage="assets/Step3.jpg" >
    <!-- Step3.jpg image size is width=778, height=660 -->
    <mx:VBox width="763" height="668">
    </mx:VBox>
    <mx:Button alpha="0" buttonMode="true" x="644" y="10"
    click="this.parentApplication.showPreviousStep(1)" width="61"
    height="24"/>
    <mx:Button alpha="0" buttonMode="true" x="708" y="10"
    click="this.parentApplication.showNextStep(3)" width="53"
    height="24"/>
    <mx:Button alpha="0" buttonMode="true" label="Back"
    x="625" y="590" width="58"
    click="this.parentApplication.showPreviousStep(1)" height="24"/>
    <mx:Button alpha="0" buttonMode="true" x="694" y="590"
    width="68" click="this.parentApplication.showNextStep(3)"
    height="24"/>
    </mx:Canvas>
    // following is code for page4 (step 4),
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    creationComplete="init()"
    backgroundImage="assets/Step4.jpg" >
    <!-- Step4.jpg image size is width=778, height=773 -->
    <mx:VBox width="762" height="792">
    <!-- User interface -->
    </mx:VBox>
    <mx:Button alpha="0" buttonMode="true" x="644" y="15"
    click="this.parentApplication.showPreviousStep(2)" width="61"
    height="24"/>
    <mx:Button alpha="0" buttonMode="true" x="708" y="16"
    click="this.parentApplication.showNextStep(4)" width="53"
    height="24"/>
    <mx:Button alpha="0" buttonMode="true" x="644" y="710"
    width="58" click="this.parentApplication.showPreviousStep(2)"
    height="24"/>
    <mx:Button alpha="0" buttonMode="true" x="703" y="710"
    width="54" click="this.parentApplication.showNextStep(4)"
    height="24"/>
    </mx:Canvas>
    // Following is code for Page 5 (step 5 ) component.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    creationComplete="init()"
    backgroundImage="assets/Step5.jpg" width="778"
    height="600">
    <!-- Step5.jpg image size is width=778, height=539-->
    <mx:VBox paddingLeft="170" paddingTop="170" width="778"
    height="522">
    </mx:VBox>
    <mx:Button alpha="0" buttonMode="true" x="654" y="41"
    click="this.parentApplication.showPreviousStep(3)" width="72"
    height="24"/>
    <mx:Button alpha="0" buttonMode="true" x="654" y="486"
    width="72" click="this.parentApplication.showPreviousStep(3)"
    height="24"/>
    </mx:Canvas>
    I am getting vertical scrollbar for page3 and page4,
    please tell me how to avoid this, Is their any other method
    to do this.
    Following is the link for my above code
    http://www.emantras.com/flexdemo/sample.html
    in this application one more problem is also their,
    background image loads very slow, before it loads all the flex
    components will load. So when you open this please wait till
    background image loaded, to move to next and back pages.
    Thanks for your time and consideration.
    Regards
    Avanthika

  • IP Filter Public Pages

    We are about to deploy our corporate Intranet and I was wondering if there is an easy way to IP Filter all pages that are Public so that they are redirected to another page. We want to be able to redirect all traffic that comes in from outside of our domain to a seperate page that has less information than the ones that come from within our domains IP range. Particularly, we want to redirect those that might have added a specific Public page to their Favorites so that everything from outside our domain has to go to one certain page. Does anyone have any suggestions?
    Thanks in advance for any help.
    Sean L. Hudson MS, RRT
    Manager, Patient Financial Applications
    Information Services
    Shands HealthCare
    (352) 265-0680 x8-5573
    [email protected]
    Beeper - (888) 898-5322

    Andreas,
    No - everyone needs to be able to access the intranet from both inside our IP range or from without. The diffeerence is, we display much more public content on our Intranet site vs our Extranet site.
    Thanks for the reply-
    Sean

  • Public pages and session = 0

    Hi,
    Just so I understand correctly the usage of session 0 for public pages.
    In order to see the "0" in the app_session , we have to call the public page with ... :0: .... in the url ? ex:(f?p=877:1:0)
    Does that mean that everywhere in my menus (and reports) , I have to change the &APP_SESSION. by 0 for all my public pages ?
    If so , it seems that when I am connected, I than loose my session state if I call a page with session 0 .
    How can I use that feature for my public pages that changes when I am connected ?
    I tough that when a page was public, the session in the URL would show 0 but the session id would be kept in a cookie or something ?
    Thanks
    Francis.

    Hi Scott,
    I'm sorry , but there is something that I don't understand.
    For some pages , when I use the session 0 , all the links in that page contains 0
    and for other pages , even if I use session 0 , all the links contains a session id.
    Here are some examples :
    Not working with session 0 : http://apex1.insum.ca/pls/apex/f?p=105:34:0
    (you will see that the links in the region "Communiqués" uses session id) (Even in the navbar, some links have 0 some others don't ??)
    Working with session 0 : http://apex1.insum.ca/pls/apex/f?p=105:44:0
    (links in the region "Petites annonces" uses 0 in session id)
    Both are pages from the same application with select 'f?p...'||:APP_SESSION
    Many Thanks
    Francis.

  • Disable deep linking support in public pages

    We have public WEB app.
    For some reason we want that user must come to same page regarding URL - let say page 10.
    I saw nice thread on subject like that:
    Re: Application Link
    but this is made for authorization scheme apps-which we do not have.
    How to implment such a feature on public pages?
    THX!

    So how to disable "deep linking" feature in public appsand ensure that user must come to first page (i.e. 10)?
    You could create an authorization scheme that returns false unless a pre-determined application item is set. Attach this authorization scheme to all the pages except page 10.
    Create a onLoad computation on Page 10 that sets the app item.
    This way, you wouldn't be able to view any page in the app without first viewing page 10.

  • Change Start-Page for the Application

    Hallo,
    how can I change the Start-Page for the Application ?
    Thanks
    I. Schult transcoject Neumünster

    Another action you can take is to change the page ID in the p_flow_page argument to the wwv_flow_custom_auth_std.login call in the login process on the login page (if you have one), e.g., change P_FLOW_PAGE => :APP_ID||':1' to FLOWPAGE => :APP_ID||':99' to change the 'after login' page from 1 to 99. This will be the page (in the current application) redirected to after authentication, absent a deep link.
    The home link application attribute has limited use, e.g., for determining which page to show when you use the Run Application icon in the builder.
    Scott

  • Error while copying a page from one application to another application

    Hi All
    I am using Oracle Apex 4.0
    I getting the error ORA-06502 Pl/Sql Numeric error character string buffer too small when i copying a page from one application to another application.
    Thanks & Regards
    Srikkanth.M

    I'm having the same issue. How did you solve this?

  • How can we define custom error page in protal application

    How can we define custom error page in protal application, like we define "jsp Error page " in JSPs

    Hi,
    Check these:
    Customization of Portal Runtime Errors and portal standard error codes
    http://help.sap.com/saphelp_nw04/helpdata/en/9a/e74d426332bd30e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ec/1273b2c413b2449e554eb7b910bce7/frameset.htm
    Regards,
    Praveen Gudapati

Maybe you are looking for

  • % Excise Duty is coming wrong in Report

    Hi, I have a report of Gross Margin (FI).... My problem is that when i m picking the % Excise Duty from J_1IEXCTAX table against the Chapter ID....it is showing the 4 values against it...means 4 time % Excise Duty....i.e. periodic changed... like....

  • Keywords and Description

    Hello, So I entered in the description I want to show up under my website in google, and lots of difference keywords for people to use to find my website. Both of these don't seem to be working. I put it on my 'home' page. Should I be putting it on t

  • Request sending client to client with in single server

    hi i have created one request, how do i transport this request from one client to another client within  the same server i have created already 200 and 300 clients, now my question is , how to transport this customises request from 200 to 300 client

  • Why can't I connect to iTunes Store on my iPad or iPhone?

    I can't seem to connect to the I tunes store to make an app purchase...please help!

  • Can I add an Airport Express Card to my Mac mIni?

    If so where can I buy one and does anyone have the link to the OWC website where they show a video on how t oopen a Mac Mini?