![]() |
Why am I not authorised?
In the AdminCP there is an item under Maintenance to execute an SQL query. However, if I try to do that I'm told I'm not authorised.
Why is this? |
In your config.php file, there's a $config['SpecialUsers']['canrunqueries'] setting. You have to add your userid to that to be able to run queries.
|
You need to set your userid in the includes/config.php file.
Code:
// ****** USERS WITH QUERY RUNNING PERMISSIONS ****** |
Ahh.. now I understand, thank you.
|
Not a problem. :)
|
When you're done with your query, de-permission yourself from making queries. I suggest that because it is a security feature - if some cracker gets in your account you don't want him/her having query powers.
|
Quote:
It isn't difficult to get around, but it will keep the kiddies at bay. As an option, if you are on a fixed IP then you can use a PHP conditional/construct in the config.php file to check for your IP. |
Quote:
If it's a more skilled attacker, he doesn't need to crack passwords and your config settings won't matter a whole heckuva lot. |
All times are GMT. The time now is 03:05 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|