Auditing usage of ApEx applications and data

Hi there,
I am new to the Oracle forums and asking this question not as a DBA but from a systems security angle...
I am using ApEx to deliver business applications to my user community and I need to know collect audit trail information on system usage. I'd like to obtain information such as:
- which user made a database change, or accessed particular database records
- if a user has tried to access information that they have no rights to see
- if a DBA has created new users or changed access privileges
and so on...
My interest is in finding out firstly if it can be done and, secondly, how it can be achieved and recorded for analysis.
Grateful for any advice!
Many thanks,
HoinviP

We've turned on fine grained audting (FGA) and the coolest part is that oracle automatically picks up the apex application level user name and puts it in the FGA log. I expected our audit logs to have a whole lot of "apex_public_user" or the workspace schema name in the user field, but when you've got a non-public app, the end user's ID gets captured. Just as it should be.
Our app has two layers of auditing. The vendor delivered application level audit logs so that critical application level events are captured. This is just part of the code overhead of the application. In addition we turned on Oracle FGA so that we know every DDL/DML operation that occurs against our most sensitive tables.
The short answer is that if FGA doesn't get you what you want, you'll have to build your own auditing into your app. There is no magic checkbox or setting that will add auditing to your app, though FGA goes a long way if set up properly.
Inside our apex app, our developer put a process on every page that displays sensitive information. The process calls a stored procedure with the user's name, the sensitive field name, its value and the primary key of the record displayed. The process has the same authorization scheme as the sensitive fields. So, if the sensitive data field is displayed, the process is run, if the user cannot see the field, no audit process is run. It actually works pretty well.
We've also written additional Apex Apps that analyze the application level audit logs so that we can track who is looking at what and when. Very useful.

Similar Messages

  • Apex Collections and dates

    Apex Collections and Dates
    I made an earlier posting today on the forum titled “‘ORA-01861: literal does not match format string’ error after my hosting company upgraded to Apex 3.2.” The issue relates to Apex collections and dates. Prior to the hosting company upgrading Apex 3.2 from 3.1 all was working OK. It seemed a reasonable assumption that the issue relates to the upgrade to 3.2. Having tested the code against another Apex 3.2 installation I am satisfied that the issue is not with Apex 3.2. That said, I am still getting the issue on the hosting site.
    To demonstrate the issue to my hosting company and this forum, I put together a simple one page application that demonstrates the issue using the least amount of code.
    I created a page with an ‘On Load – Before header” process that sets up an Apex Collection with a single value of ’20-FEB-2009’ in the c001 element as follows:
    if apex_collection.collection_exists(p_collection_name=>'THEISSUE') then
    apex_collection.delete_collection(p_collection_name=>'THEISSUE');
    end if;
    apex_collection.create_collection(p_collection_name => 'THEISSUE');
    APEX_COLLECTION.ADD_MEMBER(
    p_collection_name => 'THEISSUE',
    p_c001 => '20-FEB-2009');
    I added an SQL REPORT region to the page which uses the Apex Collection as follows:
    select to_date(c001,'DD-MON-YYYY') testdate
    from apex_collections
    where collection_name='THEISSUE'
    and to_date('20-FEB-2009','DD-MON-YYYY')
    = to_date(c001,'DD-MON-YYYY')
    When the page is run I get the ‘ORA-01861: literal does not match format string’ error.
    If I remove the following from the SQL Report Region:
    and to_date('20-FEB-2009','DD-MON-YYYY')
    = to_date(c001,'DD-MON-YYYY')
    and run the page, the date is displayed OK, i.e., c001 is converted to a date OK. This made me wonder whether it does not like the line to_date('20-FEB-2009','DD-MON-YYYY')? So I changed the where code for the report to :
    and to_date(c001,'DD-MON-YYYY')
    = to_date(c001,'DD-MON-YYYY')
    i.e., convert c001 to a date and compare it to itself. The rationale being that if the c001 converts to a date OK, then comparing c001 converted to a date with itself should not give an error. It did it gave the same error ‘ORA-01861’
    It would seem on my hosting site since the upgrade, that Apex and Oracle have problems with Apex Collection elements being converted to dates as part of the where clause.
    Now my understating of Oracle Apex collections in simple terms is that all Apex collections are held in a single Oracle table managed by a series of Apex functions. Given that all Apex collections are in the same table, could the issue be with the Oracle database when it is creating its execution plan for the query? Could Oracle be including the value of c001 from other collections (i.e., when c001 is not in a date format ) in the initial stages of its execution plan?
    I hope the above make sense and thanks in advance.
    Ian

    Scott,
    I believe I have found the answer the statistics on WWV_FLOW_COLLECTIONS$ and WWV_FLOW_COLLECTION_MEMBERS$. are out of date and Oracle is doing a full table scan instead of using the indices to select only the c001 columns that belong to the given collection_id. If I change my simple example to store the date value in c050 it works ok. (In all probability this will be the only collection on the hosted database to use c050).
    I have asked the hosting company to gather stats on all the apex tables.
    Thanks for your help
    Ian

  • Is it legal to create packaged APEX applications and sell them?

    Is it legal to create packaged APEX applications and sell them to Oracle DB licensed clients?
    A.

    No licensing applies to any environment where you have a live database. The exception is that you can try a product without license, but as soon as development of a product of developing/testing of an in-house solution is done, you need to be licensed. Being a partner changes this slightly assuming all parties involved are partners (one sigle tester from the outside shifts it back to full license mode).
    Another situation where license is not needed is to use XE for which no license is required.
    Yet one more way to have al low cost is to use Amazon AWS to set up an image with an included license. The cost per hour is really low so it may be a good model to not have to pay everything upfront.
    You can also reduce license cost by using named user licensing in development assuming there are few people who ned to access the database. Though there are minimums of number of named user licenses you can have depending on edition of the database.
    Overall, knowing your licensing requirements is key. The defense "We didn't know" has been tried before and has not proven to help at all. The cost of an audit will often be a CLM for the person responsible to pay the licenses.

  • Can Bootcamp and Parallels share the same Windows applications and data?

    I'm looking at getting an Intel iMac which will let me throw away my old PC - Yeah!
    I will have a couple of Win apps that I will need to hang on to (Quicken - Quicken for Mac is horrible, but that's another tghread). Anyway, can Bootcamp and Parallels share the same Windows applications and data?
    My thought would be to allow my wife to access Quicken from Parallels and not have to reboot. She will only need lightweight access and the overhead of running virtualization wouldn't impact her. I, on the other hand, would want to occasionally boot natively into Windows and run the same application with the same datafile. Is this possible?
    Thanks and looking forward to joining the MacIntel world!

    Thanks for all of the freplies. I suspected that BootCamp and Parallels could not shar ethe same partition, but wanted to verify. To address some of the other posts:
    Re: Quicken vs MoneyDance - I looked at MoneyDance a while back and while it is comparable to Quicken for Mac, it isn't comparable to Quicken for Windows (ergo, Quicken for Mac isn't comparable to Quicken for Windows!). But, as I said, that is a topic for another thread!
    Re: Using Bootcamp/Parallels for only one app: I actually have several apps that I still need access to on Windows. I work with many business applications than only run/are supported on Windows as well as receive some complex Office documents which Office for Mac cannot handle. Quicken (for Windows 2007) was just the best example of a consumer app where I could see wanting access from both OS X and Windows.

  • How do I transfer my applications and data from one Mac to another?

    I am buying a new Macbook, anyone know how do I transfer my applications and data from old MacBook to New one?

    Or you can be guided bt this 'officail' Apple support document:
    http://support.apple.com/kb/PH4441
    Ciao.
    Csound 1 greetings:  Nothing wrong with a little plagiarism.

  • Can I restore my applications and data from a ML time machine back up to a machine running Lion?

    Because of the horrible battery life with Mountain Lion (10.8.2), I am looking to downgrade to Lion. I have a Time Machine backup of my current machine, running ML. I do not want to restore all the way back to my last Lion backup, because that was a while ago. Basically, I want to backup my current ML hard drive, erase the computer, perform a fresh Lion install, and restore my apps/data using the ML Time Machine backup. Is the ML Time Machine backward compatiable with Lion?

    jgian wrote:
    Because of the horrible battery life with Mountain Lion (10.8.2)
    I am unaware of any battery life problem with Mountain Lion. There are many problems with incompatible 3rd party software, but that is a different problem.
    I wrote a little diagnostic program to help show what might be causing these problems. Download EtreCheck from http://www.etresoft.com/download/EtreCheck.zip, run it, and paste the results here.
    Will the ML Time Machine be backwards compatiable with Lion?
    No. 3rd party application may be fine. Most Apple applications and data will not work.
    Disclaimer: Although EtreCheck is free, there are other links on my site that could give me some form of compensation, financial or otherwise.

  • I had a trouble with my lap top and had to format hard disk and install all soft ware again. could any body tell me how to transfer the application and data in my i phone back to my laptop.

    I had a trouble with my lap top and had to format hard disk and install all soft ware again. could any body tell me how to transfer the application and data in my i phone back to itune.

    You can't. It still thinks that your iPhone is synced with another iTunes library (the one that you had before you reformatted the hard drive.

  • Applications and data disappeared

    Can someone help me; I just installed iTones on my home machine, and after sync I see all my applications and data has vanished. Does anyone know how it can be restored?
    Thank you,
    - sg

    You could always reformat your external drive, as well as change its partition map style to GUID Partition Map, and then clone to that drive. Swap internal drives, boot off the external drive then clone back to the internal drive, obviously after changing to the GUID Partition Map as well.
    My choice of cloning software would be SuperDuper!…
    http://www.shirt-pocket.com/

  • How can deploy the application and data to client?

    As I know, I can burn a CD with http://mobileserver/setup/webtogo/setup.exe and distribute this CD to client to install web-to-go Client.
    But how can I create a package for client to install my application and data?
    What tools should I use? Where can I get the information?
    Can you give/show me a simple example to make a package and install the package?
    Thanks a lot.

    Only the carrier to whom the device is locked can unlock it.
    StraightTalk is not a supported carrier... not all features may work.

  • Enable https on Apex application and now the page wont display

    Hi,
    I enabled https under security, instance on Apex application and now the page wont display. Please help because I wanted to start using https on my url

    Hi,
    I enabled https under security, instance on Apex application and now the page wont display. Please help because I wanted to start using https on my url

  • APEX Application accessing data from two different databases

    Hi All,
    Currently as we all know that APEX Application resides in database and is connected to the schema of that database.
    I want APEX Application to be running and accessing data from two different databases. Elaborating my question,
    Currently, my APEX Production Application is connected with XXXX Schema of DB1 Database(Where APEX Resides). Now I want to add some pages into this APEX Application for REPORT Purpose, But I want to connect this REPORT APEX Pages to get data from Different Schema YYYY for Database DB2.
    Is it possible to configure this scenario?
    The reason for doing this is to avoid the REPORT related (adhoc queries) resource utilization effect on Production DB1 Database.
    Thanks
    Nil

    1. If you do the joining of two or more tables in DB1 then all data is pulled over to DB1 and then the join is executed: so more data over the databaselink and more work for DB1. Better keep the joining stuff where the data resides and just pull exactly that data over that you need.
    2. Don't know about your different block sizes. Seems a nice question for one of the other forums (DBA or SQL).
    3. I mean create synonyms on DB1 for reports VIEWS in DB2.
    Hope all is clear!

  • I have two iPhones and synchronize with the same macbook. How I do segregate both applications and data?

    I have two iPhones and synchronize with the same macbook.  How do I segregate both applications and all the data?

    Hi Jamesdwills,
    Welcome to the Support Communities!
    If you are using the same Apple ID on both devices, the Game Center profile should be the same.
    Check out this information from the iPad User Guide.  Try signing out of the Game Center on both devices and then sign back in with the correct Apple ID:
    Using Game Center
    http://support.apple.com/kb/ht4314
    Game Center settings - iPad User Guide
    http://help.apple.com/ipad/7/#/iPad9a13d039
    Game Center settings
    Go to Settings > Game Center, where you can:
    Sign out (tap your Apple ID)
    Allow invites
    Let nearby players find you
    Edit your Game Center profile (tap your nickname)
    Get friend recommendations from Contacts or Facebook
    Specify which notifications you want for Game Center. Go to Settings > Notifications > Game Center. If Game Center doesn’t appear, turn on Notifications.
    Change restrictions for Game Center. Go to Settings > General > Restrictions.
    Cheers,
    - Judy

  • Domain redirecting to an apex application and page

    Hi,
    Sorry if this thread has been posted before but I did a search on the forum and couldn't find any answers.
    Basically I've set up a new domain name and I've got an installation of Oracle Apex running. I want this domain name to be redirected to my application and 'home' page when the user types my domain name into their browser.
    I've seen examples of how this is done in this forum using virtualhost in the http conf files for standalone versions of htmldb, but not found any info on how to do it in APEX (since these files are installed for apex).
    Is it possible to perform this type of domain redirect in apex??
    I'm using Oracle Apex version 2.01.
    Any info would be greatly appreciated.
    Cheers,
    Kev

    Kev,
    When you say ApEx...do you mean ApEx or do you mean XE?
    You can use the same method shown for a virtualhost section in the main section of your Apache configuration. The apache directives are valid both inside and outside of a virtualhost section.

  • Migrating Endeca Application and Data from development to a production server

    We need to move an Endeca app (including data domain) to a production server from a development server
    I installed EID 3.1 in the prod server successfully and this is what I did after the install:
    1. Created a new application in Studio (name: JULY2014POC)
    2. Manage Pages - Import the .lar file
    3. Copy JULY2014POC.worddat file and JULY2014POC_indexes folder to new server, location: domains/endeca_server_domain/EndecaServer/data with all the servers down. Then restarted endeca server, ps server, and studio server.
    4. When I try to create an Endeca Server connection it gives me error (Connection definition format is valid but unable to connect.)
    5. This is my entry:
      "contextPath": "/endeca-server",
      "currentFunctions": [],
      "dataDomainName": "JULY2014POC",
      "name": "JULY2014POC",
      "port": 7001,
      "restrictedToRoles": ["Administrator"],
      "server": "10.2.192.171"
    6. When I run any endeca-cmd at OS level I get the following Warning (4 times):
    $./endeca-cmd.sh list-dd-profiles
    <Oct 29, 2014 4:51:33 PM EDT> <Warning> <oracle.wsm.resources.policyaccess> <WSM-06210> <An instance of the interface oracle.wsm.policymanager.IUsageTracker bean for the local repository at path "" was not available for configuring the oracle.wsm.policymanager.accessor.BeanAccessor repository accessor for context "ResourcePattern [pattern=DOMAIN/weblogic/endeca_server_domain, subjectType=MANAGED_DOMAIN, terms={PLATFORM=weblogic, SUBJECT_TYPE=MANAGED_DOMAIN, DOMAIN=endeca_server_domain}]".>
    default
    What am I doing wrong?  Can someone please help me?  thank you

    Hi Sergio,
    How the data import and export works is what you have to look into. Whenever you export your content it gets exported to a particular directory. If the same directory should be referenced by the code base as well which would be mentioned in the properties file for fetching the configurations.
    If they are not aligned they won't pick it up. Also you will have to create pages like endeca-server and make it the default page in your properties file.
    Hope u cross this hurdle soon.
    Thanks
    Karthik V

  • Relation between Application and Data Group

    Hello All,
    Can someone please help me to get a query which tells me which Application is associated with which Data Group?
    Thanks,
    Moore

    Moore,
    Query FND_DATA_GROUP_UNITS_V -- http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=FND_DATA_GROUP_UNITS_V&c_owner=APPS&c_type=VIEW
    If the view doesn't satisfy your requirements, then write your own query using the following tables:
    APPLSYS.FND_DATA_GROUPS
    http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=FND_DATA_GROUPS&c_owner=APPLSYS&c_type=TABLE
    APPLSYS.FND_DATA_GROUP_UNITS
    http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=FND_DATA_GROUP_UNITS&c_owner=APPLSYS&c_type=TABLE
    APPLSYS.FND_APPLICATION
    http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=FND_APPLICATION&c_owner=APPLSYS&c_type=TABLE
    Thanks,
    Hussein

Maybe you are looking for

  • IPt + Apple Composite VA Cable = Music through TV speakers?

    I bought a new iPod touch over the weekend, and I plunked down the $49 for Apple's Composite AV cable, as well. I've been real happy with it so far, and the video quality is great -- at least, it looks great on my 10-year old Samsung LDTV (lo-def TV)

  • ICR process for Open item recon.(003)

    Hi All, I facing the problem "Although the field ATYPE contains the value V for vendor documents all uploaded data records in table FBICRC003A are posted with the vendor account in the field RCUST " this is one of the symptom in the note 1154899,but

  • RH9 Crashing When Generating WebHelp - MAJOR Help Needed

    Hello, Our software release date is next Thursday, August 18th, so I'm a bit panicky. What's happening has never happened before. Every time I try to generate WebHelp, RH9 crashes while "Updating Files". There are two of us working on the project...m

  • IPhone service terminated. Can I pay iTouch price for new 2.0 software?

    I terminated my iPhone ATT contract when I moved to out-of-service area (Vermont). All other functions on my iPhone still work and I have an "iTouch" now with a camera. Can I pay Apple the iTouch download fee for the new 2.0 software since I cannot a

  • PMS and Succession Planning

    Hello Experts, i am new to PMS and Succession planning, i requires the templates formats and processes steps and its material for PMS module and also materials for succession planning. and also want to know that is there any requirement of extra Lice