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:
Test connessione come sysdba senza password
Oracle...
Script:
Esempio schema per analisi sui processi e parametri del db
Unix...
Tip:
How remove a file named -r
PLSQL...
Script:
for i in 1.. strutture di controllo
Oracle...
Tip:
UNDEFINE
Oracle...
Faq:
Rename column
Shell scripting...
Script:
Ciclo sul contenuto directory
Basically, a web session can be defined as the timeframe in which a visitor navigates your web site.
Php Funzione mail()
XPath is a language for addressing parts of an XML document.
It is designed to be used by XSLT and XPointer.
Basically, a web session can be defined as the timeframe in which a visitor navigates your web site.
|
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:
Se non viene definite tablespace permanente e temporanea
A good scientist is a person with original ideas.
A good engineer is a person who makes a design that works with as few original ideas as possible. There are no prima donnas in engineering. Freeman Dyson A good scientist is a person with original ideas.
A good engineer is a person who makes a design that works with as few original ideas as possible. There are no prima donnas in engineering. Freeman Dyson
Oracle...
Info:
Which process register the listener services ?
Oracle...
Citazioni:
Designing an efficient Schema ...
Oracle...
Definizioni:
Set di caratteri (Characterset)
Oracle...
Definizioni:
Schema
Shell scripting...
Script:
Array
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 |