Html db over-privileging

I've looked at this in a previous release, and am curious if there is any way to prevent over-privileging when provisioning a workspace using 2.0.0.00.49?
Create a simple user:
SQL> create user htmldbtest identified by htmldb
  2  default tablespace htmldb
  3  temporary tablespace temp
  4  quota unlimited on htmldb;
User created.Now grant the user the only privileges it will require using the principle of least-privilege:
SQL> grant create session,
  2        create table
  3  to    htmldbtest;
Grant succeeded.-- provision a new workspace using the schema --
Let's see what roles and privileges the user has now:
SQL> col granted_role for a24
SQL> col admin_option for a12
SQL> col default_role for a12
SQL>
SQL> select   *
  2  from     dba_role_privs
  3  where    grantee = 'HTMLDBTEST'
  4  order by granted_role;
GRANTEE                        GRANTED_ROLE             ADMIN_OPTION DEFAULT_ROLE
HTMLDBTEST                     CONNECT                  NO           YES
1 row selected.Hey! - I didn't grant the CONNECT role. However, since I am using 10g Release 2, the grant is limited:
SQL> select   *
  2  from     dba_sys_privs
  3  where    grantee = 'CONNECT'
  4  order by privilege;
GRANTEE                        PRIVILEGE                                ADMIN_OPTION
CONNECT                        CREATE SESSION                           NO
1 row selected.But, let's look at the privileges that have now been directly granted to the user:
SQL> select   *
  2  from     dba_sys_privs
  3  where    grantee = 'HTMLDBTEST'
  4  order by privilege;
GRANTEE                        PRIVILEGE                                ADMIN_OPTION
HTMLDBTEST                     CREATE ANY CONTEXT                       NO
HTMLDBTEST                     CREATE CLUSTER                           NO
HTMLDBTEST                     CREATE DATABASE LINK                     NO
HTMLDBTEST                     CREATE DIMENSION                         NO
HTMLDBTEST                     CREATE INDEXTYPE                         NO
HTMLDBTEST                     CREATE JOB                               NO
HTMLDBTEST                     CREATE LIBRARY                           NO
HTMLDBTEST                     CREATE MATERIALIZED VIEW                 NO
HTMLDBTEST                     CREATE OPERATOR                          NO
HTMLDBTEST                     CREATE PROCEDURE                         NO
HTMLDBTEST                     CREATE SEQUENCE                          NO
HTMLDBTEST                     CREATE SESSION                           NO
HTMLDBTEST                     CREATE SYNONYM                           NO
HTMLDBTEST                     CREATE TABLE                             NO
HTMLDBTEST                     CREATE TRIGGER                           NO
HTMLDBTEST                     CREATE TYPE                              NO
HTMLDBTEST                     CREATE VIEW                              NO
17 rows selected.Ouch. I definitely don't want the user to have these privileges especially "CREATE DATABASE LINK", "CREATE LIBRARY", and "CREATE JOB". Rather than manually removing these excessive privileges ex post provisioning is there any option to prevent the granting?
Thanks,
Mark
[edit]
Changed "principal" to "principle"
[edit]
Message was edited by:
Mark A. Williams

Mark,
1. Principle.
2. No, there is no way to prevent it.
3. Your point is well understood. We've pared this back quite a bit in the XE release and I'm sure this change will be carried forward into all versions.
4. Future versions of the product will recognize if a user has obtained privileges via roles which will obviate much direct privilege granting.
Scott

Similar Messages

  • What does HTML have over PDFs when working with data?

    I'm doing some research for a client whose company is moving from PDFs to HTML for their in-house user interfaces.
    What does HTML have over PDFs when working with data?
    Thanks!
    Luke

    PDFs can indeed work with data and can be programmed with javascript. You can do some pretty interesting things with it. It is even possible to create interactive forms on the web using PDF, however it requires server-side support. As a general rule, though, PDFs are terrible as a web interface and it's far easier to work with HTML and PHP.
    HTML is lightweight and PDF isn't (in case that seems like a small thing, it's actually a big negative for PDFs). The success of your PDFs will depend on the versions of acrobat your users use, and getting data in and out of the PDFs will require learning far more about Acrobat's FDF format and XML implementation than you may want to know.

  • [svn] 3316: Switch html wrappers over to using swfobject.

    Revision: 3316
    Author: [email protected]
    Date: 2008-09-23 11:55:06 -0700 (Tue, 23 Sep 2008)
    Log Message:
    Switch html wrappers over to using swfobject. There is only one copy of the template file index.template.html and swfobject.js in templates\swfobject. For now, until I9 when we get sync'ed with FlexBuilder, the build will generate each flavor of the template and deposit them in the usual directory structure, client-side-detection, express-installation, no-player-detection, and *-with-history directories, as expected by FlexBuilder. The old tokens which FlexBuilder and the html-wrapper task use to substitute values are still being used.
    QA: Steve Erat has a matrix of browsers and configurations which he has already tested. A few problems were found with browser history management which did not have anything to do with this change.
    Modified Paths:
    flex/sdk/trunk/build.xml
    flex/sdk/trunk/frameworks/build.xml
    Added Paths:
    flex/sdk/trunk/templates/build.xml
    flex/sdk/trunk/templates/swfobject/playerProductInstall.swf
    Removed Paths:
    flex/sdk/trunk/frameworks/javascript/FABridge/samples/srcview/SourceTree.html
    flex/sdk/trunk/frameworks/javascript/FABridge/samples/srcview/swfobject.js
    flex/sdk/trunk/templates/client-side-detection/AC_OETags.js
    flex/sdk/trunk/templates/client-side-detection/index.template.html
    flex/sdk/trunk/templates/client-side-detection-with-history/AC_OETags.js
    flex/sdk/trunk/templates/client-side-detection-with-history/history/
    flex/sdk/trunk/templates/client-side-detection-with-history/index.template.html
    flex/sdk/trunk/templates/express-installation/AC_OETags.js
    flex/sdk/trunk/templates/express-installation/index.template.html
    flex/sdk/trunk/templates/express-installation/playerProductInstall.swf
    flex/sdk/trunk/templates/express-installation-with-history/AC_OETags.js
    flex/sdk/trunk/templates/express-installation-with-history/history/
    flex/sdk/trunk/templates/express-installation-with-history/index.template.html
    flex/sdk/trunk/templates/express-installation-with-history/playerProductInstall.swf
    flex/sdk/trunk/templates/no-player-detection/AC_OETags.js
    flex/sdk/trunk/templates/no-player-detection/index.template.html
    flex/sdk/trunk/templates/no-player-detection-with-history/AC_OETags.js
    flex/sdk/trunk/templates/no-player-detection-with-history/history/
    flex/sdk/trunk/templates/no-player-detection-with-history/index.template.html
    Property Changed:
    flex/sdk/trunk/templates/client-side-detection/
    flex/sdk/trunk/templates/client-side-detection-with-history/
    flex/sdk/trunk/templates/express-installation/
    flex/sdk/trunk/templates/express-installation-with-history/
    flex/sdk/trunk/templates/no-player-detection/
    flex/sdk/trunk/templates/no-player-detection-with-history/

    If you have metalink.oracle.com access please download <Note:266439.1>
    This has all the relevant information.
    Regards
    Grant Ronald
    Forms Product Management

  • HTML hovering over thumbnail to bring up larger image on top of it. How?

    I am new to site and first question. So hope not too silly.    I wish to have lots of small thumbnails on page and when mouse hovers over each individual thumbnail it will enlarge into a larger image - on top of the thumbnail mouse is over.   Thanks to Nancy O answering Bravats question on this, I found the following HTML from Nancy,  however..... am darned if I am able to have the image hover exactly over the thumbnail.    Not to left, not to right, etc etc,   but over top of thumbnail.    Can someone please tell me what to put in where to make this happen?  Thank you.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Disjointed Image Rollovers</title>
    <style type="text/css">
    /**BEGIN DISJOINTED IMAGE ROLLOVERS**/
    #rollover a {
    border:none;
    text-decoration:none;
    padding: 0 0.5em 0 0.5em; /**space between small icons**/
    /**remove this rule if all full size images are to share the same display area. **/
    #rollover a span {
    visibility:hidden;
    background-color: #FFF;
    display:block;
    position: absolute;
    /**adjust location of full size images**/
    left: 50%;
    top: 50%;
    /**optional full size image captions**/
    font-size: 12px;
    line-height: 1.2;
    color:#666;
    text-align: center;
    /**optional full size image borders, padding**/
    border: 5px solid orange;
    padding: 5px;
    #rollover a:hover span, #rollover a:active span, #rollover a:focus span {visibility:visible;}
    #rollover a:hover, #rollover a:focus
    {visibility:visible;}
    /**END DISJOINTED ROLLOVERS**/
    </style>
    </head>
    <body>
    <!--begin disjointed rollovers -->
    <div id="rollover">
    <p>
    <a href="#"><img src="SmallIcons/image.png" alt="some description" /><span><img src="FullSize/image.jpg" alt=" " /><br />optional caption #1</span></a>
    <a href="#"><img src="SmallIcons/image.png" alt="some description" /><span><img src="FullSize/image.jpg" alt=" " /><br />optional caption #2</span></a>
    <a href="#"><img src="SmallIcons/image.png" alt="some description" /><span><img src="FullSize/image.jpg" alt=" " /><br />optional caption #3</span></a>
    </p>
    </div>
    <!--end disjointed rollovers -->
    </body>
    </html>

    Here is my Demo.   http://alt-web.com/DEMOS/CSS-Disjointed-Image-Rollover.shtml
    First, #rollover a needs to have position:relative.
    Second, you will need to tweak left & top values to suit your needs.
    #rollover a span {
    visibility:hidden;
    background-color: #FFF;
    display:block;
    position: absolute;
    /**adjust positioning of full size images in px or %**/
    left: 0px;
    top: -140px;
    For better answers, we need a link to your page.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Report generation in HTML, PDF over Word

    Hi,
    I am building a report by generating it in Word, PDF formats. To generate the report with data in a certain format i am using MS Word API to get a better layouts for the content, fonts, alignments, etc. I am able to bring the application with format i require, but the only problem is the performance is pretty poor and if the data is huge it will hang. Hence i am thinking of generating the doc. in PDF , probably i need to use the adobe PDF library and do it. My question here is what is the advantages of generating a report in "HTML" and "PDF" when compared to "Word"? If there is any article on this, pls do provide. Whether the performance will improve? Any ideas of using Adobe PDFAPI, if samples are there pls. do provide as well. I need a help from the gurus regarding this. Please do respond.
    Thanks,
    Rithu

    Thanks Vijay. How can i get the following format through Java , for eg,
    PEDIATRICS                     PODIATRY
    Schwartz, Andrew E, DPM Rithanya,
    51 Hospital Hill Rd. Sharon, blahblah....
    CT 06069 (860) 364-5944 blahhhhhh
    Disidori, Diane, MD&#61557;&#61472; nnnnnnnnn
    28 Old Park Ln. kkkkkkkk
    New Milford, CT 06776 --------------------------------------------------------------------------
    (203) 355-8190
    Danbury Hospital
    Gray Clarke, Virginia L, MD&#61557;
    115 Spencer St
    Winsted, CT 06098
    (860) 364-0536
    22 Upper Main St
    Sharon, CT 06069
    (860) 364-4240
    PLASTIC SURGERY
    Mascardo, Teresita G, MD&#61557;&#61472;
    91 Main St
    Sharon, CT 06069
    (203) 364-5522
    Danbury Hospital, New
    Milford Hospital, Sharon
    Hospital
    Spanish, Tagalog/Filipino
    I tried Jasper Reports, but i able unable to get the above format, moreover these datas will have the heading (title) highlighted, uses different symbols, underlines, uses different styles, fonts, etc. Which i think is only possible through MS WORD Api and can be done only in .NET . How this format can be done in Java? Any ideas guys.

  • HTML form over Flash bkd in Safari

    Hi, I've got a site which uses an animated Flash background
    element which is overlayed with a div containing an HTML form. It
    works fine in every browser I have, except Safari. In Safari, as
    soon as I click in the form, the entire HTML content of the page
    disappears. The form and links will still function, but are
    invisible.
    Does anyone know about this problem? Is there a workaround,
    or am I doing something wrong?
    The page is
    here.
    Please note that the site is in a pretty early stage of
    development, and not a lot of it works, but at least it
    demonstrates the Safari problem.
    Thanks!
    Michael

    i got someone to check on safari if their browser needed
    updating for the flash plug-in but it didnt, still no luck with
    this... I think I will try a few things and see what happens, any
    other ideas though, I really can't explain why its doing
    this?

  • Exporting with alpha for html roll over

    I am doing some animations for use on a website. so that when someone rolls over a particular element it would play a 3secong video of a Jack popping out of his box.
    The video will be uploaded to the server space specified for the website.
    That is the best way/format to export this animation?
    Are there thisng other than resolution to consider?

    Use flash. Render an h.264 and use flash to embed the movie. Any media player is going to give you a player window.
    To make it mobile compatible, set your comp's frame rate to something like 6 or 10, make the comp 2X the size of your roll over to accommodate high rez displays, export an animation codec QuickTime with an alpha channel, bring the movie into Photoshop and save an animated gif from the movie. Much easier implementation too. Just use the gif as a roll over image.

  • Export as HTML changed over time?

    I used to be able to export only the page/pages I had edited if writing to the same folder, now it seems to take/write out many pages for an unknown reason...not all, but a lot. Please advise what I am doing wrong and/or what has changed.

    You said,
         "If you export your .muse site to a local folder, make a few changes to your site, and export again to the same folder, Muse should only write out the files that have changed. Depending on the changes you make in Muse, that might be one page, a few pages, a bunch of pages, or all pages."
    When you say local folder, does that mean when I export to a folder on a server it will behave in the same way? As in only exporting pages with changes? Or does it mean only when exporting to a folder on my machine?

  • Help with layering HTML over Flash?

    I am using stylesheets to layer an html table over a flash element. The page renders properly in Safari but in IE, there are some display problems. The table cell bumps over to the right. Can anyone assist?
    http://www.kleewebdesign.com/hpcc/index2.html

    Start by validation your page here:
    http://validator.w3.org/
    It will tell you that you must declare a DOCTYPE, more info:
    http://www.w3schools.com/tags/tag_doctype.asp
    Then learn how to use Z-indexing here:
    http://www.w3schools.com/cssref/pr_pos_z-index.asp
    You will also need to give the container <div>s declared positions:
    http://www.w3schools.com/css/css_positioning.asp
    Here is example of Flash layered between 2 layers of HTML:
    http://www.cidigitalmedia.com/tutorials/qt/play_qt.html
    Best of luck,
    Adninjastrator

  • Privilege problem after installing 10.4.7 update

    I started experiencing
    1. not able to print to network printer from any applications - get error
    2. Not able to mount fileshare disk on MacBook located on my local network - wheel just spins forever and need to stop process.
    3. Adobe Illustrator and Photoshop silently quit
    After fooling with my system I got no where until I reinstalled the printer drivers for my HP 1320n ... I was then able to print sort of from some applications ... but to get the driver download to install I needed first to setup the root account - could not install it from my privileged admin account - got error saying I did not have enough privilege... it installed great from the root account.
    In fact I discovered that when logged in as root all the 3 problems above whent away?
    I can find no indication as to what went wrong or what I need to fix... any ideas would be most welcome!! I did a disk repair of file protections using the apple disk utility and that did not help.
    p.s.
    I long for the bad old days when my mac was not as secure as fort knox but very usable ... seems I spend too much time over privilege and security problems of which I do not care because my Mac is only used by me in my home..

    Hi
    I had very similar, if not greater problems since 10.4.7. Yes, repair permissions etc, but I have huntch that it you try to verify your start up disk you will get a message saying there are a couple of issues that Disk Utility cannot repaier and that the "task failed on exit" or words to that effect.
    If this is the case you need to repair the disk via "fsck" - as explained by Apple here: http://docs.info.apple.com/article.html?artnum=106214 which says:
    "Start up your computer in single-user mode to reach the command line.
    Note: If necessary, perform a forced restart as described in the Emergency Troubleshooting Handbook that came with your computer. On desktop computers, you can do this by pressing the reset/interrupt button (if there is one) or holding down the power button for several seconds. On portable computers, simultaneously press the Command-Control-power keys. If your portable computer doesn't restart with this method, you may need to reset the Power Manager.
    At the command-line prompt, type /sbin/fsck -fy
    Press Return. fsck will go through five "phases" and then return information about your disk's use and fragmentation. Once it finishes, it'll display this message if no issue is found:
    ** The volume (nameofvolume) appears to be OK
    If fsck found issues and has altered, repaired, or fixed anything, it will display this message:
    *** FILE SYSTEM WAS MODIFIED ***
    Important: If this message appears, repeat the fsck command you typed in step 2 until fsck tells you that your volume appears to be OK (first-pass repairs may uncover additional issues, so this is a normal thing to do).
    When fsck reports that your volume is OK, type reboot at the prompt and then press Return.
    Your computer should start up normally and allow you to log in."
    I did this and it solved a lot of the issues and made everything a lot more stable.
    Hope that helps.
    Rob

  • Adding a html link to a carousel

    i have followed a tutorial to build a flash craousel and have had no problems in building that.  i wanted to add a html link to a section of the carousel but everything i have tried up to now has failed.  All the information is passed through to the carousel from an xml file and everything works fine except for the link.
    i have slightly modified the tutorial so i have an extra box on the information page which holds the web address for the site they are looking at in the portfolio.  i have the address showing up but i cannot use the text as a link.
    the box that i am putting it in is a dynamic text box which has been set up with the following settings
    theLink.html = true;
    theLink.htmlText = t.Link;
    so as far as i know these are set to be able to handle html tags/code but they are not playing games.
    i have tried to pass the link through to the swf file from the xml file with the following code but this just seem to break the whole application.
    Link="<![CDATA[<a href='http://www.acmeart.co.uk/pip_new']]"
    to view how i have the file working upto now please view the link below.
    http://acmeart.co.uk/carousel
    i feel the problem is not with the flash application but more with how i am trying to pass the html link over to the application from the xml file.  i will attach the xml file to the post.

    What I had in mind was to place the link inline in your text. Something like this:
    <item name="valley" full="assets/valley.png"
            title='Book - CD ROM'
            body='This product was a Shockwave holiday card. It began as a jigsaw puzzle. As the puzzle was solved, it opened and displayed the holiday greeting. &lt;a href=&quot;http://www.amazon.com" &gt;Purchase a copy.&lt;a\&gt;'>
        </item>
    The url is right in the text. The html markup is escaped as html entities.

  • Inserting html into a composition in muse

    Hi, I am trying to insert some html into a composition in Muse.  I would like to have a clickable button trigger, and then a kind of overlay opens up with an interactive calculator inside.  I have the html for the calculator, the problem is no matter how I try to insert it into Muse, the calculator either disappears (as well as the trigger) for some reason, or the calculator stays on the page the entire time, losing the whole clickable effect.
    Can someone tell me the best way to do this?

    Hello,
    Which Composition are you trying to Use ? Blank,Featured News, Lightbox Display, Presentation or Tooltip ?
    Also Make Sure to drag and drop the inserted HTML window over the target (Border of target gets activated once you move it over), Hopefully this will work.
    I created the same using Tooltip composition and its working fine. Please take a look at the link.
    Home
    If it do not work then please share the calculator HTML  code that you are inserting so that I can do some test at my end.
    Regards
    Vivek

  • Html will not display in safari

    hey folks, i have to create a webpage for a class. i used textedit to type up the code (and made sure it was in plain text). the page loads just fine in camino and firefox, however safari (and internet explorer) just display a blank white page (but i can still view the source code). it is very important that i get this to work for it to be graded, so any help will be awesome.
    p.s. it is saved as a .html

    hey folks, i have to create a webpage for a class. i
    used textedit to type up the code (and made sure it
    was in plain text). the page loads just fine in
    camino and firefox, however safari (and internet
    explorer) just display a blank white page (but i can
    still view the source code). it is very important
    that i get this to work for it to be graded, so any
    help will be awesome.
    p.s. it is saved as a .html
    hi:
    i tried the basic "hello world" thing in html in textedit, and the same thing happened: it showed the html but not the webpage. i also dragged the .html file over to the safari icon in the dock with the same results.
    i don't have a good answer as to why html written in textedit is doing this. maybe its the way textedit handles the underlying stuff, like ms word.
    or it could be the way safari and ie parse file written in textedit.
    go to http://www.barebones.com/ and download textwrangler. it's free, and html coded in textwrangler acts right in safari.

  • .HTML and .DWT files in folders have 0kb size

    Hey guys,
    I was just setting up a new client on the system and I have an issue with uploading HTML and DWT files through Dreamweaver.  The files end up on the server but each is a 0kb file.  Here are my steps:
    In Partner Portal I created a new site
    I chose to start with a blank slate/template
    I logged in via Dreamweaver CS5's BC Extension as I normally do and set the local directory of the project
    I was moving a static HTML site over to this site so the design and files were done already. So once the project was setup in DW I selected all the files in the project folder and uploaded them to the remote site via the Files panel in DW.
    The upload completed and did not note any errors or problems.
    I logged into the BC Admin and went to update some URLs of the pages and I noticed the first .html file in a folder had 0kb.
    I noticed that this problem only occurred in files that are uploaded to a folder. IE- I had a folder called "contact" and a file index.html inside.  I uploaded this folder and the rest via the Files panel in DW. I DID NOT create the folders through BC first.  The same thing happens with .DWT files too.  Although, in this case, since I had a "Templates" directory locally and I'm assuming one was created by BC on the remote host when I created the account it's probably not having to do with users creating folders through FTP/Files panel in DW.
    The .html files in the root of the site are fine. All my JS and CSS files in their folders are also fine.  It just seems to be .HTML and .DWT files in folders that have 0kb.
    Has anyone seen this? 
    I have to get this site live in a rush tomorrow so I'm either going to delete the folders via FTP and create all the pages/folder first in BC and copy and paste the code over from DW to BC Admin area manually.  I'm not excited about doing that as it will add hours onto this site when moving a static site over should be pretty quick.  Now I have to create all the pages and templates manually.

    I can now confirm that the problem is related to DW or the DW FTP login session. I used WinSCP to FTP my files up and they went up fine.

  • Call PL/SQL Package to Create DB User and assign Privileges

    Hi All,
    I'm sure this has been covered before but I couldn't find anything relevant....
    I'm calling a PL/SQL Process from within an Apex (version 2.0) Page, that ultimately Creates a New DB user.
    I am receiving an ORA-01031: insufficient privileges error. My Application User and the Package owner both have privileges to Create a DB user.
    What am I missing?
    Thanks,
    Mike

    Never, ever grant additional privileges to the apex_public_user account. It achieves nothing and makes the account over-privileged. The only privilege it needs is CREATE SESSION.
    Mike - Your application's parsing schema (I assume that's the package owner) needs to be granted privileges directly and not through roles. I don't know what you mean by your application user's privileges. Those users are not database accounts (unless you are using a dedicated DAD, etc.).
    Scott

Maybe you are looking for

  • Mail Problem - can't 'Reply' or write 'New' email message

    Hi all:) I have a bit of a problem with my mail. When I 'reply' to a message, the sender's address does not come up in the 'to' field. I can type in an address and can put in a subject, but the cursor will not go down to the main body of the message.

  • TM Drive Icon was yellow - is now blue - ?

    Hi, I just wanted to begin using my old drive for my new Mac. Yesterday I deleted the one file from the drive (old TM backup) by moving it to the trash. The following "Empty trash" lasted very long... Then a long backup followed. About 12 hours for 2

  • Macbook to HD TV problem?!?!?

    Please, I have 2007 2.4ghz macbook, with mini dvi out. I have apple adapter that goes mini dvi to dvi, and I have cable that goes dvi to HDMI... But it is not working. when i connect it my macbook screen goes blue, wich is good, but nothing happens o

  • User input in a loop

    Hi, I am trying to write a script where by a user will be prompted to enter a new value each time it loops. So far, the script only prompts me once and the it keeps using the same value over and over again instead of prompting me to insert new value.

  • Low memory startup disk

    Computer very slow or freezes when running 2 programs at the same time. popup: memory low on startup disk. what can i do????? please!!!!