On 24/12/11 07:53 +0530, Sharoon Thomas wrote:
> > So here is the design:
> > 
> > - a Model webdav.shared:
> > 
> >    - URL (checked with startswith)
> >    - key access (perhaps a random UUID)
> >    - user (the user right to use)
> >    - validaty_date
> >    - number_access (number of access allowed)
> 
> I think the field name is not clear. 
> Is it a maximum number of calls allowed forever (not sure its useful) or 
> calls per hour ? or just a 
> counter of the number of calls made so far ?

It was a countdown of access and when reach 0 it is deactivated. But I
think it is a bad idea because:

    - linked to the success of the transaction
    - need writable transaction (bad for security)
    - could be bottleneck by introducing a lock on the record.

> >    - notes
> >    - URL to use with the key
> 
> I presume this is a function filed which will display the URL so that the 
> user can copy and paste ?

Yes.

-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/

Attachment: pgpdSeMr4jL65.pgp
Description: PGP signature

Reply via email to