Thanks for good product !
I am trying to make a read-only file system ,based on DotNetFileSystem but with a access list from database.
this code works (the DNFS taking the list of files from SQL, and the files from the disk).
I tried to find the Options header list, on the source code, found all the HTTP Methods.
I am trying to remove the COPY, MOVE, etc, but could not remove them, as they scan for IHandler without the option to disable it .
For now I was found this (ugly) way, but Windows is trying to update the files or create files like desktop.ini, and similar.
public async Task<Stream> CreateAsync(CancellationToken cancellationToken) {
throw new ArgumentException("cant write");
}
I tried also to rewrite the AddWebDav function, but its a ugly workaround.
How to implement a ReadOnly attr, so the client will recognise the status and will not try to modify/lock the files ?
Thanks for good product !
I am trying to make a read-only file system ,based on DotNetFileSystem but with a access list from database.
this code works (the DNFS taking the list of files from SQL, and the files from the disk).
I tried to find the
Optionsheader list, on the source code, found all the HTTP Methods.I am trying to remove the
COPY,MOVE, etc, but could not remove them, as they scan forIHandlerwithout the option to disable it .For now I was found this (ugly) way, but Windows is trying to update the files or create files like
desktop.ini, and similar.I tried also to rewrite the
AddWebDavfunction, but its a ugly workaround.How to implement a
ReadOnlyattr, so the client will recognise the status and will not try to modify/lock the files ?