[Gambas-user] A dude about Gambas
johnf
jfabiani at ...1109...
Wed Jan 18 08:53:36 CET 2006
Then use OpenLDAP which I have been reading about (haven't used myself - yet).
The cool thing is it will use the system password file and then provide the
resources that are available - like MySQL access. So if the login password
is strong the access to MySQL will be strong.
John
On Tuesday 17 January 2006 23:32, Jose Daniel Santos Delgado wrote:
> At the moment I've thought in two possible solutions:
>
> - Hard code the user and passwd information.
> - Use a public file with the user and password, but the application
> add a prefix to each of them to build the real user and the real
> password.
>
> I'm planing to build a gambas-based Library Control Application for
> the school I work at. The alumns could view the database and the
> teachers coud edit it.
>
> I don't want that and advance boy (orgirl) guess the user and password
> of the mysql database and make a 'delete from books' :) and I had
> thought that there might be other ways of accessing the database.
>
> Thanks.
>
> 2006/1/17, johnf <jfabiani at ...1109...>:
> > On Tuesday 17 January 2006 05:11, Jose Daniel Santos Delgado wrote:
> > > The user and the passwd that grant access the database must be stored
> > > somewhere at the client machine but I don't want it to be public. And
> > > I also don't like the idea of being hardcoded into the application
> >
> > In general I ask the user to supply a password and use a pref file that
> > contains things like the database, port, host. Or just hard code it. I
> > get the user name from "username.Text". That means a login window must
> > be used. Making it so the login process is transparent would required
> > storing the password somewhere. You might be able to setup some sort of
> > LDAP way of doing it (single signon).
> >
> > John
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> > files for problems? Stop! Download the new AJAX search engine that
> > makes searching your log files as easy as surfing the web. DOWNLOAD
> > SPLUNK!
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
More information about the User
mailing list