[Tutor] Including files for security.
Dotan Cohen
dotancohen at gmail.com
Sun Aug 24 22:38:41 CEST 2008
2008/8/24 Alan Gauld <alan.gauld at btinternet.com>:
>
> "Dotan Cohen" <dotancohen at gmail.com> wrote
>
>> I think that I will use the open() and read() functions, thanks! I did
>> think of that, but I wanted to know if there was a better wheel
>> invented already.
>
> Another option is to use environment variables to store them.
> These can be set when the server starts up. But a config file
> is ok too.
>
Thanks, I will google that. But I will save it for other uses, as I
don't want to risk an exploit where one could walk the environment and
discover that info. Does Python have an equivalent to phpinfo()?
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ä-ö-ü-ß-Ä-Ö-Ü
More information about the Tutor
mailing list