Posts: 882
Threads: 34
Joined: Oct 2008
Reputation:
0
Hi,
I am making a script but I don't want to trust the scource to the people so I want to prevent one thing but that is not enough.
A bit of the scource is exposed and can be exploited in the Include file so I need to hide it, where is it better hiding in my server somewhere in a secret folder?
But I got a problem, how do I load the file?
I've already got HTTP and FTP but everytime you do http:// it will comment the file.
So how do I things like it temporarly read the file for one use only?
Posts: 882
Threads: 34
Joined: Oct 2008
Reputation:
0
Yes I know that but they can change their own script so they can access my database and add new bans (bans like for nothing) and the IP's are innocent people that did nothing wrong and are banned from a lot of servers.
Posts: 156
Threads: 37
Joined: Jun 2011
Reputation:
0
Put only te .amx files,then noboby can edit your script
Posts: 2,857
Threads: 62
Joined: Dec 2010
Reputation:
0
Chmod the file to 700 if you are on Linux, then only your user can see it.
Posts: 882
Threads: 34
Joined: Oct 2008
Reputation:
0
Is there a way to hash the .inc file so it isn't readable until you load it into Pawn?
Posts: 631
Threads: 58
Joined: Jun 2010
Reputation:
0
Why would you need to distribute the .inc file if your only distributing the .amx? you know that .inc is compiled into the .amx right?
Posts: 1,047
Threads: 23
Joined: Jun 2009
This topic gave me a very interesting idea for a plugin....
"Secure Password Container"
Yet I have to think about how to 'secure' the retrieving and storing of the passwords. lol.
the problem is I will have to release the source.. ~.~
which makes 'secure' an very very .. I don't know the word for it but it's like 'secure' doesn't really exist with open source software.
Posts: 2,502
Threads: 26
Joined: Apr 2007
Reputation:
0
Yes it does. Like I said, you can edit the include so that it reads the MySQL server information from a file that you ONLY store on your server. Therefore you will not have to provide those details to other people when they are editing/compiling the script.