Page 1 of 1

Uploaded documents to a DB and making read only?

Posted: Sat Dec 04, 2004 11:32 am
by rp
Hi folks,

Is there a way in which documents uploaded to a php/sql DB can be converted into read only files - eg: I upload a word doc (.doc) but I ONLY want it to be read only by users of the DB?

Don't know if this is possible - the project I am working on may involve any number of file format uploads - .doc. xls .gif etc.. BUT once uploaded we need to make sure that they cannot be changed.

Posted: Sat Dec 04, 2004 12:05 pm
by kettle_drum
It would only be possible through your own interface, i.e. you only access the files through your own methods which then check to see if the data can be modified.

Posted: Sat Dec 04, 2004 1:58 pm
by rp
thanks kettle drum, I think I understand