Oracle APEX help validate users

Hello

Please let me know, how I can activate a button for some specific users to Oracle APEX.

Only when these users login, they can show the button, but when other users are registered in the button should be hidden.

Please let me know if there is an article on this existing already or any reference on how to do this.

Thank you

Valsaint

Hi valsaint.

Alessandro wrote:

Hello

Please let me know, how I can activate a button for some specific users to Oracle APEX.

Only when these users login, they can show the button, but when other users are registered in the button should be hidden.

Please let me know if there is an article on this existing already or any reference on how to do this.

Thank you

Valsaint

By creating a system of authorisation and then assign to the Page or its components.

Reference: http://docs.oracle.com/cd/E37097_01/doc.42/e35125/sec_authorization.htm#HTMDB12004

If you are using Application Express accounts for the management of users, then you can also create a page of access control:

Reference: adding security to your Application database using Oracle Application Express 4 2

I hope this helps!

Kind regards

Kiran

Tags: Database

Similar Questions

  • Export of apex (oracle.apex.APEXExport) on Oracle 12 c and ORA-28040

    Customer running of Java oracle.apex.APEXExport (from Apex v4.2.5) against a 12.1.0.2 RAC - and JDBC connection failure made with a ORA-28040: no authentication protocol for. (works without problem against all our 11g RAC)

    Oracle MOS see Notes section Configuration of SQL * Net of parameters (SQLNET.) ALLOWED_LOGON_VERSION_CLIENT and SQLNET. ALLOWED_LOGON_VERSION_SERVER) to an earlier version (example 8) on the client and the server, bouncing the listener, etc.

    Googling turned up the solution to the CLASSPATH to include the ojdbc6.jar (as the first jar jdbc in the path) - and only using one more late JDBC driver/pot solves the problem.

    Played a bit with both options, but not luck. Always get the error ORA-28040 .

    Ideas, comments and suggestions will be appreciated on how to address this issue.

    Well, problem solved. With the CLASSPATH workaround works fine - if done correctly.

    Find an odbc6.jar on the platform, for example

    find $ORACLE_HOME-name ojdbc6.jar

    Set the classpath the jar of real and then in the utilities directory in your file Apex (i.e., the location where you have unpacked your download Apex). For example

    export CLASSPATH=/u01/app/oracle/product/11.2.0/dbhome_1/jdbc/lib/ojdbc6.jar:/software/apex/utilities

    Now run export Apex by following the instructions, for example

    Java oracle.apex.APEXExport - db :: -user -password -instance

  • How to validate an element of the shuttle in the oracle apex

    Hello

    I have an element of the shuttle in the page. I want to validate the shuttle. use 3.2.1 on oracle 11g oracle apex.

    I want to trigger an alert if the value of not selected by the user to shuttle on the other displays the value selected in alert.

    Please help me solve this problem.

    Thank you

    Published by: kumar73 on April 17, 2010 14:15

    Hello

    This might help
    http://download.Oracle.com/docs/CD/E14373_01/AppDev.32/e11838/bldr_pgs.htm#sthref565

    Create the validation level element non-Null step

    BR, Jari

  • How to limit navigation directly via the URL when the user tries to type the page number and access this page in ORACLE APEX 4.2

    Hi all

    I developed an application where I have 6 pages and 5 tabs and based on the user role I posted the tabs for the user to access these pages.

    But when the user, who doesn't have access to the particular page (say, page 2), but still the user can navigate to it directly by typing the page number in the URL.

    I want to avoid such scenarios.

    eg: http://Apex.Oracle.com/f?p=110:2 , when the user type this in the address bar, it navigates the user to this page even if this particular user does not have access to this page.

    How to prevent the user to navigate through the URL, if the user tries to navigate directly through URLS rather than tabs, I have to give the error message.

    Version: ORACLE APEX 4.2

    Thank you

    Good reading this recent post

    Re: Authentication at the Page level

    All links to a page and the page itself must be secure.

    You can also consider the protection of session state to prevent tampering of the URL.

  • Hi I am new to Oracle APEX and my desires to organize me working on it... can someone help me to begin with?

    Hi I am new to Oracle APEX and my desires to organize me working on it... can someone help me to begin with?

    Hello

    Start reading the documentation

    Oracle Application Express - Documentation

    Check the packaged applications that comes with the APEX.

    You can find a lot of info and examples of Oracle Learning Library

    http://Apex.Oracle.com/pls/Apex/f?p=44785:2:0:FORCE_QUERY:2, IRB, CIR:P2_GROUP_ID, P2_PRODUCT_ID:1000 %2 C 2039

    APEX to read related blogs

    WORLD: APEX Blogroll

    You can find many things from this forum, just use search.

    Kind regards

    Jari

  • With the help of TWG instead of Collections of Oracle APEX

    Hello

    I use Oracle APEX v.4.2 and wanted to see if there were problems with the use of global temporary Tables (GTT) on Oracle APEX Collections. I remember reading another post here that mentioned that there are problems with the session ID and TWG.

    Basically, I want to call a procedure of package from dynamic action where this procedure will perform a form any treatment and insert records into a TWG, which I would then use to dial from a classic APEX SQL report. I seeks to implement the TWG to preserve the lines and run an EXECUTE IMMEDIATE 'TRUNCATE TABLE TWG' within the APEX statement.

    Can someone pls let me know of any problems with the above scenario or I better stick to the Collections of the APEX.

    Hope to hear from someone soon on the above and, possibly, examples of use of TWG in a similar way.

    Thank you.

    Tony.

    You cannot use with APEX, since TWG is bound to a specific database session (aka connection)-> see DECLARE GLOBAL TEMPORARY TABLE statement

    As with APEX you can (and will) get a different Session DB for each load/submit/ajax-call of a page, you will never see the TWG previously created again.

    Peter

  • Need help for Oracle Apex

    Hello

    I use Oracle Apex 4.01 in Oracle 10 g.

    I am trying to create a page of Apex, sort of time table system. In this page I have 3 text items field and the other two are date fields. and two buttons.
    You must submit (B1) and the other is to add any folder (B2).

    My job is if I press the add another button to record (B2) then a new line with the same types of items (3 items) must be created in the page and if I press this button once again and then a new line with the same elements must be created on the page and so on.

    Example of
    The initial Page view: Point 1, Item2, Item3 B1, B2

    When you press B2: point 1, Item2, Item3
    Article 1, Item2, Item3 B1, B2

    When B2 press again: point 1, Item2, Item3
    Article 1, Item2, Item3
    Article 1, Item2, Item3 B1, B2
    so now...



    Finally if I press send, but all the values I entered must be stored in the table.
    Example, if I press the B2 3 times and press B1, then these 3 records are stored in the table.

    Can someone tell me please how to do this in the Apex.

    Thank you
    Rik

    Rik,

    It looks like the basic functionality of the tabular presentation.

    -David

  • Progressively display areas in Oracle Apex 5.0 (universal theme)

    Hello, what I am trying to achieve:
    https://apex.oracle.com/pls/apex/f?p=63709:1:2676260562286:

    So basically I have 3 region on page load all regions must be hidden, after that the user click on the button (Let's Say ADD_REGION) first region will appear on new clicks of the user on the same button second region indicated even for the third.

    in the link above I created a region called JavaScript_Working in HTML.
    I want something even for areas of oracle apex.

    Tried:

    (1) based on the ID of a region I created a DA who will hide the region during the loading of the page, but after clicking on the button it does not return.

    (2) Css: inline Css section of a page where I had called Display: none with region Id prefix.

    (3) javascript: get Null drop back so this idea.

    Any advice will be good enough.

    Always:

    Identification information: new_b/new_b/new_b

    App: Apex_Community

    ID: 63709

    page: 1

    Thank you.

    This function added

    function check_then_show(p_region) {
    
        if ($(p_region).css('display') === 'none') { // if  hidden
          $(p_region).show(); //  show
          return true;
        }
        return false; // keep looking for next region
    
    }
    

    and this at the click of a button

    if (check_then_show('#region1')) {}
    else if (check_then_show('#region2')) {}
    else if (check_then_show('#region3')) {}
    

    That will keep test in the order provided.

    Looks like you were something already to help the regions of catalog, you would like to combine? It was just the first idea that worked

  • Error of the ACLs in Oracle Apex 5 after schema change

    Hi all

    I'm creating an application using Oracle Apex 5.

    I have a button call Send Mail and mail is worked.

    Now, I imported my request in a different schema and configured acl as below.

    I use apex_mail.send to send mail and created the acl as

    BEGIN

    () DBMS_NETWORK_ACL_ADMIN.drop_acl

    ACL = > 'open_apex.xml');

    (DBMS_NETWORK_ACL_ADMIN). CREATE_ACL

    ACL = > "open_apex.xml"

    Description = > "a test of the ACL feature."

    main = > 'RMSR. "

    IS_GRANT = > TRUE,

    privilege = > 'connection ',.

    start_date = > SYSTIMESTAMP,

    End_date = > NULL);

    (DBMS_NETWORK_ACL_ADMIN). ASSIGN_ACL

    ACL = > "open_apex.xml"

    Home = > ' *',

    lower_port = > 20,

    upper_port = > 9999);

    COMMIT;

    end;

    BEGIN

    (DBMS_NETWORK_ACL_ADMIN). ADD_PRIVILEGE

    ACL = > "open_apex.xml"

    main = > 'RMSR. "

    IS_GRANT = > TRUE,

    privilege = > 'connection ',.

    position = > NULL,

    start_date = > NULL,

    End_date = > NULL);

    COMMIT;

    END;

    It throws error as

    ORA-24247: network access denied by access control list (ACL)

    Is there a problem in my setup?

    Thanks in advance,

    Su.GI

    Hi Su.gi,

    Su.GI wrote:

    I'm creating an application using Oracle Apex 5.

    I have a button call Send Mail and mail is worked.

    Now, I imported my request in a different schema and configured acl as below.

    It throws error as

    ORA-24247: network access denied by access control list (ACL)

    Is there a problem in my setup?

    You have granted the ACL to the RMSR of your database schema, so it is necessary for the APEX_050000 scheme when you use the APEX_MAIL package.

    This is why the ACL must be granted at the APEX 5 Schema: https://docs.oracle.com/cd/E59726_01/install.50/e39144/listener.htm#HTMIG29161

    Here's how the ACL must be granted for APEX 5 Schema: https://docs.oracle.com/cd/E59726_01/install.50/e39144/listener.htm#HTMIG29162

    NOTE:

    • Create the ACL by logging into the user with SYSDBA SYS privileges.
    • Don't forget to validate after execution of the anonymous block for the creation of ACL.

    Kind regards

    Kiran

  • How to hide the field element of text based on true or false cases in the oracle apex

    Hello

    I have a set of text field in the oracle apex:

    1. Order number
    2. Revision number

    When we open the report, the review must be hidden.

    Only when the user enters the unique order number (order not duplicate numbers), revision number should be visible.

    If he enters the number of duplicate order, the revision number should be hidden.

    Help, please.

    Hi 2932464,

    2932464 wrote:

    Hello

    I have a set of text field in the oracle apex:

    1. Order number
    2. Revision number

    When we open the report, the review must be hidden.

    Only when the user enters the unique order number (order not duplicate numbers), revision number should be visible.

    If he enters the number of duplicate order, the revision number should be hidden.

    Help, please.

    Give you an example of how to do to get there.

    Step 1. Create three elements of the Page

    (1) P1_ORDER_NO - text field

    (2) P1_REVISION_NO - text field

    (3) P1_ENABLE_DISABLE_REVNO - hidden, protected value - no.

    2 create dynamic Actions 3

    (1) disable the revision on the loading of the page number

    Event - loading of the Page

    Action - disable

    Fires when the result of the event is - real

    Selection type - point

    Point - P1_REVISION_NO

    (2) check the number of duplicate order

    Event - change

    Selection type - item (s)

    Article (s) - P1_ORDER_NO

    Condition - is not null

    Action - to execute the PL/SQL Code

    Generate in front of false action - not checked

    Fires when the result of the event is - real

    Fire on page load - disabled

    Stop execution on error - checked

    Wait for the result - verified

    PL/SQL - code

    declare
    l_count number;
    begin
      select count(*) into l_count
        from emp
       where empno = :P1_ORDER_NO;
    
    if l_count > 0 then
      :P1_ENABLE_DISABLE_REVNO := 1;
    else
      :P1_ENABLE_DISABLE_REVNO := 0;
    end if;
    end;
    

    To present the page = P1_ORDER_NO

    Page referred to return = P1_ENABLE_DISABLE_REVNO

    (3) enable and disable the revision number

    Event - change

    Selection type - item (s)

    Article (s) - P1_ENABLE_DISABLE_REVNO

    condition - greater than or equal to

    value - 1

    Action - disable

    Fire on Page Laod - disabled

    Generate the opposite action of false - verified

    Selection type = item (s)

    Article (s) - P1_REVISION_NO

    Hope this helps you,

    Kind regards

    Jitendra

    DER_NO

  • Site Web of Oracle ApEX based

    I intend to create a Web site using Oracle ApEX and a question about security, authentication.

    Most of the pages are going to be public to anyone, but some of them will require authentication. My question is what is the guideline to handle this? If I activate an authentication on application level scheme then each visitor is going to land directly on the login page when you visit the Web site, which is not good. I intend to place a login box area of the public pages, so users can connect / register if they want to.

    Your help is very appreciated!

    Hi user13428604,

    user13428604 wrote:

    Update your 'user13428604' user ID to something meaningful. Reference: Video tutorial how to change username available

    I intend to create a Web site using Oracle ApEX and a question about security, authentication.

    Most of the pages are going to be public to anyone, but some of them will require authentication. My question is what is the guideline to handle this? If I activate an authentication on application level scheme then each visitor is going to land directly on the login page when you visit the Web site, which is not good. I intend to place a login box area of the public pages, so users can connect / register if they want to.

    Your help is very appreciated!

    You can have Oracle APEX application pages are public, even if the authentication is enabled at the application level. You define the Attributes of Page -> authentication Page is Public for pages that are going to be public. The pages that are not public, to set the Attributes of Page -> authentication Page requires authentication(which is set by default to the creation of the page). So when the user accesses the public pages, the app will not ask the user for authentication, but when he tries to access the page with all of the authentication, it will ask you for credentials.

    It's Security page attributes screenshot where you want the public pages:

    Reference:

    I hope this helps!

    Kind regards

    Kiran

  • XMLFile parameter is not supported by Oracle APEX, please use the setXMLFile() method

    "XMLFile parameter is not supported by Oracle APEX, please use the setXMLFile() method.

    I created a test web app in apex.oracle.com to try a few things. I created a Flash 2D pie chart in a Web page, and it seems to make very well. But before rendering, I get the error message above, on the region of graph for 1-2 seconds.

    Can anynone tell me what means the error message above and why I'm getting this. I do not use a custom XML part. Has not changed the default settings of the chart area.

    I could see above the error appearing clearly since the apex.oralce.com is so slow... and graphics region takes awhile to load. Otherwise I could not have noticed. It happens in the IE8 and Google chrome.

    Oralce Apex 4.2.5.00.006 (https://apex.oracle.com)

    Google Chrome 34.0.01847.116

    Internet Explorer 8.0.6001.19518

    Can anyone help please. I'll try to become a test application setup dispalying this awhile earlier error message.

    I used HTML5 graphics in apex 4.2.0.00.27 in my office in my real application workspace. Most of my users still use IE8. HTML5 graphics all appeared well in their IE8 browser. One fine day, some parameters must be changed by my network administrator or soemthing else could have happened. I have no idea. My webapplication HTML5 graphics disappear IE8 users. IE9 users had no problem. I contacted our IT support staff of any changes to security settings that day, or earlier. Absolutely no help from my frustration. I have to change maps of my application (only about 6 of them) to the Flash graphics to overcome this obstacle. This is the story behind why I use Flash cards. If anyone has experienced a similar problem in IE8 HTML5 graphics please shed any light for me... This problem may be nothing to do with the "XMLFile parameter error message', but I'm not sure.

    You strike again BUG introduced with Oracle Application Express 4.2.5

    http://www.Oracle.com/technetwork/developer-tools/Apex/application-express/Apex-425-known-issues-2186292.html

    18601802 - ANYCHART XMLFILE WARNING DISPLAYED BEFORE FLASH GRAPHICS RENDERING when Flash graphics that take a long time to make, the user can see the following warning message appears briefly "XMLFile parameter only is not supported by Oracle APEX, please use setXMLFile() method.» The table will be always delivered. Solution: Please advise end-users to ignore the message.

  • Oracle apex without password field application login page

    Hi all

    Someone please help with this request. I want to have a login to application page where users just enter their login user id and just click the button connection; Once they connect. I have an authorisation procedure which checks against the database for their user id table and redirects to different pages based on their role as defined in the database. If its a user id invalid; the process redirects to the page that is not permitted.

    Is it possible in the apex oracle to connect to the app with just their user name. We use Oracle APEX 4.0.2 version and oracle 10g r2 database.

    Previously, we had the LDAP authentication, which was no - ssl and we do not want to use it, as this will not be the policy of the company. We have tried to establish a SSL connection and create oracle certificate using s/n, but it always takes some time.

    DECLARE

    v_role VARCHAR2 (30);

    v_page NUMBER;

    BEGIN

    BEGIN

    SELECT user_role

    IN v_role

    FROM table_a

    WHEN USER_ID = UPPER (TRIM (: P101_USERNAME));

    EXCEPTION WHEN NO_DATA_FOUND THEN

    v_role: = NULL;

    END;

    IF v_role = "MANAGER" OR v_role = "ADMINISTRATOR."

    THEN

    v_page: = 1;

    ELSIF v_role = "ANALYST."

    THEN

    v_page: = 32;

    ON THE OTHER

    v_page: = 200;

    END IF;

    APEX_UTIL.set_session_state (p_name = > 'FSP_AFTER_LOGIN_URL', p_value = > NULL);

    wwv_flow_custom_auth_std. Login (P_UNAME = >: P101_USERNAME,)

    P_PASSWORD = >: P101_PASSWORD,.

    P_SESSION_ID = > v ("APP_SESSION").

    P_FLOW_PAGE = >: APP_ID | ':' || v_page);

    END;

    How to change, the process described above to allow the value null for the password field.

    Please help with possible suggestions. Thanks in advance.

    Thank you

    Orton

    Write a custom authentication scheme

    http://allthingsoracle.com/custom-authentication-in-apex/

    and simply return true without checking the password field. The author, Patrick Barel, gives an example:

    FUNCTION authenticate (username_in in VARCHAR2

    password_in IN VARCHAR2)

    RETURN A BOOLEAN VALUE

    IS

    BEGIN

    RETURN TRUE;

    END to authenticate;

    A custom authentication function can do what you want in terms of functionality, as long as it returns true if the authentication is successful or false otherwise.

  • Security issues in oracle ApEx

    Hi all

    I have created a process page and who is called by request = 'DELETE '.

    And I gave the permission for all schema userbased on roles.

    I opened a session with the user "XYZ" and this user donot do you have delete privileges. But what firebug fork and execute the command "doSubmit ('DELETE')", it removes record in my table. This user donot have privileges yet, we are able to do the delete operation.

    Pls help me on how to avoid this.

    Thank you
    Sudha

    Hi Balu,

    did you get your process with an authorization? It is not sufficient guarantee that the button Delete.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Integration of Oracle Apex 4.0.2 with EBS R12.1.1

    We could integrate Oracle Apex 4.0.2 with EBS R12.1.1 with the help of http://www.oracle.com/technetwork/developer-tools/apex/apex-ebs-wp-cabot-consulting-169064.pdf successfully.

    The document said to navigate from EBS to Oracle Apex without any second login screen (works very well!), but now how we sail to EBS to Oracle Apex (in the same session) without any screen connection again as below

    User login of EBS-->--> Oracle Apex-> EBS EBS

    Please help to achieve this goal.

    Hello

    In your application's authentication scheme in the sign-out URL Section, gives the following

    wwv_flow_custom_auth_std.logout_then_go_to_url?p_args=&APP_ID.:http://xyz.ck.com:8010/OA_HTML/OA.jsp?OAFunc=OAHOMEPAGE
    

    Provide your url on ebiz instead of http://xyz.ck.com:8010 in the link above.

    Thus, while pressing the logout link in your apex, you will not be redirected to login ebiz again page, it will be redirect you ebiz menu homepage back in the same session itself.

    This will work for sure.

    Good luck!!!

    Change your login username of "805196" in a meaningful Word.

    Brgds,
    Mini

    -------------------
    If this has answered your question, then awarded points and close the debate.

Maybe you are looking for