Project

General

Profile

Actions

Feature proposal #6683

closed

Implement web store functionality

Added by krileon about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Start date:
23 June 2017
Due date:
% Done:

100%

Estimated time:

Description

This should force the web store template. Probably should block multi-package downloads, but that can be tested further on implementation. It needs to be able to give CB and Joomla download by url a download url that works. Since it's a GET request it'll have no user data. So the URL needs to use an access token. The access token should use the following criteria.

1. Be linked to the user
2. Be linked to the package
3. Single use
4. Short lived

So for example you'd have user_id | token | date database table. The token should only last probably 5-10 minutes (make a param for this). Once used it must delete (maybe support a param for number of uses?). The token then causes the download to be subject to access/condition checks against the stored user id.

Actions

Also available in: Atom PDF