[MySQL] Hoe dichtzetten vanaf netwerk?

Pagina: 1
Acties:
  • 44 views sinds 30-01-2008

Acties:
  • 0 Henk 'm!

  • Bor
  • Registratie: Februari 2001
  • Laatst online: 22:34

Bor

Coördinator Frontpage Admins / FP Powermod

01000010 01101111 01110010

Topicstarter
Ik ben op zoek naar een duidelijke uitleg hoe een MySQL database goed kan worden dichtgezet mbt connecties vanaf het netwerk. Ik heb mysql.com bekeken en google doorgelicht maar kan het goede antwoord niet vinden. Zoals MySQL standaard wordt geinstalleerd accepteert ie (afhankelijk van het goede username en wachtwoord) connecties vanaf elk ip. Hoe dit aan te passen?

Over Bor | Vraag & Aanbod feedback | Frontpagemoderatie Forum


Acties:
  • 0 Henk 'm!

  • Zwelgje
  • Registratie: November 2000
  • Laatst online: 20:42
firewall erop (zonelarm) die je kan configgen om alleen iets toe te laten vanaf de bepaald ip)

bij mijn weten kan dit namelijk niet met mysql standaard.... (corrigeer me als ik er naast zit)

A wise man's life is based around fuck you


Acties:
  • 0 Henk 'm!

  • Bor
  • Registratie: Februari 2001
  • Laatst online: 22:34

Bor

Coördinator Frontpage Admins / FP Powermod

01000010 01101111 01110010

Topicstarter
Een firewall erop is nou juist niet de oplossing waar ik naar zoek.

Over Bor | Vraag & Aanbod feedback | Frontpagemoderatie Forum


Acties:
  • 0 Henk 'm!

  • Erkens
  • Registratie: December 2001
  • Niet online

Erkens

Fotograaf

Je kan bij een user/pass ook een ip/host opgeven.

Acties:
  • 0 Henk 'm!

  • Roelant
  • Registratie: Januari 2001
  • Niet online
Met een slotje.
Net als dit topic.

Voorbeeld 1:



Voorbeeld 2:



=[edit]=

En ook:

Tip 1
Tip 2

[ Voor 64% gewijzigd door Roelant op 09-10-2003 18:15 ]


Acties:
  • 0 Henk 'm!

  • Rataplan
  • Registratie: Oktober 2001
  • Niet online

Rataplan

per aspera ad astra

http://www.mysql.com/doc/en/GRANT.html vermeld het toch duidelijk, hoor:
In order to accommodate granting rights to users from arbitrary hosts, MySQL supports specifying the user_name value in the form user@host. If you want to specify a user string containing special characters (such as `-'), or a host string containing special characters or wildcard characters (such as `%'), you can quote the user or host name (for example, 'test-user'@'test-hostname').

You can specify wildcards in the hostname. For example, user@'%.loc.gov' applies to user for any host in the loc.gov domain, and user@'144.155.166.%' applies to user for any host in the 144.155.166 class C subnet.
Je kan dus per user aangeven waar hij vandaan mag connecten.

[ Voor 6% gewijzigd door Roelant op 09-10-2003 19:56 . Reden: Typofix op verzoek :) ]


Journalism is printing what someone else does not want printed; everything else is public relations.


Acties:
  • 0 Henk 'm!

  • Han
  • Registratie: Juli 2001
  • Niet online

Han

Dicht :)

Doubt thou the stars are fire; Doubt that the sun doth move; Doubt truth to be a liar; But never doubt I love.

Pagina: 1

Dit topic is gesloten.