Restrict MYSQL commands permissions for certain users or remote(website) access

Status
Not open for further replies.

meynetzx

New Member
Messages
1
Reaction score
0
Points
0
i wanted to know if there is a way to restrict the php queries i would have from another site to 'server' here. in terms of preventing certain commands. explicitly the delete of any form commands. ie:
EXPLICIT PERMS:
{SQL STATEMENTS}
FULL ACCESS:
connect - ALLOW
select - ALLOW
update - ALLOW
insert - ALLOW

RESTRICTED ACCESS:
*modify DB - DENY except table info in terms of content.
*modify (table) - DENY except rows and column information update or add new row.

DENY:
create table- DENY
delete table -DENY
*delete - DENY
*create DB - DENY
*delete DB - DENY
all other commands - DENY

however. i would like if possible an admin level login, user to connect and perform maintence ops.
it would be a sql script running on the same server with a different user/pass.
these perms would be
FULL ALLOW;
since it would be checking for duplicate entries and merging. and back end DB ADMINS would be able to modify content.
NO person will have access to the x10 admin portal account. so admin will have to be through a connected server.

the final purpose of the above to add a layer of security against sql injection, malicious users, and other 'bad things' from the server side (this server) above and beyond the remote server security measures.
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Remote access to the MySQL server is disabled in Free Hosting and is not enabled on a per-account basis.
 
Status
Not open for further replies.
Top