Database Vault Question on a Test Server

I have a question about database vault. Say I have Database Vault protecting the DBA from viewing table XYZ in producion. If the DBA takes a backup of the production database and clones it onto another test server is table XYZ still protected on that test server? Or because Database Vault is not running against this test server does that mean that the table is wide open now for the DBA to see? Thanks for any help on this.
Edited by: jeff81 on Nov 18, 2010 12:25 PM

findhorn wrote:
> I wondered if the mysql_query function needed a
reference to
> the database?
No, mysql_query() just needs the query. Your problem lies
with quotes in
the query itself. A couple of the values are not in quotes.
There should
also not be a comma before WHERE.
$query_updateAvailability = "UPDATE tbl_availability
SET
satStatus='".mysql_real_escape_string($_POST['satStatus'])."',
sunStatus='".mysql_real_escape_string($_POST['sunStatus'])."'
WHERE
availabilityId='".mysql_real_escape_string($_POST['availabilityId'])."'";
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/

Similar Messages

  • Query on Database Vault

    Hi,
    I am new to Database Vault, and I have set it up in a test environment to explore it.
    I have a question because my setup is behaving little differently compared to what a book says.
    From what I am reading in the book, it says after setting up Database Vault, I should not be able to connect to the database using '/ as sysdba' - but I can.
    Here is what book says -
    $ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.3.0 - Production on Fri Jan 4 15:54:51 2008
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    ERROR:
    ORA-01031: insufficient privileges
    And here is what I see in my environment -
    [home/oracle] sqlplus
    SQL*Plus: Release 10.2.0.4.0 - Production on Tue Sep 14 15:52:13 2010
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    Enter user-name: / as sysdba
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Oracle Label Security, OLAP, Data Mining,
    Oracle Database Vault and Real Application Testing options
    SQL>
    Any idea what I can be missing here?
    Thanks,
    HJ

    Hi
    see this post
    Database Vault on RAC

  • MySQL test server to real server

    Hi all,
    I realise to most people in this forum this will be an easy and very amateur question, but im still fairly new to mySQL databases in Dreamweaver and their connections etc
    Iv been working on an ecommerce site for several weeks and now it is ready to be uploaded and tested on its live internet server, I have a domain with a database set up, I have exported the SQL database into a word document, and imported it into the live server to get the database tables and forms generated in the new server etc.
    I have updated my Dreamweaver site configuration so that now it points to the FTP where i upload the pages and files like i normally do with non-database websites and they have uploaded successfully. Where i am getting confused is about telling my connection to now look to the internet database, as opposed to the testing server on my computer
    I would have guessed at editing the database connection in the 'Databases' panel and entering in the new information, but even when entering in the new data it cannot find anything, but i get the feeling i might be entering in the wrong information as it comes back with an error. Whereas the information before was
    server name: localhost
    username: root
    password:
    I feel im trying to enter in the wrong information, can someone clarify what details i need to enter to make my connection point to my live database rather than my local server
    Many thanks
    Andy

    What I do is put my database log in above the web root, in the same location on both the testing and live servers.So if your website is in a folder called public_html or something like that, then the file with the log in can be in a folder at the save level as public_html, but not within it.This is very important for security.
    The file, then is like this:
    <?php function localhost(){
    $connection = @mysql_connect('localhost', 'root', '');
    if (!$connection) {
      exit('<p>Unable to connect to the ' .
          'database server at this time.</p>');
    if (!@mysql_select_db('name_of_the_database')) {
      exit('<p>Unable to locate the database at this time.</p>');
    }}?>
    This file is called, for instance, db.php You want to have a version of the file for your testing server, as above, and a version for the live environment.
    Then, on your pages, use code like the following to open the database connection:
    <?php require_once '../file_name/.db.php'; ?>

  • Connection test to database failed: could not connect to server

    I restarted one of my HPOV NNMi 9.23 servers this morning and NNMi is no longer loading.  I am seeing the following errors in the logs indicated:
    /var/opt/OV/log/nnm/public/nmsdbmgr.log
    04/06/2015 09:28:05 AM Connection test to database failed: could not connect to server: Connection refused
    Is the server running on host "127.0.0.1" and accepting
    TCP/IP connections on port 5432?
    /var/opt/OV/log/nnm/public/postgres.log
    2015-04-06 09:25:55.312 EDT: :8580:0LOG: could not translate host name "localhost", service "5432" to address: Name or service not known
    2015-04-06 09:25:55.312 EDT: :8580:0WARNING: could not create listen socket for "localhost"
    2015-04-06 09:25:55.312 EDT: :8580:0FATAL: could not create any TCP/IP sockets
    I checked /etc/hosts and found the following entry:
    #; Local
    127.0.0.1 localhost
    From the command line I can ping localhost with no issue.  Not sure why NNMi is not starting at this point. 
    This question was solved.
    View Solution.

    I also attempted to do a reset using nnmresetebdb.ovpl.  I recieved the following:
    Attempting to reset the embedded database...
    Starting nmsdbmgr process for database reset...
    nmsdbmgr process did not restart successfully - please try reset again.
    When I run ovstart -c I receive the following:
    Name PID State Last Message(s)
    OVsPMD 29831 RUNNING -
    pmd 29832 RUNNING Initialization complete.
    nmsdbmgr - NOT_RUNNING - Exit(1)
    ovjboss - UNSTARTABLE -
    nnmaction - UNSTARTABLE -
    ovspmd: Attempt to start HP OpenView services is complete.
    I definitely need some help with this please!  
    Thanks!

  • Installa Oracle Database 10g in a Tests Server

    Good Morning
    I need help about as to Install Oracle10g Database, in a test server.I need Create a Database and later to Restore the last day Backup, in this Database. Please somebody help me
    Regards
    Kevin Koch

    Step 1: Go to http://docs.oracle.com
    Step 2: Download the installation document for your version.
    10g is not a version it is a marketing label. 10.1.0.3 is not 10.2.0.4.
    and you didn't think your operating system important enough to mention.
    Step 3: Follow the installation steps in the document without deviation.
    If you run into a problem ask a specific question and provide sufficient information so someone can help you rather than just giving you a generic answer (such as this).

  • 'Unable to connect to database server' on local test server (CS4)

    I am a php/MySql newb. Have designed static sites in DW since Macromedia DW 4 days.
    I have set up a testing server on my Mac running OSX 10.6.7 using MAMP 1.9.5 and Dreamweaver CS4 to  test my osCommerce store (I like to see what's happening visually, even if I just change a small variable in the code). Although I have imported the store database  from my remote server, and the connection tests in the DW Database  window to the store, mysql, and information schema databases in  Dreamweaver are successful, I still get "Unable to connect to the  database server!" when I try to preview a .php page with Live View or with a browser. I'm using the  correct ports in my site definition (8888 and 8889). MAMP shows Apache  and MySQL running, of course. Have tried logging in as root and as my ususal username witht the correct passwords. Everything seems to be right...but it's  still wrong.
    Do I also need to import the mysql and information  schema databases from my remote server to replace the ones that came  with MAMP? If so, where do I put the information schema db? Although it  shows as a database in PhpMyAdmin, I don't see a folder or doc by that  name anywhere in MAMP - it must be buried pretty deep! (I did find a  file called information_schema_relations.lib.php in  MAMP/bin/phpMyAdmin/libraries. Is that it?)
    Or is it something else entirely?
    Note  that though I'm a fairly savvy user, I am not a developer or coder.  Strictly a GUI/static design guy with a liberal arts education. Keep the answers  simple and in plain English, thanks. 
    Have also posted this on the MAMP forum.

    Hi Kanstantin,
    Ieve tested the database connectivity through sqlplus using SYSTEM. But when I try to connect (Mount the repositiry server from MDM console, I facing  the problem mentioned.
    Please let me know if I need to do anything else.
    For your info:
    The following are the tnsnames entries
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
    MD7 =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = mysapplm)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = MD7)
          (INSTANCE_NAME = MD7)
          (GLOBAL_NAME = MD7)
        (HS = OK)
    The following are the entries in listener.ora file
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = I:\oracle\MD7\102)
          (PROGRAM = extproc)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
          (ADDRESS = (PROTOCOL = TCP)(HOST = mysapplm)(PORT = 1521))
    Regrads,
    Varadhu
    Edited by: Varadhu on Aug 6, 2009 10:49 AM

  • Insert into all tables on a Database on Test Server select from all tables on a database A from production server

     
    hi Friends ,i need a suggestion from  you on how to
    insert data to all tables on a Database  "A " on Test server
    Select data from all tables on  a Database  "A" on Production Server
    where id=123
    Database A is same with Structures on Test and Production also all Tables  will have  Id column in common.
    The purpose of this insert is ,as we all know Production has the latest data and i need to push to test server on request for particular ID only  ( may be weekly once or  twice a week )
    I  have a linked server setup name "LINQ" 
    Example for one table is below , like wise i need a script which does for 154 tables.
    Insert into ABC( id, name)---insert to test server
    Select Id, name  from  LINQ.ProdSerevrname.databasename.ABC where id = 123
    Please help me ..
    Thanks

    Why not use export import wizard for this if you've read access to production?
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Can dw cs3 connect directly to sql server database without a testing server?

    I'm new to dreamweaver but have used script tools that link
    directly to my sql server database.
    Not in dw, so far. As of this early stage, I don't have or
    want to use a web server, and it's blocking me
    without one. I just want to prototype without a testing
    server, directly to my database. And while I'll try php
    later, I didn't want to have to get into it or cold fusion,
    etc. right away.
    Can dw connect directly to sql server database without a
    testing server?
    I'm running XP sp 3 at this point, and don't see IIS. There's
    probably some security issues
    I'll have to tangle with. The goal is for my website to end
    up on the company intRAnet, not the www.
    fwiw, I can Build in Data Link Properties and get a
    successful test to my sql server database via
    Microsoft Data Link, but once I go back and try the test in
    OLE DB Connection it balks on the testing server,
    as I don't have one locally or otherwise. Isn't there a way
    to link to db without a testing server?
    Thanks for any insights.

    Art wrote:
    > You can connect to SQL server using ODBC in windows.
    Yes, you can. However, Dreamweaver's PHP server behaviors
    work only with
    MySQL. To connect to any other database, you need to hand
    code
    everything yourself.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Project Server (SharePoint) - Database Collation question.

    Hi,
    I have been looking at the performance of our SharePoint database server and one of its uses is Project Server.
    Our databases are set as follows
    Project Server Databases (Latin1_General_CI_AS)
    SharePoint Server Content Databases (Latin1_General_CI_AS_KS_WS)
    TempDB (Latin1_General_CI_AS)
    It seems that the Project Server databases should be (SQL_Latin1General_CP1_CI_AS):
    https://technet.microsoft.com/en-us/library/ff800813(v=office.14).aspx
    e.g.
    Database
    Collation
    Project Server Archive
    SQL_Latin1_General_CP1_CI_AS
    Project Server Draft
    SQL_Latin1_General_CP1_CI_AS
    Project Server Published
    SQL_Latin1_General_CP1_CI_AS
    Project Server Reporting
    SQL_Latin1_General_CP1_CI_AS
    SharePoint Server Content
    Latin1_General_CI_AS_KS_WS
    I may be worrying unnecessarily but my understanding was that the tempdb should be the same collation as the user databases (where possible). With the SharePoint content and the Project Server databases on the same instance this is not possible.
    Should I...
    1. Not worry about it (the performance impact is negligable).
    2. Create seperate instances so that the TempDB can match the user databases (I am worried that the overhead of an extra instance will be more than the overhead of different collations).
    3. Implement Contained/Partially contained databases (new possible option)
    4. Something else?
    Also how bad is it that the Project server databases are Latin1_General_CI_AS rather than SQL_Latin1General_CP1_CI_AS.
    Thanks in advance
    Shaun

    Hi Prasanna,
    thank you for taking the time to respond.
    From the link - I read this as Microsoft insisting that you use Latin1_General_CI_AS_KS_WS for the SharePoint content databases and recommending it for the system databases including TempDB?
    Our TempDB is not the same collation as the SharePoint content databases but the same as the Project Server databases. Which brings me back to my original questions.
    From the Technet article:
    The following TechNet Article talks about the SQL Server collation for the SharePoint databases
    http://technet.microsoft.com/en-us/library/cc288970.aspx#section1
    “The SQL Server collation must be configured for case-insensitive. The SQL Server database collation must be configured for case-insensitive, accent-sensitive, Kana-sensitive, and width-sensitive. This is to
    ensure file name uniqueness consistent with the Windows operating system.”
    However, we do not support changing the default collation (Latin1_General_CI_AS_KS_WS) for SharePoint databases to any other collations (CI, AS, KS, WS).
    We support any CI collation for the SQL instance (for master, tempdb databases). However we
    recommend using Latin1_General_CI_AS_KS_WS as the instance default collation (master, tempdb databases).

  • Trying to access a msaccess database on testing server

    hi, wonder if anyone can help me.
    I have been tring to connect to an access database on my ftp site wiothout any luck. The file is stored on the server and every time i try and make a database connection i get the same error, either via a DNS or from a connection string.
    the error is as follows.
    HTTP Error  code 404 file not found
    possible reasons
    1.there is no testingf server running on the machine
    2.the testing server specified for this site does not map to the Http://mywebsite/httpdocs/_mmServerScripts/MMHTTPDB.asp URL. Verify that the URL prefix maps to the root of the site.
    If I upload an .asp page with a <%Response.write(Server.MapPath("/mydatabase.mdb"))%>, when clicked the page returns;D:\inetpub\vhosts\mywebsite\httpdocs\mydatabases.mdb so proving that the server is running asp scripts. this will not work from the live data view , returning the error above. done the same with a time responswrite and works the same, okay when loaded on the server but will not run or link from dreamweaver cs3.
    Any ideas would be grateful, my isp has helped me all they can but even they dont know why i cant get the connection to work.
    all the best, Mark

    >I have been tring to connect to an access database on my ftp site wiothout any luck
    I assume you mean web server as you can't connect to Access via FTP
    Check your paths for your testing server in site manager.

  • Question about Database Vault factors

    Hi All,
    As I understand, Database Vault is able to restrict access to a database based on factors such as IP address and/or Application name.
    1.- From where does Database Vault extract this info (IP address, app name)?
    2.- What if, for some reason, IP changes dynamically (ie. IP address is assigned by a DHCP server) and/or application name cannot be identified? Is there any other way to uniquely identify a client application (MAC address, perhaps)?
    Thanks for any ideas!
    Juan

    Any one, please?
    If this isn't the right forum, please let me know.
    Thanks.

  • Schema export via Oracle data pump with Database Vault enabled question

    Hi,
    I have installed and configured Database Vault on an Oracle 11g-r2-11.2.0.3 to protect a specific schema (SCHEMA_NAME) via a realm. I have followed the following doc:
    http://www.oracle.com/technetwork/database/security/twp-databasevault-dba-bestpractices-199882.pdf
    to ensure that the sys and the system user has sufficient rights to complete a schedule Oracle data pump export operation.
    I.e. I have granted to sys and system the following:
    execute dvsys.dbms_macadm.authorize_scheduler_user('sys','SCHEMA_NAME');
    execute dvsys.dbms_macadm.authorize_scheduler_user('system','SCHEMA_NAME');
    execute dvsys.dbms_macadm.authorize_datapump_user('sys','SCHEMA_NAME');
    execute dvsys.dbms_macadm.authorize_datapump_user('system','SCHEMA_NAME');
    I have also create a second realm on the same schema (SCHEMA_NAME) to allow sys and system to maintain indexes for real-protected tables, To allow a sys and system to maintain indexes for realm-protected tables. This separate realm was created for all their index types: Index, Index Partition, and Indextype, sys and system have been authorized as OWNER to this realm.
    However, when I try and complete an Oracle Data Pump export operation on the schema, I get two errors directly after the following line displayed in the export log:
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/DOMAIN_INDEX/INDEX:
    ORA-39127: unexpected error from call to export_string :=SYS.DBMS_TRANSFORM_EXIMP.INSTANCE_INFO_EXP('AQ$_MGMT_NOTIFY_QTABLE_S','SYSMAN',1,1,'11.02.00.00.00',newblock)
    ORA-01031: insufficient privileges
    ORA-06512: at "SYS.DBMS_TRANSFORM_EXIMP", line 197
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_METADATA", line 9081
    ORA-39127: unexpected error from call to export_string :=SYS.DBMS_TRANSFORM_EXIMP.INSTANCE_INFO_EXP('AQ$_MGMT_LOADER_QTABLE_S','SYSMAN',1,1,'11.02.00.00.00',newblock)
    ORA-01031: insufficient privileges
    ORA-06512: at "SYS.DBMS_TRANSFORM_EXIMP", line 197
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_METADATA", line 9081
    The export is completed but with this errors.
    Any help, suggestions, pointers, etc actually anything will be very welcome at this stage.
    Thank you

    Hi Srini,
    Thank you very much for your help. Unfortunately after having followed the instructions of the DOC I am still getting the same errors ?
    none the less thank you for your input.
    I was also wondering if someone could tell me how to move this thread to the Database Security area of the forum, as I feel I may have posted the thread in the wrong place as it appears to be a Database Vault issue and not an imp/exp problem. ?
    Edited by: zooid on May 20, 2012 10:33 PM
    Edited by: zooid on May 20, 2012 10:36 PM

  • Question about having a test server and a remote server

    Hi,
    using DW CS6
    I have my site setup on a test server XAMPP. Now I want to publish to a remote server. When I select remote server it wants me to define a site. This means having my site listed twice on the site definition box. I can see having the site twice at some point is going to cause me some confusion. Is it necessary to define the site twice? Is there a way to have remote and test on the same site definition go to two different servers?
    Reason I'm asking is because the test server is new to me. I use to have the site set up in a folder on my computer and the site definition was the remote server so hopping between the two was fairly straight forward. I'm just wondering if that is possible now I have the site on XAMPP.
    Thanks

    When you created your site in Dreamweaver, you gave it a name and defined a local site folder, right? You shouldn't have to do that twice to add a remote server.
    In Site Setup > Servers, you will have to define a new server however if you want to keep your testing server. But this should not cause any conflicts, because they are both pointing to the same local folder in XAMPP, right?
    If I know I'm going to need a testing server, I make sure that my site folder is in my XAMPP/htdocs/ folder. That way I don't have to bother with having to keep track of two versions of the same site. Then when it's time to upload it to the remote server, I'm just adding a new server, and checking the "Remote" box.
    One site, two servers ( Local/Network & FTP), no conflicts.

  • How do I setup a php testing server that connects to my web host?

    My web host (webhostingpad.com) has php on it. I need to setup a testing server that connects to this so I can test my site locally.
    My questions are:
    1. Do I set this up as a local network connection or an sftp (same as my remote)?
    2. what information do I put in to make this work?

    1024MB is enough to have 2 instances but You have to know what are going to be the requirements levels of those instances in order to check if your memory is enough.
    The memory is a theme that relate Oracle SGA with RAM in the machine.
    To have a second database server you have to make another installation in a different Oracle Home.
    It is not the same to have 2 instances than 2 Oracle database servers.
    Do you know what is the difference ?
    Joel P�rez

  • Changing the Testing Server

    I have a MySql database on my Mac and I'm using Dreamweaver CS5 to generate dynamic content in PHP.
    For the Site Definitions, I have Dreamweaver configured this way:
    - Local Site Folder: users/bronzino1/mysite
    - Testing Server Folder: Applications/MAMP/htdocs/mysite_test
    - Testing Server Web URL: http://localhost/mysite_test
    Here is what I am not understanding: Every time I go to test the live code on a page, it is saved to "mysite_test." If I just save the page without testing the live code, it gets saved to "mysite." I don't need two copies of every file on my machine, and I'm worried about what's going to happen when I try to test pages with pictures (which are all saved to "mysite" not "mysite_test").
    Is there anyway to make my Local Site folder THE Testing Server Folder?
    Thanks in advance for any help!
    Elizabeth
    PS - Did search the forum for an answer but I just found the same question, and some crickets.

    Hmm, I guees it´s better if you´d post your issues in the regular Dreamweaver Application Development forum, because I fear I can´t be of help with this, as I´m using a Windows machine and am not familiar with how such things works on a Mac.
    I´m also somewhat confused about the "It is a set location proximate to applications, rather than with the rest of my data" scenario you´re describing -- in my world the traditional scenario is this:
    - the "Local Site Folder" is always an absolute path and points to, say, "C:\wampserver\htdocs\whateverfolder\"
    - the "Testing Server Folder" points to the very same directory
    - the "Testing Server Web URL" would normally be "http://localhost/whateverfolder/", but could be different in case you´re configured the Apache Server (and your System) to rather use Virtual Hosts
    It seems as if you´re explicitely tell Dreamweaver to use different physical directories (mysite vs. mysite_test), and I don´t know if this is really supported at all.
    Cheers,
    Günter

Maybe you are looking for