Files/Download Manager For Discourse

I think that your best bet for that is to host the files somewhere with access control, ACLs and stuff. Google Docs/Drive is a good example of that.

3개의 좋아요

Hmm. Or possibly OwnCloud. At least an idea to explore!

3개의 좋아요

any new idea for media/file manager ??

My «Restrict Files» plugin solves the problem of access control to forum digital content (downloads).
The forum owner can grant the download permissions only to a particular forum groups / or to users with specified trust level and withdraw download permissions from other groups / users.
An example of restricted file: http://discourse.pro/file/113
You can not download it neither anonymously nor by just registering on the forum.
You must be a member of permitted user group to download the file.
You can test it yourself:
A test account without download permissions: login: test_bob, password: 123456
A test account with download permissions: login: test_john, password: 654321
A file is always permitted to be downloaded by its uploader.

여기에 제공된 예시를 정말 좋아합니다.

업로드된 이미지와 관련하여 궁금한 점이 있습니다.

저는 종종 이미지를 업로드했다가 마음을 바꿔 삭제하고, 다른 이미지를 업로드하곤 합니다.

그렇게 사용되지 않는 업로드 파일은 어딘가에 여전히 저장되어 있을 거라고 추정합니다.

어딘가에 실제로 표시되지 않거나 어떤 주제에도 첨부되지 않은 파일을 자동으로 삭제하는 기능이 있을까요? 그런 기능은 없을 것 같다고 생각합니다.

@tobiaseigen이 제시한 예시처럼 인스턴스에서 사용 중인 파일 목록을 볼 수 있으면 좋겠지만, 해당 자산이 어디에 사용/표시되는지(또는 사용/표시되지 않는지)도 함께 알 수 있으면 좋겠습니다.

아마도 이 정도는 매우 드문 사용 사례라서 이런 기능을 개발할 가치가 없을 수도 있습니다. 2MB는 저장 공간에 큰 차이를 만들지 않으니… 하지만 이런 일이 많이 발생하면, 큰 포럼에서 시간이 지나면서… 더 큰 문제가 될 수도 있겠죠. ¯\_(ツ)_/¯

업데이트: 이 기능이 구현되었습니다.

https://meta.discourse.org/t/secure-media-uploads/meta/140017

4개의 좋아요

네, 삭제되지 않은 어떤 게시물에도 존재하지 않는 파일은 (7일?) 후에 “tombstoned”(무덤 처리)되고, 그 후 (14일?) 후에 삭제됩니다.

5개의 좋아요