APEX on a database by using a different database security

I'm new to APEX so please forgive me if my question is elementary or if it crosses also ignoring.  My organization uses APEX for the first time and you are looking to fill a specific role.  I don't know if we want APEX can be done.

Here's what we want to do:

We want to create an app of the APEX on A database.

My APEX application will be used to modify database tables b.

Users have usernames, passwords and access set up on the basis of data B.

When users access the application of APEX, we want the application to use the database security B.  In other words, it connects using the IDs and passwords for database B.

So:

I go to the application of the APEX

He invites me to the user ID, I enter one I use when I log on database B.

He asks me a password, I get the one I use with database ID B.

I click OK.

Forms are loaded with the data accessible by my ID on the B database.

Changes on the forms and my user ID is marked as one making changes to database b lines.

In other words, I just want to use the database A to build and enhance the application.  Anyone can run the application, but they must connect using their database B ID and password to make changes.

(1) is it possible?

(2) how to configure in the application of the APEX?

Thanks for your help on this.

8dc1e333-95ad-4714-9820-16d3e4296c4d wrote:

In other words, I just want to use the database A to build and enhance the application.

APEX does not work like that.

APEX is nothing more than a bunch of PL/SQL code that runs on the database, it is installed on and run the code as "pattern analysis".

Comment on "works on the basis of data"

If you want APEX to read data from a different database, you use a DATABASE LINK

for example to SELECT a report

Select * from scott.emp@db2

I doubt that one of the assistants APEX you'll love.

comment "works like «pattern analysis"»

If your application has an analysis of 'BOB' scheme... all SQL and PL/SQL code will run as BOB.

The "DB"account "security" is more a misnomer.  APEX only checks that the entered name and password match that of the database that it is installed on.

Once verified, APEX performs a 'switch user' for the 'scheme of analysis. "  (Authentication of proxy in Oracle)

That's how web applications work... they use a shared schema.

WORK AROUND

Connect to the APEX by ADR, no EPG.  Will prevent it people to access the database directly.

The next thing that you need is a SCHEME of ANALYSIS dedicated to the execution of SQL and PL/SQL.

As any other database USER, it shouldn't be the same schema as the schema that contains all of your data. (Analysis schema! = data schema)

Personally, I like to my 'space work [schema]' separated also.

You will most likely need to use a database of private virtual control data access.

Required Code changes

If none of your code using the username 'USER' column, you need to change to COALESCE (V ('APP_USER'), USER)

(I prefer to COALESCE on NVL because I anticipate different infrastructure that works similar to APEX)

MK

Tags: Database

Similar Questions

  • Pass a request APEX of a database to another database

    Hello

    Should the method and what steps I follow to physically move an application Oracle APEX of one database to another?

    I mean, just by using DataPump export/import of the schema that contains the application data is not enough.

    It is also expport posible the entire application as a SQL file from one database to another.

    However, other components such as images, logos that are usually defined are shared in APEX components are not exported and lack iin the new database.

    Some know how to import applications from APEX, including logos, images to a different database?

    Thank you in advance for sharing your experience.

    Kind regards

    Hi Patrick,

    Should the method and what steps I follow to physically move an application Oracle APEX of one database to another?

    Using items of support in the way to go.

    I mean, just by using DataPump export/import of the schema that contains the application data is not enough.

    When you export your application from one database to another, the Data Pump exports just as the objects in the database, as you said quite rightly however under the app go support objects and add the relevant information (DML, Images, objects package scripts and more).

    These links could be useful.

    It is also expport posible the entire application as a SQL file from one database to another.

    However, other components such as images, logos that are usually defined are shared in APEX components are not exported and lack iin the new database.

    Yes indeed it is possible, just go through the docs and see if that helps.

    Kind regards

    Benjamin.

  • The specified display list is invalid or points of view have been selected using a different pattern

    Hello Experts,

    I get an error when I perform the aggregation using the aggregation view which was working fine before. We have ASO cube.

    'The list of the specified view is invalid or points of view have been selected using a different scheme'

    No major changes has been (as change the ownership/megaupload type etc).

    No addition of level in one of the dimension.

    Only members are added at the same level

    Please let me know what would cause to become invalid.

    Thank you

    Raja Mohamed

    RajaMohamed wrote:

    The change is only the addition of members at the same level.

    Only way I can see what is possible is if the dimension change your attributes, and where you had already all members, associated with an attribute, you have now a few not associate members.

    Take a good copy of the outline (or restore from backup) and run the MaxL following on the old and the new cubes:

    query database app.db list aso_level_info;
    

    That should show you where the differences are.

  • I have a chase bank credit card that I have good ranking and what number do I call to talk to I tunes because he says, use a different card, it's the map I was buy everything what I tunes. Is it because I have challenged their load m

    I have a chase bank credit card that I have good ranking and what number do I call to talk to I tunes because he says, use a different card, it's the map I was buy everything what I tunes. Is it because I thought them charge me twi

    Can I have it please the number on I tunes support whether please or have them call me at * Leonardo B *.

    < personal information under the direction of the host >

  • While creating a slide show with pictures, can you assign music to a specific set of photos? I would use 5 different pieces of music for every 5 parts of my slide show.

    While creating a slide show with pictures, can you assign music to a specific set of photos? I would use 5 different pieces of music for every 5 parts of my slide show.

    No, you can't.  One solution is to create 5 different slideshows and export them to the office where you can bring together them in a single quicktime movie file and use it.

    If you have a copy of iMovie 6 HD, it can be hacked to work with El Capitan. With it you can assign exactly music groups of slides in the slide show:

  • "Your browser does not support iframes, please use a different browser.

    I take an online course and this message appears when it is time for me to take my comments to the chapter.

    While I'm able to pass the test, I can not press 'continue', so I can't submit my test results.

    At the bottom of the control box it says "your browser does not support iframes, please use a different browser."

    My OS is updated, I upgraded to Adobe Flash and Reader, but I have no idea how to solve this problem.  I really need to be able to present my test results and unfortunately I lost several hours trying to figure this out.

    Safari supports iFrames.  The problem is the web site.  Contact them for support.  Or download a browser like Opera or Dolphin kick in one of those web site

  • text messages sent with an email address from a touch ipod duplicated on a second ipod touch using a different email address, but the two ipods are controlled by a parent with the same apple ID and password.

    Text messages sent with an email address from a touch ipod duplicated on a second ipod touch using a different email address, but the two ipods are controlled by a parent with the same apple ID and password.  This has happened recently.  My two girls have used their respective ipods and texting, without their messages of duplication for each of the other ipods for more than a year.  Somehow recently, both addresses seem to be synced with them or something, so that both see each and other messages.  I've recently updated two ipods, iTunes on my computer--not the cloud and added music for two ipods, but has not changed anything by email email settings or message I know.  Help, please!

    Welcome to the Apple community.

    I can't fully follow how you have everything set up, but a glance at the settings > messages > send & receive

  • When you subscribe to an application using a different email for your apple ID

    When you subscribe to an application using a different email from your apple-ID

    Will be the details of this figure yet the subscription to (and editable) under your apple ID?

    Im having trouble cancel the payment for the registration of an application (I think that's why) I used a name user ad nother email what is my apple ID.

    Can someone help me?

    Greetings Ninabnina,

    Thank you for using communities Support from Apple!

    From your question, it sounds like you subscribed to a service of an application using an in-app purchase. If this is correct, this in-app purchase or subscription would be bound to this specific Apple ID.

    Do an in-app purchase

    You can make in-app purchases in applications that offer.

    You must enter your password Apple ID to make in-app purchases. You have two options to password to choose from with in-app purchases:

    • Always demand: when you make a purchase, you will be always asked to enter your password, even if you are signed in with your Apple ID.
    • Ask after 15 Minutes: when you make a purchase, you will be asked to enter your password only once every 15 minutes.

    You can also configure Touch ID to make in-app purchases. Learn how manage your password preferences.

    If you have problems by performing an in-app purchase, make sure that your payment information is up-to-date.

    On in-app purchases - Apple Support

    If you think you can make the purchase with another Apple ID, you can connect to this ID and view your purchase history to confirm.

    See your purchase history in iTunes on Mac or PC - Apple Support store

    If you just need help the cancellation of the subscription, the following article will explain this process.

    View, change or cancel your subscription - Apple Support

    If you do not know what Apple ID the purchase or subscription was made on, you can try to have reported the problem directly to our support of iTunes Store by using the following link.

    Report a problem with an item purchased from the iTunes Store, App Store, Mac App Store, and iBooks Store - Apple Support

    If you still hit roadblocks, you can contact the iTunes Store support directly and they should be able to help understand this situation and get these cancelled subscriptions.

    Apple - Support - selection

    Have a great day!

  • using a different material of the same type

    Hello

    I wrote a code in LabVIEW and data acquisition that I pointed out where the signal will be sent to the and where it will make the acquisition of. I use USB6009.

    It turns out that when you use a different USB6009 the program will not work because it has a few other serial numbers. I need to configure the program for EACH DEVICE no matter if the appliance is of the same type?

    How about exe? Suppose I want to send a package to someone away who has same device type but of course physically different?

    (this is a basic type question but I'm always hard to find answers to my questions generally find manuals and materials to get a good point of departure-> a novice can really get lost)


  • I built in webcam but you want to install and use a second. Is it possible to where both are used at different times?

    I am wanting to install and use a different webcam sometimes but I have a already built in. I installed the other cam.but it says device cannot be used or already in service; I'm guessing that because I already have a cam. Is there a way I can do and use them both at different times?

    Hi Texaslovely

     

    You cannot capture images using two webcams at the same time. You can try to disable a webcam from the Device Manager, and then try to use the external webcam. See the steps below to disable a device-

    a. go to Device Manager, open the Device Manager by clicking the Start button, click on the Control Panel, clicking system and Maintenance, and then clicking Device Manager. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation

    b. in Device Manager, look for the device and if you want to disable, and then double-click the device, and then click Driver tab and click on disable.

    I hope this helps.

  • Can I use a different with my HP Pavilion 17 19v PSU

    Can I use a different with my HP Pavilion 17 19v PSU?

    You have the adapter 45 watts:

    45 W HP Smart AC adapter (NFPC, RC, 3-wire, 4.5 mm, nslim) 741727-001

    A card eBay auction:

    http://www.eBay.com/ITM/original-OEM-HP-45W-smart-cord-charger-Chromebook-14-c011nr-741727-001-notebook-/221431899726

    The connector dimensions: 4.5 mm × 3.0 mm, with pin inside

    If it's 'the Answer' please click on 'Accept as Solution' to help others find it.

  • "The specified network folder is currently mapped using a different user name and password", trying to connect to a remote drive.

    Original title: the specified network folder is currently mapped using a different user name and password.__To to connect using a different user name and password, first disconnect any existing mappings to this network share.

    I am trying to connect to a remote drive. I clicked to map the drive, entered the name of the drive, came the name of login/password for the computer turns on and then it give me this error message: the specified network folder is currently mapped using a different user name and password. To connect using a different user name and password, first disconnect any existing mappings to this network share.

    In Windows 7 Enterprise, I would like to point out that, if you map \\server1\share1 as drive letter X using "user1" and "password1", then try to map \\server1\share2 (a different share) as drive letter Y using the same ID "User1" and "password1" and you select 'connect using different credentials' in the dialog box connect a network drive and specify the id "User1" and "password1". you will get this error MESSAGE INCORRECT that says 'the specified network folder is currently mapped using a different user name and password'.

    The message is bad because:

    1. the specified network (action2 in my example) folder is not mapped at all, and

    2. the server (in my example, "server1") is already mapped (to a different and different drive letter share) using the SAME user name and password.

    The error message is wrong in two respects.

    This let me puzzled for a while until I realized that once you have mapped to 'Server1' using the credentials, you can map to different actions on the same server without re - specify the credentials.  It is NOT CLEARLY the 'Map network drives' dialog box, which leads to users (like me, and I'm a programmer by trade) trying to enter credentials again and this incorrect error message.

    David Walker

  • Can't see the .png images when I use a different user profile

    Original title: Vista + png files

    Vista as administrator, I can see png images, but cannot see them when I'm using a different user profile

    Have you checked the settings in the previous link?

    You can try to reset Internet Explorer: http://support.microsoft.com/kb/923737

  • 'The specified network folder is currently mapped using a different user name and password'.

    "The specified network folder is currently mapped using a.
    another user name and password.
    Connect using a different user name and password
    First, disconnect any existing mappings to this network
    share '.
    I got this message when trying to access a laptop on my home network. It's a laptop which came for years. The only change that occurred was the removal of a few videos to Windows Media Player. In fact, I was sitting near the laptop (laptop 1) that stores the video & audio files that I share on my network for years and an additional (cell 2) laptop computer on my network. I was simply remove a playlist via WMP and I witnessed portable 2 lose access to files I had shared for years with my home network. I don't even use WMP, I had just open trying to access the laptop 1 video/audio files to my PS3 system. I was clear an old list of video of WMP so I could add the extra avi files to the list that I had collected over the years. I wanted to not double many videos so I removed the videos in WMP list. Since then, I'm not able to share anything of my laptop 1 to the rest of my network. I did not like WMP before, now I really despise WMP. When I try to share a folder, right click, share with & click on homegroup (read/write), the option is not selected. Any solution would be greatly appreciated. Thank you

    Hello

    The link below talking about a similar problem that should help you to solve the problem.

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-networking/the-network-folder-specified-is-currently-mapped/928f6313-fe2c-4d2D-A247-152ec022e062

  • use two different characters in the same domain

    Hi, how to use for different fonts in the same field?

    unless "crush you" painting: you do not have.
    If you do, you can use graphics.setFont

Maybe you are looking for