[ sid ]
[ 源代码: django-titofisto ]
软件包:python3-django-titofisto(0.1.2.post1-1)
python3-django-titofisto 的相关链接
Debian 的资源:
下载源码包 django-titofisto:
- [django-titofisto_0.1.2.post1-1.dsc]
- [django-titofisto_0.1.2.post1.orig.tar.gz]
- [django-titofisto_0.1.2.post1-1.debian.tar.xz]
维护小组:
外部的资源:
- 主页 [edugit.org]
相似软件包:
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 有关的软件包
|
|
|
|
-
- dep: python3
- 交互式高级面向对象语言(默认 python3 版本)
-
- dep: python3-django (>= 2.2~)
- High-level Python web development framework