Solved

MySQL/MyODBC Remote Access Security

Posted on 2004-04-14
3
522 Views
Last Modified: 2012-06-27
Hi,

I am looking at sharing a small (2Mb) DB across several sites over the internet using an MS Access front end and MySQL back end.  I have tried this by setting up a remote DSN using MyODBC and it seems to work well.  The only thing I am concerned about is security.     I am aware that you can set passwords and limit IP addresses.  I am aware that the data is not encrypted.     Are there real security issues with this?      How can I resolve these?    Can I use a VPN and/or firewall to improve security?  One limiting factor is that it has to work over a 56K connection.
0
Comment
Question by:lnwright
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
andydis earned 500 total points
ID: 10832388
yes please use a VPN....
there are alot of my sql vulnerbilities but i cant post them here (fink they are banned)

do a google search for mysql and exploit and see what happens

ref:
Mysql 3.23.x/4.0.x Remote mysql privileges Exploit
 



/* Mysql 3.23.x/4.0.x remote exploit
* proof of concept
* using jmp *eax
* bkbll (bkbll cnhonker.net,bkbll tom.com) 2003/09/12
* compile:gcc -o mysql mysql.c -L/usr/lib/mysql -lmysqlclient
* DO NOT DISTRUBITED IT

 
0
 

Author Comment

by:lnwright
ID: 10833295
Thanks for the comment.    I am thinking of using SSH tunnel.   Would that be better?
0
 
LVL 4

Assisted Solution

by:andydis
andydis earned 500 total points
ID: 10833354
ssh Vs VPN>



SSH=
SSH is an advanced protocol providing secure encrypted remote communications over an unsecured channel, such as the Internet. A hostile user that has control over the network can only force SSH session to disconnect, but cannot decrypt or play back the traffic, or hijack the connection. SSH replaces telnet, r services and other third-party applications. SSH protocol version1 and 2 are available on the market today. Protocol version 2 is considered to be more secure than protocol version 1 because it uses the Diffie-Helmann algorithm for host authentication. This algorithm prevents passwords from being stolen during the login process.

Using the SSH port forwarding feature, systems administrators can select only the applications they want to encrypt, based on their corporate security policy. This reduces creating unnecessary potential network overhead that is associated with encryption. Any application that has a static port assignment, such as POP, SMTP, and Oracle database connections can be encrypted.


VPN=
An IP-based Virtual Private Network (VPN) provides a secure tunnel for transmitting data through an unsecured network such as the Internet. There are several protocols that can be used to achieve this including PPTP, L2TP, L2F, and IPSEC. IPSEC is the only protocol that is an IETF standard. A VPN is "virtual" because it does not require dedicated lines. It is "private" because encryption is used to achieve security. It also uses an IP "network" for communication.

Conclusion,

vpn would be easier to manage and implement, all hardware/software companies now are heading in or have taken up VPn technology, the next stagew to this would be SSL VPn's where SSH would become obsolete

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
Read about achieving the basic levels of HRIS security in the workplace.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now