473,769 Members | 2,394 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MySQL security of Data

Hi,
Although I'm gradually getting the hang of working with MySql, can do
a pretty mean query!! I realise I know nowt about security. Is
security basically done outside MySQL ie with https:// and is it
necessary/usual to have the database itself on a https server or just
the code accessing it? Is there any level of security that can
actually be applied at the mysql level, somebody in Usenet talked
about RoT13 which is pretty feeble of course.

--
zzapper
vim -c ":%s%s*%Cyrnfr) fcbafbe[Oenz(Zbbyranne% |:%s)[[()])-)Ig|norm Vg?"
http://www.rayninfo.co.uk/tips/ vim, zsh & life tips
Jul 20 '05 #1
2 1740
zzapper wrote:
Hi,
Although I'm gradually getting the hang of working with MySql, can do
a pretty mean query!! I realise I know nowt about security. Is
security basically done outside MySQL ie with https:// and is it
necessary/usual to have the database itself on a https server or just
the code accessing it? Is there any level of security that can
actually be applied at the mysql level, somebody in Usenet talked
about RoT13 which is pretty feeble of course.

--
zzapper
vim -c ":%s%s*%Cyrnfr) fcbafbe[Oenz(Zbbyranne% |:%s)[[()])-)Ig|norm Vg?"
http://www.rayninfo.co.uk/tips/ vim, zsh & life tips

https is just the protocol that makes sure that your http communication
is encrypted, it does not have anything to do with your database.

What is it that you want to accomplish?

Best regards,

--
Andrés Monroy-Hernández
Jul 20 '05 #2
zzapper wrote:
Is security basically done outside MySQL ie with https:// and is it
necessary/usual to have the database itself on a https server or just
the code accessing it? Is there any level of security that can
actually be applied at the mysql level, somebody in Usenet talked
about RoT13 which is pretty feeble of course.


There are some things you can do to make MySQL more secure.
You should read this page and its sub-sections:
http://dev.mysql.com/doc/mysql/en/Security.html

Also read the user comments at the bottom of these pages, they have some
good tips too.

There are some encryption/decryption functions in MySQL, so you can
store encrypted data in specific fields. I don't know of any option to
make the entire database encrypted, though.
Read this page:
http://dev.mysql.com/doc/mysql/en/En...functions.html

Regards,
Bill K.
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2356
by: Xizor | last post by:
Ok, I'm new to PHP and MySQL. I've been going through tutorials, reading the documentation, and looking through web sites. PHP to me seems great! With MySQL it seems even better. However, I'm an experienced C++ programmer. This has allowed me to see many potential areas where the security of a server can be compromised through loopholes in PHP. Granted, with the right knowledge these potential threats can be avoided. But I've just...
2
2205
by: mos | last post by:
I want to put a MySQL 4.1 database on a Win2k laptop but the problem is it contains confidential client information. It has to be Window because applications accessing the database are written in Windows. The problem is laptops do get stolen quite often, even when running on someone's unattended desk. Most security chains can be cut with a small pair of bolt cutters. I have to convince my boss that if the laptop disappears it won't put...
11
17573
by: DJJ | last post by:
I am using the MySQL ODBC 3.51 driver to link three relatively small MySQL tables to a Microsoft Access 2003 database. I am finding that the data from the MySQL tables takes a hell of a long time to load making any kind linkage with my Access data virtually useless. I have the MySQL driver setup in as a USER DSN. The MySQL data is sitting out on a server and the Access database is running locally. The network connection is very...
2
2213
by: KaHuNa | last post by:
this code works perfectly when i use it on the server where mySQL is installed, but i have a security error when i use it on a client computer. I don't know how i can change that. using System; using System.Data.Odbc; class database {
12
2728
by: mistral | last post by:
phpMyAdmin 2.6.2 problem: can no connects to mySQL database: each time shown error #1045 - Access denied for user 'username'@'192.168.1.2' (using password: YES) Is seems, this is most common problem for mySOL and phpMyAdmin. Extremelly ugly and inconvenient program.
0
12901
Coldfire
by: Coldfire | last post by:
Since i cannot show the differences in a two-column like table. I am first putting MS SQL Server 2005 and then MySQL 5.x. MS SQL Server 2005 Brief Overview - SQL Server is a full-fledged database system developed specifically for large enterprise databases. All advanced features of a relational database are fully implemented. - Once you purchase the product, you are only limited to the Sybase-derived engine.
1
3732
by: Julien Sobrier | last post by:
Hello, I'm trying to get a CreateUserWizard asp component to connect to a MySql Server. I've installed the latest Mysql connector. THep roblem is taht even after modifying web, config to connect to the MySQL server, the ASP.Net application send MS-SQL requests on port 3610 t03618 instead of a MySQL request to port 3306 (but it sends it to the right IP address).
6
38519
Atli
by: Atli | last post by:
This is an easy to digest 12 step guide on basics of using MySQL. It's a great refresher for those who need it and it work's great for first time MySQL users. Anyone should be able to get through this without much trouble. Programming knowledge is not required. Index What is SQL? Why MySQL? Installing MySQL. Using the MySQL command line interface
221
367728
Atli
by: Atli | last post by:
You may be wondering why you would want to put your files “into” the database, rather than just onto the file-system. Well, most of the time, you wouldn’t. In situations where your PHP application needs to store entire files, the preferred method is to save the file onto the server’s file-system, and store the physical location of the file in your database. This is generally considered to be the easiest and fastest way to store files. ...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10219
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9998
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8876
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7413
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5310
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3967
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.