Em Friday 18 January 2008 12:53:47 Mike Hjorleifsson escreveu:
> regarding this thread, could you point a noob in the right direction
> on where to put the encryption function (in the controller ?) or a lil
> how to for encrypting sensitive data that is going to be stored in a
> database.

I'd put it at the model.  Including the decryption routines for getting the 
data.

You can also use cryptography inside the database, making it all transparent 
for TG and all its layers / components.

In the end, it is all a matter of design.

-- 
Jorge Godoy      <[EMAIL PROTECTED]>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to