[web2py] Encrypt uploaded files

2015-06-18 Thread Gaurav Vichare
I want to store uploaded files in encrypted format. I want encrypt all kind of files(PDF, jpg, docx, etc) . And while downloading it should download decrypted file. Currently I am using "openssl unix command ( openssl enc -aes-256-cbc -salt -in input_file -out output_file -k key) to decrypt file

[web2py] web2py: encrypt uploaded files

2012-04-11 Thread naveed
I need to encrypt uploaded files in web2py (for a HIPAA compliant application) preferably with AES. How can I accomplish this?

[web2py] Re: web2py: encrypt uploaded files

2012-04-11 Thread Massimo Di Pierro
What are the specs? Can you store them in an encrypted file system? can you encrypt them with the same password? Should every file be encrypted with a different password? Where should the passwords be stored? On Wednesday, 11 April 2012 11:54:24 UTC-5, naveed wrote: > > I need to encrypt uploade

Re: [web2py] Re: web2py: encrypt uploaded files

2012-04-11 Thread Naveed Ahmed
) in the auth_user table. On a related note, I am planning to encrypt some columns of other tables using the same master password. Your thoughts on this approach? From: Massimo Di Pierro Sent: Wednesday, April 11, 2012 12.13 To: web2py@googlegroups.com Subject: [web2py] Re: web2py: encrypt

Re: [web2py] Re: web2py: encrypt uploaded files

2012-04-11 Thread Massimo Di Pierro
to encrypt some columns of other tables > using the same master password. Your thoughts on this approach? > > > *From:* Massimo Di Pierro > *Sent:* Wednesday, April 11, 2012 12.13 > *To:* web2py@googlegroups.com > *Subject:* [web2py] Re: web2py: encrypt uploaded files

Re: [web2py] Re: web2py: encrypt uploaded files

2012-04-12 Thread Naveed Ahmed
: Massimo Di Pierro Sent: Wednesday, April 11, 2012 13.31 To: web2py@googlegroups.com Subject: Re: [web2py] Re: web2py: encrypt uploaded files Perhaps this can be useful: http://stackoverflow.com/questions/6309958/encrypting-a-file-with-rsa-in-python (look at code in first answer) On Wednesday

RE: [web2py] Re: web2py: encrypt uploaded files

2012-04-12 Thread Alvaro Lizama
2012 13.31 > To: web2py@googlegroups.com (mailto:web2py@googlegroups.com) > Subject: Re: [web2py] Re: web2py: encrypt uploaded files > > > > Perhaps this can be useful: > http://stackoverflow.com/questions/6309958/encrypting-a-file-with-rsa-in-python > (look at code in

Re: [web2py] Re: web2py: encrypt uploaded files

2012-04-12 Thread Derek
ng the user’s password (or >> it’s hash) in the auth_user table. >> >> On a related note, I am planning to encrypt some columns of other tables >> using the same master password. Your thoughts on this approach? >> >> >> *From:* Massimo Di Pier

Re: [web2py] Re: web2py: encrypt uploaded files

2012-04-13 Thread Massimo Di Pierro
this >> master password which is itself encrypted using the user’s password (or >> it’s hash) in the auth_user table. >> >> On a related note, I am planning to encrypt some columns of other tables >> using the same master password. Your thoughts on this approa

Re: [web2py] Re: web2py: encrypt uploaded files

2012-04-26 Thread minhcd
self, but how to >> incorporate it in to web2py’s existing excellent form upload and download >> system. Assuming that we have functions encrypt(file, password) and >> decrypt(file, password) which return the encrypted and decrypted file >> respectively. >> >>

Re: [web2py] Re: web2py: encrypt uploaded files

2012-04-26 Thread minhcd
I wasn’t asking as how to encrypt the file itself, but how to >>> incorporate it in to web2py’s existing excellent form upload and download >>> system. Assuming that we have functions encrypt(file, password) and >>> decrypt(file, password) which return the encrypted and decrypt

Re: [web2py] Re: web2py: encrypt uploaded files

2012-04-26 Thread Richard Galka
;),EncryptedField('secret','upload',password='too >>> >>> many secrets!')) >>> >>> On Thursday, 12 April 2012 16:35:36 UTC-5, naveed wrote: >>>> >>>> I wasn’t asking as how to encrypt the file i

Re: [web2py] Re: web2py: encrypt uploaded files

2012-04-26 Thread Richard Galka
hash) in the auth_user table. > > On a related note, I am planning to encrypt some columns of other tables > using the same master password. Your thoughts on this approach? > > > *From:* Massimo Di Pierro > *Sent:* Wednesday, April 11, 2012 12.13 > *To:* web2py@googlegro