Home| Progetto| Web| Faq| Acronimi | ||||
Argomenti Documenti pubblicabili:1120
Scripts:1282 Documenti non pubblicabili:162 Categorie tematiche:68 .Net |_C# |_Visual basic.net |_Asp.net Active Server Pages C++ Cascade Style Sheet JavaScript Mysql Php Xml Java |_Java 2 Micro Edition |_Java server pages |_Java Servlet Oracle |_PLSQL PostgreSQL Unix
Oracle...
Info:
Database buffer cache
Oracle...
Script:
TO_CHAR, double pipe (||)
Unix...
Tip:
Rimuovere un file in Unix / Delete a file
PLSQL...
Script:
Compilazione automatica programmi plsql
Oracle...
Tip:
host ls
Oracle...
Faq:
Rename column
Shell scripting...
Script:
Pulire i file provenienti da ambieti dos/ windoes da caratteri sporchi
Un servizio Web XML è un'unità logica di applicazioni che fornisce dati e servizi ad altre applicazioni.
Le applicazioni accedono ai servizi Web XML tramite protocolli Web universali e formati di dati quali HTTP, XML e SOAP.
Php Funzione mail()
La J2EE (Java 2 Enterprise Edition) è dedicata a tutti coloro che desiderano aggiungere il supporto della versione Enterprise di Java (ad esempio a Tomcat) e quindi le funzionalità avanzate come Enterprise JavaBeans etc.
Un servizio Web XML è un'unità logica di applicazioni che fornisce dati e servizi ad altre applicazioni.
Le applicazioni accedono ai servizi Web XML tramite protocolli Web universali e formati di dati quali HTTP, XML e SOAP.
|
Oracle
Home >Oracle > Basic tricks and suggestions to protect schema password from process grep and sniffing
In unix environment a simple sql or exp/imp activity can jeopardise security. In fact the ps command may allow other users to intercept schema passwords. In this document we will examine some basic safe tecniques. For example let's assume I need to run the following plsql script from unix prompt: --file t.sql --sqlfile make up table t and populate, eg take some time for example sake If to run the script I do issue:
$unixserver [dba] sqlplus -s system/systempassw @t.sql
Another user can easily grep schema and password:
$unixserver [developer] ps -ef | grep sql
oracle 11362 10600 0 16:19:03 pts/1 0:00 sqlplus -s system/systempassw @t.sql Let's try some trick to mask the password using echo systempassw | , to local database:
$unixserver [dba] echo systempassw | sqlplus -s system @t.sql
To remote database:
$unixserver [dba] echo systempassw | sqlplus -s system@CAT01 @t.sql
Other users do not grep password
$unixserver [developer] ps -ef | grep sql
oracle 11709 10600 36 16:28:47 pts/1 0:00 sqlplus -s system @t.sql
Some trick using export import utility, for example classic exp
$unixserver [dba] echo systempassw | exp system tables=t file=t log=t
Or datapump:
$unixserver [dba] echo systempassw | expdp system tables=t dumpfile=t logfile=t directory=DATA_PUMP_DIR
Even in this case, users see the process but not the password. Another way, is first accessing as sqlplus /nolog then using a files connecting schema and password (start.sql does connect system and then it runs t.sql script):
-- file start.sql
conn system/systempassw @t.sql exit To run it, just prompt:
$unixserver [dba] sqlplus -s /nolog @start.sql
Users can just grep only the process:
$unixserver [developer] ps -ef | grep sql
oracle 12314 10600 48 16:44:23 pts/1 0:00 sqlplus -s /nolog @start.sql You can use same construct in shell scripting:
#!/bin/ksh
#file -run.ksh sqlplus -s /nolog< spool mylog.LOG @t.sql spool off quit ef Once again other users will not grep any passwords. Happy safe programming, then. marco magnani database administrator Warning: include(ads/text468x15.html): failed to open stream: No such file or directory in D:\inetpub\webs\fishscriptcom\documents\view_document.php on line 131 Warning: include(): Failed opening 'ads/text468x15.html' for inclusion (include_path='.;C:\php\pear') in D:\inetpub\webs\fishscriptcom\documents\view_document.php on line 131 Tutorial ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Script ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Comandi ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Codici errore ![]() ![]() ![]() ![]() ![]() |
Cerca
Oracle...
Info:
Spazio su disco per motore Oracle 10g
Well-formedness is a new concept introduced by [XML]. Essentially this means that all elements must either have closing tags or be written in a special form (as described below), and that all the elements must nest properly.
Well-formedness is a new concept introduced by [XML]. Essentially this means that all elements must either have closing tags or be written in a special form (as described below), and that all the elements must nest properly.
Oracle...
Info:
Database buffer cache
Oracle...
Citazioni:
Designing an efficient Schema ...
Oracle...
Definizioni:
Transazione
Oracle...
Definizioni:
Transazione
Shell scripting...
Script:
if e else
fishScript.Com is accessible by Mobile access technology
as mobile phones, Palm and Pocket PC .
Nicoleta e Marco Magnani tutorial, examples, courses, esempi, corsi, esercizi, appunti vari Dottoressa Nicoleta Dragu Formatrice Docente Insegnante Mediatrice Culturale Dott. Marco Magnani Universita La Sapienza Roma Master Computer Science Hunter College New York , Data Base Administrator DBA oracle System architect |