[Typo3] Protected download was: Form: pull <select>-options from PHP user-function

Peter Russ peter.russ at 4many.net
Wed Jul 27 18:02:11 CEST 2005


Felix Natter wrote:

> thanks for suggestion! Meanwhile I tried two download-archive extensions
> (vcd_archive and nf_downloads), but this solution has a problem:
> the user can easily skip the registration by remembering the page id

WRONG

> of the download-page (or even place a bookmark).
> 
> So I need to look for another solution. I see two possible ways of doing it:
> 
> 1. when the user submits the registration-form the download will immediately
>   begin (still not 100% safe, but more difficult to trick). This requires that
>   the user selects the download in the form.  I would need a way to pull the
>   <select>-options from the DB or from a directory listing. Alternatively I
>   could drop the idea of using a typo3-form and write a custom php-script for
>   that.
> 
> 2. I would create a group for FE-users ("customers"), and open up the
>   download-page only for registered FE-users which are in that group. This would
>   require adapting fe_users, and I'd need to track down the fe_users-record on
>   each download.
> 
> Any ideas on this? Would 2. be too complex?
> 
> thanks in advance,
> 

nf_downloads could handle that in combination with sr_feuser_register.

Regs. Peter.

-- 
_____________________________
4Many® Services
openBC: http://www.openbc.com/go/invuid/Peter_Russ



More information about the TYPO3-english mailing list