When will APEX be capable of observing Database Roles?

Hi All,
When will APEX be capable of observing Database Roles and RLS?
Joel Kallman in his APEX blogspot article " [Application Express and parsing SQL|http://joelkallman.blogspot.com/]" states that
+"the execution of SQL in an Application Express application still does not observe roles when parsing user SQL. This remains true for the recently released Application Express 4.0"+
Is there anyone with inside knowledge of APEX who can shed light on this?
Amgine

Hi All,
Thank you for responding to this discussion.
The initial point of my post was to indicate that applying fine grained data security with APEX, is problematic. In my organisation we have hundreds of databases, thousands of tables and a requirement to protect confidential data. The DBA's and Developers over the years have developed a system of controlled data access based on database roles, Row Level Security with policies, and even Cell Level Security.
We are looking at APEX as a means of replacing Oracle Forms and Reports. The method by which CRUD applications are made with
APEX methodology, involves assigning schemas to a workspace. Doing this circumvents all of the above-mentioned security, because APEX developers, then take on the effective role of schema owner.
If an application is created using the schema, assigned to a workspace, it requires the APEX application developer to develop a parallel authentication/authorization scheme, to match the levels of control normally achieved by the database data security methods.
e.g.. I can easily create a form with select, insert, update capability, based on a table normally having restricted record access and even select only access, controlled by roles or RLS methods. If do not explicitly create a complex Authentication/Authorization system to protect the data, I could easily, and accidently, expose restricted or confidential data, and the unintended ability to modify it, to the end user.
I have found by experiment that there is a partial solution to this problem:
If schema's are not directly assigned to the workspace but instead, a single parsing schema with minimal system privileges is created, and no other schema is assigned to the workspace. The privileges on individual schema objects are then granted to the parsing schema. Applications can then be built which limit the CRUD operations which may be implemented.
With my current APEX /Oracle DB There is still the problem that privileges (e.g. insert, update select on table X) cannot be granted to the parsing schema via a role but need to be explicitly granted. This becomes a maintenance nightmare for the schema owner or DBA, normally avoided by use of roles and/or RLS.
In answer to Andre. I a currently use APEX ver. 3.1.2.00.0 and Oracle 10.2.0.
According the APEX Builder notes:
In Oracle Database Server versions before 10.2.0.3, these privileges must be granted directly to the schema. In Oracle Database Server versions 10.2.0.3 and later, these privileges may be granted to the schema directly or through a role in order for the SQL Workshop to be able to perform the operation using the selected schema.
The reason you can't use roles is because you are always identified in session as APEX_PUBLIC_USER with privileges granted by proxy via the parsing schema, never as the logged on user.
Using the following query logged on as sys:
select
username,
osuser,
program
from v$session
where type='USER'
gives results:
USERNAME    OS_USER    PROGRAM
APEX_PUBLIC_USER SYSTEM Apache.exe
Amgine

Similar Messages

  • When will APEX Listener 2.0.2 be available?

    In the current release notes I see the date of May 2013 and a chapter with changes in 2.0.2 (http://docs.oracle.com/cd/E37099_01/doc/doc.20/e25068/toc.htm#autoId3), so I am wondering when this will be available. We are currently upgrading APEX and the Listener, so we would like to use the latest versions.
    Thanks, Wouter

    FYI. This is a user to user forum. Adobe empoyees don't spend much time on this forum so you might not get a response immediately. Try to contact Adobe customer service.

  • You need to have xlsm where you can access the macro in numbers.  this is frustrating that the idea of Numbers is to make it like Excel yet you dont have this capability.  Question is, when will it happen or will it happen????

    You need to have xlsm where you can access the macro in numbers.  this is frustrating that the idea of Numbers is to make it like Excel yet you dont have this capability.  Question is, when will it happen or will it happen????

    Hi brev,
    Several points here:
    1. Although there is some compatibility between Numbers and Excel files, I doubt very much that "the idea of Numbers is to make it like Excel." The two applications share some similarities, but also have several differences.
    2. Your Question is unanswerable in this forum. Apple does not generally reveal future development plans or schedules for its applications, and anyone with knowledge of those plans will be bound by a non-disclosure agreement.
    3. "You need to" implies a feature request. If you want to request that a feature be added to a future version of Numbers, that request is better made directly to Apple, via the Feedback channel, than here, where the readers and responders are all users of the software, not developers. From the application menu (the "Numbers" menu in Numbers), choose Provide Numbers Feedback, then make your request for a feature to be added to Numbers.
    Meantime, if you absolutely need the macros capabilities of MS Excel, try one of the Office clones—OpenOffice.org, LibreOffice, or NeoOffice, which may offer macro support, or use the Mac version of Excel itself.
    Regards,
    Barry

  • When will Apple have a searchable text reader and upload file capability?

    When will Apple have a searchable text reader and upload file capability? I have a large text file I need to upload to my iPhone, search, and dial.
    Anything planned?

    I had a Palm the I used for work and travel it had a very nice application called DOCUMENTS TO GO. It allowed you to upload, view, and edit .doc, .xls, and .ppt files. this was very handy when traveling. Also, I could sync my palm with my iMac and work PC using bluetooth, took care of the file transfers as well. I would like to have the same capability on my iPhone. I bought it to replace all of my old stuff i need it to the same as my old stuff. I hope that Apple reads this and gets on the ball. Until then I still have to carry my Palm or thumb drive on trips.

  • Why have I lost PDF printing capability through the File Print menu?  When will it be fixed?

    Why have I lost PDF printing capability through the File>Print menu?  When will it be fixed?

    What app are you using to view PDF files? Preview can be a poor choice for some PDF files - I recommend using Adobe Reader - http://get.adobe.com/reader/ - perhaps it will solve your printing problem.
    Clinton

  • When will Wifi-calling be extended to other 'capable' handsets?

    When will WiFi calling be extended to other 'capable' handsets? I have never met a company that operate in such an opaque fashion and seem content to leave their subscribers in the dark. If there is no news on this soon I intend to pursue a premature end to my contract.

    I can go to another network that would give me an app for calling and texts. No Wifi calling but at least I would have connectivity when I am in my office which has no EE coverage. EE can't offer me Wifi calling or even a promise of it in the future neither can they offer me an app as an interim measure. Crap really.

  • When will OEM11 be certified to have 11.2.0.4 repository database?

    When will OEM11 be certified to have 11.2.0.4 repository database?
    Is there any technical difficulty not to certify OEM11 to have 11.2.0.4 repository database?

    Quite honestly, it's a matter of current product and resources.  QA teams are working on certifying for future releases, and can't keep going back to products that aren't being actively developed.  Just like they don't certify DB 10.2.0.5 on Linux 6, etc.  I would suggest if you want to attempt, setup a dev environment that you can test and validate before upgrading your production.   Ideally though, I'd suggest upgrading to EM 12c, it's much improved and still supports 10.2.0.5 and 11g db's. 

  • When will iCloud have full capability in the UK?

    When will Apple starting backing up videos purchased from iTunes UK to the iCloud?  I purchased increased iCloud storage mainly to store iTunes-purchased movies and TV shows, only to learn that iCloud does not have this capability anywhere outside the US.  This does not seem right for a company with Apple's means.  Help please....

    I'm not sure I follow. The UK description page for iCloud backup says "iCloud backs up your purchased music, films, TV programmes, apps and books".
    http://www.apple.com/uk/icloud/features/#backup
    Are you saying that it doesn't work for you?

  • When will Siri provide mapping capability in Canada.

    When will Siri provide mapping capability in Canada. Apple overlooked us when they pitched Siri as a significant upgrades to 4s, but neglected to make it fully functional in Canada. Does anyone have an update on if/when this will be corrected?

    Currently, location based functions for Siri are only available in the U.S. Apple has not yet announced when they will be available elsewhere. Keep in mind the Siri is still in beta.
    Best of luck.

  • When will ipad2 (with 3G) have capability to make phone calls over sim card

    I would like to know if and when will IPAD2 with 3g have the capability to make phone calls over the sim...

    We're all just fellow users here and have no idea whether Apple will ever release an iPad with cellphone calling capability. I would doubt that any existing iPad will ever have such a capability, though, if you're referring to an iPad you already own. If you need voice calling capabilities, consider one of the voice-over-IP services such as Skype.
    Regards.

  • Oracle SQL-92 Non compliance:  When will oracle support empty strings?

    Oracle is the only database on the planet that equates an empty string to a null value. For several major versions, Oracle has said "Make sure you don't rely on null and empty string equivalency because it could go away in the future." When will Oracle get with it and support this aspect of the SQL-92 standard (not to mention mathmatical logic)?

    You log enhancement requests through Metalink.
    The procedure is documented in Metalink document 166650.1 as follows:
    How to Log an Enhancement Request:
    Create a new Service Request in MetaLink.
    On the Create a SR - Brief Description screen, in the Type of problem field, select Enhancement Request.
    Important factors to remember when filling out the Enhancement Request Service Request template and creating the Service Request:
    Fully describe why the current product functionality does not meet your needs.
    Explain in detail the enhancement you would like implemented
    If possible, describe how the product can be changed to achieve the desired results.
    Describe your business expectations. Include key milestone dates and justifications as to why this request is so important and the benefits your organization stands to gain should this request be accepted.
    Once your Service Request has been created, it will be assigned to a Support Engineer who will validate your information. In some cases, your request may be a new or known product defect that the Support Engineer can either provide a fix, a workaround, or introduce to Oracle Development for resolution. In other cases, you may be presenting a valuable product enhancement that can improve Oracle product functionality. In all cases, the Support Engineer will be able to qualify your request and pass along the information to Oracle Development.
    Once the Support Engineer validates your request, and an agreed upon action plan is created, your Support Engineer will create a new Enhancement Request and provide you with an Enhancement Request tracking number. The BUG search tool on MetaLink can then be used to receive status updates.
    Please note that the Support Engineer will close the SR once the enhancement has been logged.
    Also, see document 214168.1

  • When will "Flash" video be viewable on websites with iPad?

      Adobe announced that it will support video for ios, but will it only be for iPad 2 or also iPad?  And when will it be available?  I constantly see video won't play messages on news websites and I'm getting tired of not being able to see video.  I have iPad, not iPad2.

    Really? All these responses and yet no one even gets close?
    You guys should really learn more before being so gracious with your opinions and answers.
    To answer the OP's question...
    What you are reffering to and read has nothing to do with Flash video, or websites, developers or anything on the web right now.
    The article, and the technology being refferenced is about LIVE STREAMING, not embedded videos, HTML5 or any of that.
    When a company sets up a "Live webcast" they do so through whats called the "Adobe media server", which is the standard in the industry for connecting Live video streams with you through a web browser.
    This is usually done through Adobe Flash, Java, and a few other plugins.
    Because of Apple's block on these technologies Adobe was kind enough to incorporate a new feature tide to Apple proprietary technology allowing these Streaming video feeds to be picked up by apple devices from the Adobe Media Server without needing a plugin, instead they will use Apple's proprietary software.
    That's it, the next time the president does a live stream you "may" be able to see it as well, instead of being the only ones in the world not capable. Thank Adobe for that.

  • When will OAS 4.0.8.1 for NT be available for download?

    OAS 4.0.8 has been out for ages and 4.0.8.1 was recently
    released. When will OAS 4.0.8.1 for NT be available for download?
    Thanks.
    null

    After I fixed some of the things I broke while searching for the wrksf failure, the PL/SQL Cartridge now works for me too. And, after failing to get the DB Browser to work by loading it into the SCOTT schema, I got it to work by loading it into SYS. (SCOTT can't see the DBA_* views so loading the DB Browser into the database failed.) I haven't tried any Java Servlets yet, but that's next on my list.
    If you want to try my wrksf workaround, rather than using Christoph's, here's how you can do it.
    1. Backup liborb.so in the $ORACLE_HOME/orb/4.0/lib directory, just in case something goes wrong.
    2. Using a hex editor, such as emacs hexl-find-file or ghex, to edit liborb.so, find the string "/proc/stat".
    3. Change the directory, "/proc" to something like "/pfoo" and write the shared library file back to liborb.so. You now have the required modified liborb.so.
    4. Make the /pfoo directory and cp /proc/stat /pfoo.
    5. Edit /pfoo/stat and duplicate the first line, which should be the cpu line. This will let the metrics parser handle it. Make sure that /pfoo/stat has read access.
    Of course, the values that the metrics code gets are now bogus, but that does not seem to be a fatal problem.
    Hopefully somebody from Oracle is reading this and the real fix will be in the mail soon.

  • IOS 5.1 - Photo Quality STILL broken! When will this be FIXED?

    The update to iOS 5 broke something with ISO capability of the iPhone 4 camera. Flash pictures are fine, with proper ISO (check here if you don't know what ISO is http://www.photoxels.com/tutorial_iso.html
    Low light and non-flash pictures have the wrong ISO since iOS 5 and have LOTS of grain and noise. This has rendered the camera in the iPhone 4 useless since the update from iOS 4. With iOS 4, my pictures had brilliant quality. This was a BIG reason why I purchased this phone in the first place. If you haven't noticed the difference, users who have had the phone since before the update can look at the difference in their pictures since. Massive difference.
    Many have suggest that restoring the device from new (after a backup) can fix this. It doesn't work. At least, not for the iPhone 4. Don't bother. I check regularly for an iOS update, and after seeing one today for iOS 5.1, I was really hoping this issue would be addressed. It wasn't.
    I can't imagine this hasn't been noticed by Apple, but the lack of updates and some sort of status to their customers is incredibly irritating. When will this be fixed?
    Robert Heaney

    if you have nothing useful to add, why bother? I'm trying to find a solution to a problem that I KNOW many, many other people are experiencing...
    I don't really care much if Apple reads this, I'm just trying to find a solution. Geez.
    If you genuinely were just looking for other users help to fix a problem, and weren't expecting Apple to read or respond you wouldn't have titleled this thread as you did.  You wouldn't have said: "I can't imagine this hasn't been noticed by Apple, but the lack of updates and some sort of status to their customers is incredibly irritating. When will this be fixed?" It is YOU who are trolling by deliberately posting inflamatory and misleading statements.
    The probolem is clearly in YOUR DEVICE.  Maybe there is a a hardware issue.  However, the other 99.999+% don't have the issue - and we're not bilind, oblivious idiots either.

  • When I open entourage a message stating Database Deamon Fatal error appears

    when I open entourage a message stating Database Deamon Fatal error appears with an OK sign to force quit entourage

    Try this:
    inside the Microsoft Office directory of the local applications folder, you will find a sub-directory entitled “Office” which contains the application called “Microsoft Database Utility”. When executed the application offers you the option of rebuilding the database. Choosing this option will fix the issues and create a backup.

Maybe you are looking for

  • Oracle VM Server 2.2 Linux Guest cannot ntp to server properly

    Hi All, I have installed a VM guest Oracle Linux Enterprise 5U6 in Oracle VM server 2.2. I follow below procedure to config NTP in VM server. https://blogs.oracle.com/virtualization/entry/configuring_ntp_services_for_oracle However, when I apply the

  • How can i download realplayer in to my iphone4?

    How can i download real player in to my iphone4?

  • Syncing iPhone to iPad?

    Can you sync your iPhone to iTunes via your iPad?  I can't get my iPhone to show up on iTunes via the iPad?

  • Move request stuck

    Hi I have a user where I removed the failed moverequest. If I take a look at the user at the on-premise EMC he still has the little Move Request ICON. I can not move him again now. I tried to create a migration batch from Office 365, but that was "st

  • 10 gig iPod won't connect.....

    Greetings I've changed the original battery from the 1st gen 10 gig scroll wheel, but now the iPod won't connect. It has lost its charging indicator, but feels warm to the touch. I can still play all the music that is on there, but can't see it via i