Re: Directory That Allows Create, Delete & Read, But Not Modify?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




(PeteCresswell) wrote:

I'd like to create a directory that anybody can add a document to, anybody can
delete a document from, and anybody can open a document from - but which nobody
can save a modified document to.

I've got a little app that lets people select documents and then adds them to
the directory in question.

The idea is that if a document is in there, it's the Real Deal and nobody had
fooled around with it.

I can live with people being to manually create docs into the folder that are
renamed/modified copies of docs already there. I just don't want anybody to be
able to open document ABC.xls, for instance, and then modify it and save it
under the same name. Somebody saving a modified version and calling it
ABC2.xls, I can live with.

Anybody been here?

The root of this is that I have no guarantee that users will be saving documents
whose suffixes follow any rules known to my app - so I'm opening the docs in VBA
using FollowHyperLink instead of instantiating a pointer to the app in question
and the opening the document ReadOnly. This allows the app to tolerate any
document the user puts in there and has something installed on their PC that
will read it.

Or am I missing some better way to handle this?
--
PeteCresswell

Not possible with windows file systems (or any others that i know of)
the only options are, read, write,execute. the write command means add
to and change. your only option would be to look at some other content
management 3rd party software that can do this.

Flamer.

.



Relevant Pages

  • Re: posting 20050826
    ... App wrote: ... >> Nobody in town likes you. ... >> ifficult. ... Shannon Doherty and Sean Young ...
    (rec.bicycles.tech)
  • Re: Longest Running Process
    ... app about 8 years ago that dials up other computers / collects order details ... Nobody there knows what it does ...
    (borland.public.delphi.non-technical)
  • Re: [Full-disclosure] Re: Case ID 51560370 - Notice of ClaimedInfringement
    ... >>to include a program and license disclosure for a program that you ... nobody has a good algorithm for creating a file that has the ... Modding the p2p app to falsely match specific remote chunks against ...
    (Full-Disclosure)
  • Re: Application monitoring, how?
    ... > apps taking orders via telephony. ... but nobody there looks at that. ... Unhandled execptions are a problem, app hangs, ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Directory That Allows Create, Delete & Read, But Not Modify?
    ... can save a modified document to. ... If you have an NTFS partition, and disable simple file sharing, you can ... assign permissions to user groups in such a way that you achieve what you ...
    (microsoft.public.windowsxp.general)