[Lvlug] Re: java and mysql permissions
deepkapadia at gmail.com
Fri Apr 8 19:02:28 EDT 2005
Can this person send you the Security Error that he is getting?
Usually you need to set java security policies for the client to run
java code. And these policies need to be agreed upon by the client.
Applets have a very strict security model since they rarely run on a
server, they are designed to be run on client machines.
So, even if this person is trying to run an applet on the box hosting
the MySql server, he will not be able to do so since the current
security policy of the Java virtual machine on the box does not permit
him to connect/resolve/accept connections through an applet.
He should be more specific with what kind of permissions he needs.
Running the command he sent you will work but is a security risk since
it will set the JVM parameters for the box he is using to be able to
access the MySql database but will also give any other applet running
on the same box All Permissions.
To know more please see:
On Apr 8, 2005 4:58 PM, dann s washko <dann at thelinuxlink.net> wrote:
> Faber Fedor wrote:
> > I don't know what the javaapp is, but you do need to set up a user in
> > the database. Looking at his terminology, I *think* he's asking for a
> > user with all permissions turned on.
> > If he's running the app from the mysql server, just add the user
> > luser at localhost and grant permissions.
> > I can look up the SQL stmts for you, but it's easiest to do this in
> > WebMin or phpMySQLAdmin.
> A user with all permissions!!!? Isn't that a security risk? I created
> a user with select permissions from the databases in question, hopefully
> that will be enough.
> Dann S. Washko
> The Linux Link Tech Show
> Check Us Out Weekly: Live/Stream/Podcast
> The Linux Link Web Radio Portal
> TLLTS -- LUGRadio -- The LinuxBox Show
> get slack (www.slackware.com) and get happy
> Lvlug mailing list
> Lvlug at thelinuxlink.net
More information about the Lvlug