PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > mysql.general > MySQL Access Security Details
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
MySQL Access Security Details

Réponse
 
LinkBack Outils de la discussion
Vieux 20/08/2007, 11h56   #1
Dan
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut MySQL Access Security Details

Hi All,

I'm just starting out the in exciting world of dynamic web applications - or
so it says in the book infont of me. I'm creating a website where I need to
have a form where users can register and enter their details (email address,
password, age, ..etc...) which then get added to a new row of my "members"
table in my database. So far I can get data in and out using SQL functions,
but to do this you firstly need to connect to the database providing the
location, username and password.

The "thing" I don't understand at the moment is how can I let users create
their own membership details / line in the table, without having the
database log in details publicly viewable? I don't really want it all there
for everyone to see when they go to view the source of the website!

If anyone can provide a really simple explanation of how to do this then it
would be greatly appreciated, ...as I said, I'm really new to all
this......didn't even know what HTML was a few months ago,lol.

Thanks in advance,
Dan
P.s Being a pretty security conscious guy I know I'll have to do something
about storing their personal details, ...but that's a hurdle I'll worry
about another time.



  Réponse avec citation
Vieux 07/09/2007, 23h40   #2
kahn
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: MySQL Access Security Details

I think you missed some info. A database can & does contain anything,
passwords, account numbers...
It what you let all users 'SEE' that counts.
Only the user(ID) should be able to view their info.
kahn
-----------------------------------------------------

Dan wrote:
> Hi All,
>
> I'm just starting out the in exciting world of dynamic web applications - or
> so it says in the book infont of me. I'm creating a website where I need to
> have a form where users can register and enter their details (email address,
> password, age, ..etc...) which then get added to a new row of my "members"
> table in my database. So far I can get data in and out using SQL functions,
> but to do this you firstly need to connect to the database providing the
> location, username and password.
>
> The "thing" I don't understand at the moment is how can I let users create
> their own membership details / line in the table, without having the
> database log in details publicly viewable? I don't really want it all there
> for everyone to see when they go to view the source of the website!
>
> If anyone can provide a really simple explanation of how to do this then it
> would be greatly appreciated, ...as I said, I'm really new to all
> this......didn't even know what HTML was a few months ago,lol.
>
> Thanks in advance,
> Dan
> P.s Being a pretty security conscious guy I know I'll have to do something
> about storing their personal details, ...but that's a hurdle I'll worry
> about another time.
>
>
>

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 23h15.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,52025 seconds with 10 queries