Click here to Skip to main content
15,914,013 members
Home / Discussions / Database
   

Database

 
Questionputting column 00:00 Pin
Hunain Hafeez4-Feb-14 23:46
Hunain Hafeez4-Feb-14 23:46 
AnswerRe: putting column 00:00 Pin
Chris Quinn5-Feb-14 5:04
Chris Quinn5-Feb-14 5:04 
AnswerRe: putting column 00:00 Pin
Mycroft Holmes5-Feb-14 11:57
professionalMycroft Holmes5-Feb-14 11:57 
Questioncommand implement loop Pin
mrkeivan3-Feb-14 21:11
mrkeivan3-Feb-14 21:11 
AnswerRe: command implement loop Pin
Chris Quinn3-Feb-14 21:20
Chris Quinn3-Feb-14 21:20 
GeneralRe: command implement loop Pin
mrkeivan3-Feb-14 21:28
mrkeivan3-Feb-14 21:28 
GeneralRe: command implement loop Pin
Chris Quinn3-Feb-14 22:02
Chris Quinn3-Feb-14 22:02 
GeneralRe: command implement loop Pin
Richard Andrew x645-Feb-14 4:56
professionalRichard Andrew x645-Feb-14 4:56 
GeneralRe: command implement loop Pin
Chris Quinn5-Feb-14 4:59
Chris Quinn5-Feb-14 4:59 
GeneralRe: command implement loop Pin
Richard Andrew x645-Feb-14 5:00
professionalRichard Andrew x645-Feb-14 5:00 
AnswerRe: command implement loop Pin
Jörgen Andersson4-Feb-14 5:04
professionalJörgen Andersson4-Feb-14 5:04 
GeneralRe: command implement loop Pin
mrkeivan7-Feb-14 18:51
mrkeivan7-Feb-14 18:51 
QuestionThe meaning of the Roles in SQL Server 2008 R2 Pin
Lefteris Gkinis3-Feb-14 6:18
Lefteris Gkinis3-Feb-14 6:18 
AnswerRe: The meaning of the Roles in SQL Server 2008 R2 Pin
Eddy Vluggen3-Feb-14 9:57
professionalEddy Vluggen3-Feb-14 9:57 
QuestionHow to get last 3 values from Mysql table Pin
Member 1026351931-Jan-14 22:20
Member 1026351931-Jan-14 22:20 
AnswerRe: How to get last 3 values from Mysql table Pin
Snehasish_Nandy1-Feb-14 0:09
professionalSnehasish_Nandy1-Feb-14 0:09 
GeneralRe: How to get last 3 values from Mysql table Pin
Member 102635191-Feb-14 1:06
Member 102635191-Feb-14 1:06 
AnswerRe: How to get last 3 values from Mysql table Pin
Eddy Vluggen1-Feb-14 7:13
professionalEddy Vluggen1-Feb-14 7:13 
QuestionPrevent users from playing with MySQL database Pin
Jassim Rahma30-Jan-14 10:21
Jassim Rahma30-Jan-14 10:21 
AnswerRe: Prevent users from playing with MySQL database Pin
Mycroft Holmes30-Jan-14 15:52
professionalMycroft Holmes30-Jan-14 15:52 
AnswerRe: Prevent users from playing with MySQL database Pin
Eddy Vluggen30-Jan-14 22:30
professionalEddy Vluggen30-Jan-14 22:30 
AnswerRe: Prevent users from playing with MySQL database Pin
Jörgen Andersson30-Jan-14 22:31
professionalJörgen Andersson30-Jan-14 22:31 
You move all your SQL and DML over to Stored Procedures, add one user to the database that only has permissions to use these procedures and no permissions on any tables at all.
Now call these procedures from your application using this user. Make sure that the clients don't have access permissions to the database via the OS.

<edit>Eddy is of course right, there's no safe way to do it, you can only make it harder for the users.
Next step is to consider encryption of the tables, but the problem here is of course the same. If the database is on the machine, so are the encryption key.</edit>
Wrong is evil and must be defeated.
- Jeff Ello[^]


modified 31-Jan-14 4:38am.

QuestionComplex SQL Query for Inventory. Need Help Pin
chichocojo29-Jan-14 12:35
chichocojo29-Jan-14 12:35 
AnswerRe: Complex SQL Query for Inventory. Need Help Pin
Mycroft Holmes29-Jan-14 17:40
professionalMycroft Holmes29-Jan-14 17:40 
AnswerRe: Complex SQL Query for Inventory. Need Help Pin
khun_panya29-Jan-14 19:01
khun_panya29-Jan-14 19:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.