PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.databases.mysql > Criptazione dati
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Criptazione dati

Réponse
 
LinkBack Outils de la discussion
Vieux 24/10/2007, 15h11   #1
Marco Cotroneo
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Criptazione dati

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

Grazie
Marco
  Réponse avec citation
Vieux 24/10/2007, 15h15   #2
Marco Cotroneo
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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


  Réponse avec citation
Vieux 24/10/2007, 16h43   #3
lark
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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)
  Réponse avec citation
Vieux 25/10/2007, 10h52   #4
Marco Cotroneo
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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)

  Réponse avec citation
Vieux 25/10/2007, 18h31   #5
lark
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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 s out.
  Réponse avec citation
Vieux 31/10/2007, 15h23   #6
Peter H. Coffin
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 09h27.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12957 seconds with 14 queries