>>: Here in our application, user is uploding its vital information in the form of doucments. Documents can contain pdf, word, image files etc
>>: the problem is that we want to secured our files such that file information and file name can not be access or read by
hosting member of server where we upload it.
>>: what i am thinking is that....1) rename file by some uniqe id and remove its extension. 2) Stored its extension and uniqe id in database.
>>: as a result file will not get open by hosting member and its rename so so....
>>: when user need that file, get extension and file uniqe id from database. Concate both ( unique id + extension ) and dispaly file to user.
>>: so, can you please guide me weather this solution is good or any alternative to do this.
>>: Note: We will host our site in shared server and any how we don't want to show our uploaded file.
the problem is that we want to secured our files such that file information and file name can not be access or read by
hosting member of server where we upload it.
IN addition of your methods: encrypt them. However, the hosting site have your application -so it can decrypt.
IN addition of your methods: encrypt them. However, the hosting site have your application -so it can decrypt.
I don't think encryoting them is an addition to his methods, encrypting is the thing to do! And the ost will have a hard time decrypting, when he uses a key that he enters when uploading the files. Then the host would need to capture this key to decrypt
the file.
But I think if you don't trust your host and security s that imporatant, you better use a dedicated server instead of a shared hosting account....
bhushan13in
Member
54 Points
28 Posts
Securing File and Folder while uploding
Feb 28, 2012 09:43 AM|LINK
Hi all.
>>: Here in our application, user is uploding its vital information in the form of doucments. Documents can contain pdf, word, image files etc
>>: the problem is that we want to secured our files such that file information and file name can not be access or read by hosting member of server where we upload it.
>>: what i am thinking is that....1) rename file by some uniqe id and remove its extension. 2) Stored its extension and uniqe id in database.
>>: as a result file will not get open by hosting member and its rename so so....
>>: when user need that file, get extension and file uniqe id from database. Concate both ( unique id + extension ) and dispaly file to user.
>>: so, can you please guide me weather this solution is good or any alternative to do this.
>>: Note: We will host our site in shared server and any how we don't want to show our uploaded file.
Thanks have look on it.
ignatandrei
All-Star
134511 Points
21576 Posts
Moderator
MVP
Re: Securing File and Folder while uploding
Feb 28, 2012 10:08 AM|LINK
IN addition of your methods: encrypt them. However, the hosting site have your application -so it can decrypt.
bhushan13in
Member
54 Points
28 Posts
Re: Securing File and Folder while uploding
Mar 02, 2012 01:04 PM|LINK
Thanks ignatandrei,
hans_v
All-Star
35986 Points
6550 Posts
Re: Securing File and Folder while uploding
Mar 02, 2012 01:10 PM|LINK
I don't think encryoting them is an addition to his methods, encrypting is the thing to do! And the ost will have a hard time decrypting, when he uses a key that he enters when uploading the files. Then the host would need to capture this key to decrypt the file.
But I think if you don't trust your host and security s that imporatant, you better use a dedicated server instead of a shared hosting account....