Click here to Skip to main content
15,885,216 members
Home / Discussions / Database
   

Database

 
GeneralRe: Is this SQL query about getting information from all forum users' unread PMs? Pin
Member 126624481-Aug-16 2:01
Member 126624481-Aug-16 2:01 
QuestionRe: Is this SQL query about getting information from all forum users' unread PMs? Pin
User 110609791-Aug-16 2:07
User 110609791-Aug-16 2:07 
AnswerRe: Is this SQL query about getting information from all forum users' unread PMs? Pin
Member 126624485-Aug-16 1:04
Member 126624485-Aug-16 1:04 
AnswerRe: Is this SQL query about getting information from all forum users' unread PMs? Pin
Richard Deeming1-Aug-16 2:21
mveRichard Deeming1-Aug-16 2:21 
GeneralRe: Is this SQL query about getting information from all forum users' unread PMs? Pin
Eddy Vluggen1-Aug-16 10:55
professionalEddy Vluggen1-Aug-16 10:55 
GeneralRe: Is this SQL query about getting information from all forum users' unread PMs? Pin
Member 126624485-Aug-16 1:21
Member 126624485-Aug-16 1:21 
GeneralRe: Is this SQL query about getting information from all forum users' unread PMs? Pin
Richard Deeming5-Aug-16 1:56
mveRichard Deeming5-Aug-16 1:56 
GeneralRe: Is this SQL query about getting information from all forum users' unread PMs? Pin
Member 126624485-Aug-16 1:20
Member 126624485-Aug-16 1:20 
Every now and then the forum spews an error specifying the query. It's not in a log, the forum owners are friends and I've done a little bit of SQL for another project but my knowledge is minimal, so when I saw a query asking for unread PMs, it made me suspicious.

The query is verbatim from the error, not correctly formatted I suspect.

They would have no reason to run it, and they aren't SQL savvy enough to construct SQL queries of that nature. So whoever is running it is SQL savvy.

Other forums in our localised community have been hacked, with one fairly recently taken down (the admin's login details were stolen), and we often found information mentioned in PM was somehow 'known' publicly (I conducted experiments between my forum and theirs and found any info in PM on their forum leaked).


I didn't want to preload the dice in my favour by mentioning this, I wanted to see if the query could be an innocent outcome without the prejudicial information to hand.

The fact people are verifying it's asking for all users' unread PMs (as opposed to all PMs in general or a specific users' PMs) verifies my suspicions there's been a database breach.

Do you have any recommendations for securing a database against SQL injections (or maybe some way to test to see if it's vulnerable)?

I don't think extra security could hurt here even if I'm wrong.

Thank you for helping guys, it's all appreciated.
GeneralRe: Is this SQL query about getting information from all forum users' unread PMs? Pin
Richard Deeming5-Aug-16 1:53
mveRichard Deeming5-Aug-16 1:53 
GeneralRe: Is this SQL query about getting information from all forum users' unread PMs? Pin
Member 126624485-Aug-16 9:14
Member 126624485-Aug-16 9:14 
QuestionSearching for the right database Pin
Kogs-7927-Jul-16 3:04
Kogs-7927-Jul-16 3:04 
SuggestionRe: Searching for the right database Pin
Richard MacCutchan27-Jul-16 4:56
mveRichard MacCutchan27-Jul-16 4:56 
GeneralRe: Searching for the right database Pin
Kogs-7927-Jul-16 23:42
Kogs-7927-Jul-16 23:42 
QuestionRe: Searching for the right database Pin
User 1106097927-Jul-16 20:33
User 1106097927-Jul-16 20:33 
AnswerRe: Searching for the right database Pin
Kogs-7927-Jul-16 23:56
Kogs-7927-Jul-16 23:56 
AnswerRe: Searching for the right database Pin
Bernhard Hiller27-Jul-16 21:11
Bernhard Hiller27-Jul-16 21:11 
GeneralRe: Searching for the right database Pin
Kogs-7927-Jul-16 23:37
Kogs-7927-Jul-16 23:37 
GeneralRe: Searching for the right database Pin
Jörgen Andersson31-Jul-16 5:27
professionalJörgen Andersson31-Jul-16 5:27 
Questioncannot use "dynamic" Connection String with Excel? Pin
Vinny Ardhya20-Jul-16 22:29
Vinny Ardhya20-Jul-16 22:29 
AnswerRe: cannot use "dynamic" Connection String with Excel? Pin
Victor Nijegorodov23-Jul-16 9:27
Victor Nijegorodov23-Jul-16 9:27 
GeneralRe: cannot use "dynamic" Connection String with Excel? Pin
Vinny Ardhya24-Jul-16 15:58
Vinny Ardhya24-Jul-16 15:58 
AnswerRe: cannot use "dynamic" Connection String with Excel? Pin
Peter_in_278024-Jul-16 16:36
professionalPeter_in_278024-Jul-16 16:36 
GeneralRe: cannot use "dynamic" Connection String with Excel? Pin
Vinny Ardhya24-Jul-16 17:15
Vinny Ardhya24-Jul-16 17:15 
GeneralRe: cannot use "dynamic" Connection String with Excel? Pin
Richard MacCutchan24-Jul-16 20:54
mveRichard MacCutchan24-Jul-16 20:54 
QuestionEncrypt email address to 6-8 digit alphanumeric Pin
sumit703418-Jul-16 22:55
sumit703418-Jul-16 22:55 

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.