Criptazione dati

This is a discussion on Criptazione dati within the MySQL Database forums, part of the Database Forums category; Salve! Esiste un modo "automatico" per criptare e decriptare i dati in database mysql? Grazie Marco...


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-24-2007
Marco Cotroneo
 
Posts: n/a
Default Criptazione dati

Salve!
Esiste un modo "automatico" per criptare e decriptare i dati in
database mysql?

Grazie
Marco
Reply With Quote
  #2 (permalink)  
Old 10-24-2007
Marco Cotroneo
 
Posts: n/a
Default Re: Criptazione dati

Marco Cotroneo ha scritto:
> Salve!
> Esiste un modo "automatico" per criptare e decriptare i dati in
> database mysql?
>
> Grazie

Sorry I did not notice it was the english newgroup :)

Is there a way to crypting and decripting an entire mysql database?
I mean, should I manually encrypt decript data in my client application?

thx
Marco


Reply With Quote
  #3 (permalink)  
Old 10-24-2007
lark
 
Posts: n/a
Default Re: Criptazione dati

== Quote from Marco Cotroneo (m.cot@italia.it)'s article
> Marco Cotroneo ha scritto:
> > Salve!
> > Esiste un modo "automatico" per criptare e decriptare i dati in
> > database mysql?
> >
> > Grazie

> Sorry I did not notice it was the english newgroup :)
> Is there a way to crypting and decripting an entire mysql database?
> I mean, should I manually encrypt decript data in my client application?
> thx
> Marco



yes, you have to do it manually as far as i know.
--
POST BY: lark with PHP News Reader ;o)
Reply With Quote
  #4 (permalink)  
Old 10-25-2007
Marco Cotroneo
 
Posts: n/a
Default Re: Criptazione dati

lark ha scritto:
> == Quote from Marco Cotroneo (m.cot@italia.it)'s article
>> Marco Cotroneo ha scritto:
>>> Salve!
>>> Esiste un modo "automatico" per criptare e decriptare i dati in
>>> database mysql?
>>>
>>> Grazie

>> Sorry I did not notice it was the english newgroup :)
>> Is there a way to crypting and decripting an entire mysql database?
>> I mean, should I manually encrypt decript data in my client application?
>> thx
>> Marco

>
>
> yes, you have to do it manually as far as i know.


That means if I use encode or decode functions, I need to encode or
decode on each insert update or select right?
Advice on which decryption function or method to use ?

For e.x. the encode functin need a second parameter to crypt the value,
is there a way to have the sencond parameter stored as a global variable?



thanks for any advice

Marco


> --
> POST BY: lark with PHP News Reader ;o)

Reply With Quote
  #5 (permalink)  
Old 10-25-2007
lark
 
Posts: n/a
Default Re: Criptazione dati

Marco Cotroneo wrote:
> lark ha scritto:
>> == Quote from Marco Cotroneo (m.cot@italia.it)'s article
>>> Marco Cotroneo ha scritto:
>>>> Salve!
>>>> Esiste un modo "automatico" per criptare e decriptare i dati in
>>>> database mysql?
>>>>
>>>> Grazie
>>> Sorry I did not notice it was the english newgroup :)
>>> Is there a way to crypting and decripting an entire mysql database?
>>> I mean, should I manually encrypt decript data in my client application?
>>> thx
>>> Marco

>>
>>
>> yes, you have to do it manually as far as i know.

>
> That means if I use encode or decode functions, I need to encode or
> decode on each insert update or select right?
> Advice on which decryption function or method to use ?
>
> For e.x. the encode functin need a second parameter to crypt the value,
> is there a way to have the sencond parameter stored as a global variable?
>
>
>
> thanks for any advice
>
> Marco
>
>
>> --


that's right. each time you access you'll have to run the function on
the value; however, you have many choices to pick from:

encode and decode (you mentioned)

DES_ENCRYPT(str[,{key_num|key_str}]) and
DES_DECRYPT(crypt_str[,key_str]) which requires that mysql is compiled
with ssl support

encrypt and md5 are a couple of others.

the second param in encode is a password param that you setup when you
run the encode function on the string. hope this helps out.
Reply With Quote
  #6 (permalink)  
Old 10-31-2007
Peter H. Coffin
 
Posts: n/a
Default Re: Criptazione dati

On Wed, 24 Oct 2007 15:15:15 +0200, Marco Cotroneo wrote:
> Marco Cotroneo ha scritto:
>> Salve!
>> Esiste un modo "automatico" per criptare e decriptare i dati in
>> database mysql?
>>
>> Grazie

> Sorry I did not notice it was the english newgroup :)
>
> Is there a way to crypting and decripting an entire mysql database?
> I mean, should I manually encrypt decript data in my client application?


That depends on whom or what you want to hide the data from. If you want
to hide it from database user, you'll want to encrypt from within your
application.

--
When C++ is your hammer, everything looks like a thumb.
-- Steven M. Haflich
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:19 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0