Re: [PHP-DOC] Re: PHP: Cool PHP Tips

2001-11-25 Thread Nelson Sampaio Araujo Junior
TECTED]>; <[EMAIL PROTECTED]> Sent: Sunday, November 25, 2001 7:32 PM Subject: Re: [PHP-DOC] Re: PHP: Cool PHP Tips > > > 1. always use ".php" (or > > > ".php3" for earlier versions) file name extensions for > > > include files, otherwise, c

Re: [PHP-DOC] Re: PHP: Cool PHP Tips

2001-11-25 Thread Johannes Froemter
>> Simple, but unsafe. $HTTP_REFERER is not suited for security >> related purposes >I thought about adding this note. It is not secure, >but it adds to the security level of your scripts. Well, but on the other hand you exclude users from using your script/application, because proxies (e.g. We

Re: [PHP-DOC] Re: PHP: Cool PHP Tips

2001-11-25 Thread Gabor Hojtsy
> > > 1. always use ".php" (or > > > ".php3" for earlier versions) file name extensions for > > > include files, otherwise, crackers can view your > > > code. > > It should be writen in other way. We should warn about that > danger and inform about few methods of solving that problem. Way > other

Re: [PHP-DOC] Re: PHP: Cool PHP Tips

2001-11-25 Thread Leszek KrupiƄski
On Sun, 25 Nov 2001, Hojtsy Gabor wrote: > > 1. always use ".php" (or > > ".php3" for earlier versions) file name extensions for > > include files, otherwise, crackers can view your > > code. It should be writen in other way. We should warn about that danger and inform about few methods of solvi

Re: [PHP-DOC] Re: PHP: Cool PHP Tips

2001-11-25 Thread Gabor Hojtsy
> >[Using HTTP_REFERER for security purposes] > > > >Simple, effective, and safe. > > Simple, but unsafe. $HTTP_REFERER is not suited for security > related purposes, because > > - it's optional, you cannot rely on it's presence > - it's easy to manipulate I thought about adding this note. It i

Re: [PHP-DOC] Re: PHP: Cool PHP Tips

2001-11-25 Thread Johannes Froemter
>[Using HTTP_REFERER for security purposes] > >Simple, effective, and safe. Simple, but unsafe. $HTTP_REFERER is not suited for security related purposes, because - it's optional, you cannot rely on it's presence - it's easy to manipulate -- Johannes

[PHP-DOC] Re: PHP: Cool PHP Tips

2001-11-25 Thread Gabor Hojtsy
Forwarding these tips to phpdoc. Can somebody please add this to the security documentation? Vip, thanks for the tips... Goba - Original Message - From: "Vip Malixi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 23, 2001 11:22 PM Subject: Re: PHP: Cool PHP Tips >