Sure, do it like this. Assuming the page is on "your.page"
[form]
[text newitem]
[submit]
[session authkey foobar]
[session log {=newitem}]
[form]
[(include log.{p})]
Then on site.auth.write, add
log.your.page: @key_foobar
In this way the form will be enabled to write (because it has the
key), but not a user in general
Not tested, but looks right...
Cheers,
Dan
On Thu, Mar 11, 2010 at 3:59 AM, Laurent Najman <[email protected]> wrote:
> Thanks for the answer, it does exactly what I wanted.
>
> However, I feel there is a security problem with that proposal.
> I have been able to use the solution by enabling writing for everyone on the
> log page.
> This page is thus visible by anyone, and also anyone can modify it.
> Of course, the name of the log page is not visible, but still, I am not
> completely satisifed.
>
> Is there a way to give write access only the time needed for registering the
> form?
> Any hint welcome.
>
> Cheers,
> L.
--
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en.