Access over elements of an package... :-)

Hi,
assume i create a package spec and body in a database using a database user id user1... now will others users be able to access or modify elements of the package spec (which are public), or does the user1 needs to grant access???

With our own package our other programs can use any procedure or function in the package spec. When we grant EXECUTE privilege on a package to other users they have the access to call any method in the package spec. They do not have the right to modify the code in any way shape or form, unless they also have the CREATE ANY PROCEDURE system privilege (which only DBA accounts should have).
Some times we need to restrict access to a subset of packaged methods. In that case we need to build an API, a new package consisting of a spec with just that subset of functions and a body that just wraps the calls to the origin package's functions. We only grant other users execute on the new package.
Cheers, APC

Similar Messages

  • I have just purchased photoshop elements and premiere package. I tried to download them but it tells me the serial numbers are inapplicable. I notice the platform says windows and I am using a mac book pro.  It didn't give me an option when purchasing. wh

    I purchased Photoshop Elements and Premiere package today.  I have been trying to download them but it tells me the serial numbers are inapplicable.  I am using a mac book pro and I have just noticed that the platform in my receipt says 'win" .  I don't remember being given an option for mac or windows  when purchasing.  what can i do now?

    Return, cancel, or exchange an Adobe order

  • Ftp and http access over XDB repository is not allowed...

    When I try to execute the following command on a reasonably fresh Oracle 11 installation:
    insert into "XMLTEST" ( "name", "xmlfof" ) values ( 'small', DBMS_XDB.GETCONTENTXMLTYPE('/public/small.xml') );
    -- The schema is correctly registered, the file "small.xml" is in the /public repository folder, the user has every conceivable role and priviledge
    -- http access works fine from a remote location, tried to execute the command on the server and from remote system...
    I get the following error message:
    ORA-31020: Der Vorgang ist nicht zulässig, Ursache: For security reasons, ftp and http access over XDB repository is not allowed on server side ORA-06512: in "XDB.DBMS_XDB", Zeile 1915
    Searching for an answer on the forum didn't produce any concreate explanation... Does anyone have any idea how to solve this problem?

    As it turns out, the XML file contained a reference to a DTD at an external web-site, which caused the problem - it was identical to that described here:
    Re: ORA-31020 when using XML with external DTD or entities
    After removing the reference, everything works perfectly...

  • App not working properly when access over vpn

    hi,
    Strange behavior of application when access through vpn. The application keeps on reloading endlessly. And other application renders completely but when the tab is clicked it will reload the whole page displaying the same tab. Is ADF has an issue when access over proxy?
    Both application is build using ADF 11g and is implemented through regions.
    Thanks in advance.

    I think there something to do with PPR or calling the region or am I missing something? The page that keeps reloading has taskflow with activation is immediate but the refresh is set to IfNeeded. Then the page with tabs, the content of the tab are taskflows as well.
    Thanks in advance.

  • Accessing files in a different package

    Hello,
    Is there a way to access files outside the current package in Java?
    I have a situation where I need to get the URL object out of a file, but it requires the file to be in the current directory of the class, is there a way to access file based on package name?
    URL url = getClass().getResource(filename);
    Your help would be appreciated as always.
    Thanks.
    --Raj                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    This doesn't sound like a package issue as much as it is a classpath issue. If you put an arbitrary directory on your classpath, a call to getResource() will search that directory for the file.

  • How access an element using getElementById() without absolute path?

    hello,
    Currently I'm working on a JSF woodstock project.
    I'm trying to acceess the different components used the JSF page inside a javascript by using document.getElementById()
    this is a part of code in my JSF file. please have a look on it.
    <webuijsf:form id="form1">
                            <webuijsf:panelGroup id="pnlGrpBankListMainContainer" style="left:2px; top:89px; margin-left:1.5%; margin-top:1%; width:50%; position:absolute;">
                                <webuijsf:table augmentTitle="true" title="#{BankList.screenName}" id="table1" paginateButton="true"
                                    paginationControls="true" clearSortButton="true" extraActionTopHtml="style='height:35px'">
                                    <f:facet name="actionsTop" >
                                        <webuijsf:panelGroup id="grpPnlButtons">
                                            <webuijsf:checkbox binding="#{BankList.chkBoxSelectAllItems}" id="chkBoxSelectAllItems" name="chkBoxSelectAllItems" rendered="#{BankList.renderChkBoxAndImgSeparator}"
                                                selectedValue="selectAllItems" onClick="selectAllTableRows(this,'chkBoxBankListSelectedRowId',5);"/>
                                            <webuijsf:image id="imgSeparator" url="/resources/images/select_image_separator.gif" rendered="#{BankList.renderChkBoxAndImgSeparator}" />
                                            <webuijsf:button id="btnAdd" rendered="#{BankList.renderAddButton}"  text="Add" styleClass="btnStyle" immediate="true"
                                                onClick="return openAdd('#{BankList.requestContextPath}/faces/BankEntry.jsp', 500, 755,'Add  #{BankList.screenIdentifier}', '&action=ADD');"/>
                                            <webuijsf:button id="btnEdit"  rendered="#{BankList.renderEditButton}"  text="Edit" styleClass="btnStyle" disabled="#{BankList.disableEditButton}"
                                                onClick = "return openEdit('#{BankList.requestContextPath}/faces/BankEntry.jsp', 'chkBoxBankListSelectedRowId', 500, 755,'Edit  #{BankList.screenIdentifier}', '&action=EDIT');"/>
                                            <webuijsf:button id="btnDelete"  text="Delete" onClick="return confirmRecordsDelete();"  rendered="#{BankList.renderDeleteButton}"  styleClass="btnStyle" disabled="#{BankList.disableDeleteButton}"/>
                                            <webuijsf:button id="btnExportXls" disabled="#{BankList.disableExcelButton}" rendered="#{BankList.renderXlsButton}"
                                                styleClass="btnStyle #{BankList.excelButtonStyleClass}" style="position:relative; margin-left: 10px"
                                                text="x" onMouseOver="setMouseOverStyle(this);" onMouseOut="setMouseOutStyle(this);"
                                                onClick="return openXlsExport('#{BankList.requestContextPath}/faces/Export.jsp', 'chkBoxBankListSelectedRowId', 'Export  #{BankList.screenName}', '&screenIdentifier=#{BankList.screenIdentifier}');">
                                            </webuijsf:button>
                                        </webuijsf:panelGroup>
                                    </f:facet>when i access button element using absolute path like
    document.getElementById("form1:pnlGrpBankListMainContainer:table1:grpPnlButtons:btnEdit") it works fine.
    But when i try to access it using
    document.getElementById("form1:table1:btnEdit") it returns null.
    I've common javascrpt functions for all the screens.
    so i do not want to change the current javascript functionality nor do i want want to specify complete path for an element.
    So is there any way so that i can access the elements without absolute path or any othet solution?
    Edited by: sonali_amonkar on Apr 1, 2008 11:17 PM

    thanks for your reply mjswallow.
    Do you mean that I'll write a new javascript which will accept all the parent elements and inside this method I'lll call the common javascript methods that are present in our project?
    but this solution would result in changing the already existing javascript methods that i coded for all screens. right?
    that is i do not want to change.
    any other solutions you can think of?

  • What does error code 150:30 mean and why can i not access my elements site

    what does error code 150:30 mean I cannot access my element equipment

    ok then so what is the problem I have with this error code

  • Error while accessing container element _ALERT_LOGICAL_SYSTEM

    Hi,
    Getting below error in SLG1 T.Code, I, am getting E-Mail but without any ALERT ID, MESSAGE ID and Interface name pls suggest for the same to solve.
    "Error while accessing container element ALERTLOGICAL_SYSTEM" ERROR IN SLG1
    Rgds,
    MFH

    Did you checked this thread: Alerts problem and log
    Regards,
    Abhishek.

  • How to access the element s in a hashMap with order

    Does anybody know how to access the elements in a hashMap with order.
    I know set is a collection that doesn't gaurantee the order so the iterator of keySet will not gaurantee the order.
    Is there any way to solve this?
    Thanks

    If you mean the order in which the key/value pairs where added to the
    map, have a look at the LinkedHashMap class. If you mean 'natural'
    order, you shouldn't be using a HashMap at all then; have a look at the
    TreeMap class instead.
    kind regards,
    Jos

  • Access Array Elements by Arrays Reference

    Hi there,
    I'm currently working on a vi that writes clusters as recordsets into
    specific tables in a database.
    Due to this I have a problem filling an array of clusters equal to the
    recordset structure of
    a table. I wonder if it might be possible to access each element of an
    array by using the arrays
    reference instead of a local variable. At the moment I couldn't find any
    properly working method for
    that. Is anybody able to giv me some advice or hint?
    Thanks a lot!
    Sebastian Dau

    Sebastian; Be careful about thinking that you have solved your problem because a technique works--or appears to work. The method you are talking about uses excessive resources, is slow and inefficient and is an open source for race conditions. Right now the thing seems to work, what happens when you have other code executing at the same time, accessing the same data? Or say you install the code on a computer that's faster--or slower--than the one you're using now. Will it still work? If not will you be able to figure out why it suddenly stops working? Or why it only seems to work on certain computers? In terms of performance, you always have to go for the best performance you can because you never know how you will want to use the code in
    the future. In other words, you use this VI in one place and you can't notice the performance difference. But what happens when you use this VI in a 100 places in your code? Will the performance loss still be unnoticeable? Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • HTMLDocument - How Can I access an element ?

    Hello,
    I want to try and access the element in an HTMLDocument with a position received from a viewToModel() call (of a JEditorPane).
    I'm not sure what method I use, I think it's the getCharacterElement() of the HTMLDocument root class, but I'm not too sure.
    Could someone give me some advice ?
    thanks
    Kerry

    Hi camickr,
    Well this post is related to my other one you kindly answered earlier ( here )
    Just to recap :
    I'm using a JEditorPane to display HTML and when the user clicks on a part of the web page, for example an image. In response to this mouse event, I want to locate where in the HTML tree the particular item is and (eventually hightlight the corresponding HTML element in a JTree of the entire HTML page). So far this is my code that responds to Mouse events :
    private void jEditorPane1MouseClicked(java.awt.event.MouseEvent evt) {                                          <br />
            // TODO add your handling code here:<br />
            Object o = evt.getSource();<br />
    <br />
            if (o instanceof javax.swing.JEditorPane){<br />
                javax.swing.JEditorPane t = (javax.swing.JEditorPane)o;<br />
                javax.swing.text.Document d = t.getDocument();<br />
    <br />
                java.awt.Point p = evt.getPoint();<br />
                int k = t.viewToModel(p);<br />
                javax.swing.text.Element e = ((javax.swing.text.DefaultStyledDocument)d).getCharacterElement(k);<br />
                javax.swing.JOptionPane.showMessageDialog(null,Integer.toString(k));<br />
                //int comp = o.viewToModel(evt.getPoint());<br />
            }<br />
        }So as you see, I set the value of 'k' to 'nearest representative location in the model.' but then I'm not sure how I use this number to get to the HTML element, which accounts for the last few lines of the code.
    So my problem is I'm not sure what to do with the integer returned from viewToModel().

  • JDOM - Accessing XML Elements

    I have an XML file which have multiple element with same tag but different attribute. If I want to access a specific element with the require attribute, at the moment, I access every element and check it's attribute. Is there a way/method to get an element with the required attribute directly using JDOM

    ehm..
    Can you show how I have to do to get an element from a Xml file using Jdom and Xpath?
    my xml file is like this:
    <catalog>
        <param1>
              <name> XXX </name>
              <price> YYY </price>
        </param1>
        <param2>
              <name> EEE </name>
              <price> RRR </price>
        </param2>
        <param3>
              <name> TTT </name>
              <price> GGG </price>
        </param3>
    </catalog> tnx & bye

  • Slow internet access over 3G

    Since 5/31/12, my internet access over 3G has been super duper slow.
    I can see that a request is going out from the phone, but the phone just sits there saying 'requesting'  this is happening with any site I visit.  Anyone else seeing this behavior?  I live in the San Francisco Bay Area.  I've been seeing this problem in the South Bay and North Bay.

    I have experienced very to to connect for about a week. Contacted support by email yesterday and got this response this morning. Surprisingly, it was better today.
    "There are different factors that affect the speed of your service which
    include both the phone itself and the network signal you are receiving. We
    certainly are not intentional causing any slowness of service to get customers
    to change from the Unlimited Data plan. The plan does not have any bearing on
    the speed of service. To be able to properly determine and resolve your issue we
    need to complete troubleshooting with you. Please contact our Technical Support
    at 800-922-0204 for further assistance. "

  • How to access XML elements by name in Extendscript??

    I'm almost done the script that I've been working on, but something has been nagging me since I started. When I did start, I looked at the JS Tools Guide CS5 that comes with the extendscript ide to check how to access XML elements, children, attributes etc. It says this:
    The XML object represents an XML element node in an XML tree. The topmost XML object for an XML file
    represents the root node. It acts as a list, which contains additional XML objects for each element. These in
    turn contain XML objects for their own member elements, and so on.
    The child elements of an element tree are available as properties of the XML object for the parent. The
    name of the property corresponds to the name of the element. Each property contains an array of XML
    objects, each of which represents one element of the named type.
    So basically it converts the XML into JSON. And you can access the properties like so:
    <book category="COOKING">
         <title lang="en">The Boston Cooking-School Cookbook</title>
         <author>Fannie Merrit Farmer</author>
         <year>1896</year>
         <price>49.99</price>
    </book>
    The Javascript statement bookstoreXML.book; returns the entire list of books.
    The statement bookstoreXML.book[0]; returns the XML object for the first book.
    The statement bookstoreXML.book[0].author; returns all authors of the first book.
    A couple pages down it talks about Retrieving contained elements using children(), elements(), descendants().
    So now I look through the XML Object properties and I see that I can use:
    xmlObj.child (which) which A String, the element name, or a Number, a 0-based index into this node’s child array.
    or
    xmlObj.descendants ([name])
    name Optional. A String, the element name to match. If not provided, matches all
    elements.
    or
    xmlObj.elements (name);
    name Optional. A String, the element name to match. If not provided, matches all
    elements.
    This is an excerpt of an XML I was working with:
    <ROW xmlns="http://www.filemaker.com/fmpdsoresult"
         MODID="16"
         RECORDID="11128">
       <Sign_Type>251.dr</Sign_Type>
       <fm:Location xmlns:fm="http://www.filemaker.com/fmpdsoresult" xmlns="">5-5024</fm:Location>
       <Line1>Zone
    Floor
    3
    Patient Rooms
    R532 - R436 even
    Patient Rooms
    R522 - R446 even
    Xavier Elevators
    Zone
    Patient Rooms
    R537 - 5757 odd
    Main Elevators
    Zone</Line1>
    </ROW>
    Extendscript will not give me an anything when I try to access elements by name. Instead I have to access by index, which works, but I'd rather search for names!
    Actually the console log returns: <![CDATA[]]>
    What am I doing wrong!?

    First, those E4X XML objects are definitely no JSON (plain data) - they have a multitude of methods, even for tasks that would easily be implemented as property (e.g. the length() function), and they also bind xml element and attribute names onto the objects, allowing to target a multitude of XML nodes with a single statement. Or did you mean your script with that "it"?
    Anyway, as you found out the ExtendScript XML object handles namespaces mostly by hiding them from you.
    You could play around with global namespace settings, see the JavaScript tools guide.
    You could also explicitly specify a namespace. This works for me:
    $.writeln(myXML["fm:Location"]);
    For simple use I had most success with a brute force approach that just strips the namespaces.
    function removeAllNamespace(xml)
              var ns =new Namespace();
              var d=xml.descendants();
              for (var i=0;i<d.length();i++)
        d[i].setNamespace(ns);

  • I do not own neither a Mac nor an iOS devices. May I still be able to use all features of Time Capsule, including remote access over the internet?

    As described above.
    I do not own neither a Mac nor an iOS devices. May I still be able to use all features of Time Capsule, including remote access over the internet?

    You will have setup issues.. as the latest AC model requires a Mac or iOS device.. eventually apple will release a windows version of the utility.. and the current one does partly work but Apple seem in no hurry.
    You can find a Mac or iPad equipped friend to do the setup.. once setup the Windows computer can use it.
    BUTT you cannot access it from remote..
    Not with windows. You need BTMM and iCloud account. AFAIK even with those you cannot reach the TC.
    You can do it manually.. using a vpn. Buy a proper vpn router and use a vpn client on the windows computer.. the TC would be in bridge to the network..
    Apple really did not make this for windows.. and SMB access is only provided on LAN access not WAN.

Maybe you are looking for

  • Problem in uploading an excel file in wd abap

    I am trying to upload an excel file in wd abap but on uploading it shows me the data in the form of some codes but when i try to do the same thing using text file it works well.Plese refer the code . METHOD onactionon_upload .   TYPES : BEGIN OF itab

  • ITunes keeps shutting down when I click on iTunes store button

    I am using Windows 7 Pro with the latest version of iTunes, once I call up itunes it opens fine, plays music fine, updates apps fine but when I click on iTunes store it appears to load then the dredded spinning cursor and BAM! the itunes interface di

  • Problem with trial Adobe Master Collection Creative Suite 5.5

    When I download Adobe trial an error message appear : Error during extraction of the product installation program(Error 101). Check the available disk space on your system and try to relaunch the product download.6

  • BPM Admin center automatic startup

    Hi is there any way that weblogic startup automatically the bpm admin center so I only write the url of the bpm workspace??? I understand there's a way to do it automatically How do I make the "install as service" in unix thanks Edited by: Diego Guil

  • ABAP Certification @ SAP TechEd 2011 - Madrid

    Hi All, I would like to know if it is possible to do ABAP certification during SAP TechEd 2011 - Madrid (more specific SAP Certified Development Associate - ABAP) and if yes how do you apply for that and what would the cost be ? Thanx & Regards, Nick