Re: [PHP-DB] Protecting mysql database

2004-03-03 Thread Ricardo Lopes
if you want to close the whole database for a period, and that _NOBODY_ have access, just shutdown the service, and prevent it from starting the next time you restart your operative system. :) you could make mysql to log more than it normaly does to the logs and then analyse the log. You can even

Re: [PHP-DB] Protecting mysql database

2004-03-03 Thread Adam Voigt
Why not just stop the database? On Wed, 2004-03-03 at 09:41, Piet from South Africa wrote: > Hi > > Is there a way that an alert or something can be generated when a mysql > database is being accessed in any way. > > I want to close the whole database for a period, and nobody may access the > d

RE: [PHP-DB] protecting

2002-02-11 Thread Mihail Bota
> easily circumvent javascript validation > > // -Original Message- > // From: Mihail Bota [mailto:[EMAIL PROTECTED]] > // Sent: Tuesday, 12 February 2002 12:19 PM > // To: CrossWalkCentral > // Cc: [EMAIL PROTECTED] > // Subject: Re: [PHP-DB] protecting > // > // &

RE: [PHP-DB] protecting

2002-02-11 Thread Beau Lebens
- // From: Mihail Bota [mailto:[EMAIL PROTECTED]] // Sent: Tuesday, 12 February 2002 12:19 PM // To: CrossWalkCentral // Cc: [EMAIL PROTECTED] // Subject: Re: [PHP-DB] protecting // // // put some javascript validation form. if the value of the form cntains // .jpg, etc. don't allow the user

Re: [PHP-DB] protecting

2002-02-11 Thread Mihail Bota
put some javascript validation form. if the value of the form cntains .jpg, etc. don't allow the user to go further. On Mon, 11 Feb 2002, CrossWalkCentral wrote: > How can I help protect people form modifying a form that submits data to php file >that stores the data in a database > > for exam

Re: [PHP-DB] Protecting php scripts from source being downloaded

2002-01-09 Thread Tom
sorry, as I said Im kinda new, I was downloading the file from my webserver to my computer, and it downloaded the php file as a php file, non parsed by the preprocessor. But when other people download it it does only give the source sorry :) "Neil Thomson" <[EMAIL PROTECTED]> wrote in message 00

RE: [PHP-DB] Protecting php scripts from source being downloaded

2002-01-09 Thread Ryan Marrs
the register_globals. If not, then you could simply grab $PHP_SELF from the environment variables. Ryan -Original Message- From: Neil Thomson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 09, 2002 12:31 PM To: Tom; [EMAIL PROTECTED] Subject: Re: [PHP-DB] Protecting php scripts fro

Re: [PHP-DB] Protecting php scripts from source being downloaded

2002-01-09 Thread Neil Thomson
u can download a php page from a download manager ? i just tryed with flashget... & it phrased the php page into html first.. ? ? if you want to protect your say.. variables file from some1 trying in the address of it. heres a simple way. in the variables file include @header(status: error 404);

Re: [PHP-DB] Protecting database password

2001-07-18 Thread Dobromir Velev
Hi, I suggest you use a .php file to declare your database variables and include it everywhere you need it. Even if someone guesses the name of this file when he tries to open it, nothing will be outputed to the screen. an example file is Than you'll have to set the permissions of this file in

RE: [PHP-DB] Protecting database password

2001-07-18 Thread Walter, Marcel
On Unix it is possible to make an include file with all the settings like $user, $passwd and so on and store it somewhere in the filesystem (not under your htdocs-path) So no one can access this file via web You can include this file with its variables with the include() - statement ... Im

Re: [PHP-DB] Protecting files

2001-04-05 Thread Miles Thompson
Mick, Since you have the login screens, etc. already, once a user is authenticated, start a session and register a session variable, using a meaningful value fetched from the database. I use "member_id", but anything will do. At the very top of each page you want to protect, with no spaces or

Re: [PHP-DB] Protecting files

2001-04-05 Thread Ron Brogden
At 03:09 AM 4/5/2001 +0100, Mick Lloyd wrote: >But how do I then protect the directories/scripts from anyone wanting to >have a look >(not that they're worth much!). Create a .htaccess file that contains the following: deny from all Place it in the directories you wish to protect. Next, creat