[mod_python] under names

Robert Synnott rsynnott at gmail.com
Fri Jun 16 15:03:29 EDT 2006

On 6/16/06, David Bear <David.Bear at asu.edu> wrote:
> I know that using an underscore in an identifier 'hides' that name
> from being accessible to a url. I am wondering if that applies to
> identifiers that are imported as well.
> For example if,
> from mydefines import *
> makes an identifier mydefines.myvariable available in the namespace as
> 'myvariable', is it still possible to 'call' myvariable via url as in
> http://myserver/pythonapp.py/myvariable
> I am starting to wonder about the best way to keep certain functions
> and variables obaque to prying web eyes, and if putting them in
> modules offers any protection.
> --
> David Bear
> phone:  480-965-8257
> fax:    480-965-9189
> College of Public Programs/ASU
> Wilson Hall 232
> Tempe, AZ 85287-0803
>  "Beware the IP portfolio, everyone will be suspect of trespassing"
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python

There was an issue in early versions where functions from modules were
exposed, but I THINK they're now hidden. May be wrong though.

More information about the Mod_python mailing list