protection of directories
kosh
kosh at aesaeion.com
Fri Aug 10 08:05:58 EDT 2001
Alexander Rebholz wrote:
> Hi there,
>
> I don't know nothing at all about python. Unfortunately I have to modify
> a pyhton script anyhow. The problem is the following. A user has to fill
> out a form which will also ask for a password. That form is forwarded to a
> pyhton script. With this script the filled out content of the form is
> forworded via email. Furthermore if the password is correct the user will
> get access to certain directories. Well now the problem: If a user knows
> the correct link of the "password protected" directory, he can get there
> without filling out the form. So I guess I do need a script which will
> check out whether the user did fill out the form before. Can that be done
> with python? Or is there any other simple solution?
>
> TIA, Alex
If this is all webbased stuff the simplest solution I know of is to use
zope. You would just change the permissions on the object to only be
accessbile by a logged in user. From what you have described so far this
kind of feature is just part of zope by default.
More information about the Python-list
mailing list