全部搜尋項
sid  ]
[ 原始碼: django-titofisto  ]

套件:python3-django-titofisto(0.1.2.post1-1)

python3-django-titofisto 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 django-titofisto

維護小組:

外部的資源:

相似套件:

Django Time-Token File Storage

Titofisto is a simple extension to Django's FileSystemStorage that adds a URL parameter carrying a shared token, which is only valid for a defined period of time.

It is a drop-in replacement for the Django FileSystemStorage, usable if media files are served by Django itself. It does currently not work if media files are served from an independent web server.

The storage and its accompanying view do the following:

 * When a URL to a storage file is generated, a HMAC-based token is generated
 * The token and the timestamp when it was generated are appended as request
   parameters to the URL
 * Upon retrieval of the file through the accompanying view, the requested
   file name and the passed timestamp are used to recalculate the HMAC-based
   token
 * Only if the tokens match, and a configured timeout has not passed, is the
   file served

其他與 python3-django-titofisto 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 python3-django-titofisto

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 7。6 kB41。0 kB [檔案列表]