Download from the Internet
#4

Quote:
Originally Posted by ******
Посмотреть сообщение
It shouldn't be on a public part of your server - don't put it under the "web" section of your host. The source shouldn't be online anyway, but if you're talking about people extracting the password from the compiled AMX then there are a few things you can do. Firstly ensure that the database username and password you are using have minimal permissions and that the database and user are unique to your SA:MP server. Failing this make sure that you use a different user to connect to the database from other places. Or better yet don't put the password in the file at all, write a RCON command to load the username and password, so every time you start the server the first thing you do is:

Код:
db_login <user> <pass>
But the ultimate defence is just not letting people have access to your server in the first place.
I don't get what you mean but it is supposed that people don't know the password of the MySQL Database and the functions because if they do the bad owner/admin of a server can ban innocent people from a lot of servers with a command instead that the Anti-Cheat bans them, I also got a system for that so it won't be abused.
Reply


Messages In This Thread
Download from the Internet - by Jeroen52 - 27.07.2011, 08:30
Re: Download from the Internet - by FireCat - 27.07.2011, 08:31
Re: Download from the Internet - by Jeroen52 - 27.07.2011, 08:32
Re: Download from the Internet - by Jeroen52 - 27.07.2011, 18:23
Re: Download from the Internet - by Jeroen52 - 27.07.2011, 19:29
Re: Download from the Internet - by Jeroen52 - 27.07.2011, 21:16
Re: Download from the Internet - by Pasa - 27.07.2011, 21:20
Re: Download from the Internet - by linuxthefish - 27.07.2011, 21:27
Re: Download from the Internet - by Jeroen52 - 27.07.2011, 22:06
Re: Download from the Internet - by Jeroen52 - 27.07.2011, 23:42
Re: Download from the Internet - by Jeroen52 - 28.07.2011, 00:00
Re: Download from the Internet - by dowster - 28.07.2011, 00:12
Re: Download from the Internet - by Gamer_Z - 28.07.2011, 00:21
Re: Download from the Internet - by JaTochNietDan - 28.07.2011, 07:37
Re: Download from the Internet - by Jeroen52 - 28.07.2011, 10:34
Re: Download from the Internet - by JaTochNietDan - 28.07.2011, 16:07

Forum Jump:


Users browsing this thread: 1 Guest(s)