diff --git a/src/security.ts b/src/security.ts index 8d2c106..77e3a8a 100644 --- a/src/security.ts +++ b/src/security.ts @@ -26,6 +26,13 @@ export class QueryValidator { 'GRANT', 'REVOKE', 'DENY', + 'RESTORE', + 'BACKUP', + 'WRITETEXT', + 'UPDATETEXT', + 'RECONFIGURE', + 'RENAME', + 'UPSERT', ]; static validateQuery(query: string): { isValid: boolean; error?: string } { @@ -102,4 +109,4 @@ export class QueryValidator { `$1TOP ${maxRows} ` ); } -} \ No newline at end of file +}