Online game score and htaccess ?

BlitzMax Forums/BlitzMax Programming/Online game score and htaccess ?

Filax(Posted 2007) [#1]
Hi :)

I'm trying to make a online score table via php, sql, and
blitzmax, but for security i'm trying to restrict access via
.htaccess and .htpassword files

but the problem is :

When i try to send a http request via blitzmax => php i
can't because htaccess restrict my entry :/

is there a method to pass login and password via blitzmax ?
or another idea ?


FlameDuck(Posted 2007) [#2]
is there a method to pass login and password via blitzmax ?
No. Http streams don't support authentication.

The other idea would be "don't use http authentication at all", anyone with a packet sniffer would (unless you're doing the SSL thing) quite easilly be able to read your credentials.

If you're really that paranoid about cheating, encrypt the data you're sending.


Perturbatio(Posted 2007) [#3]
You can send it by using the following format:

user:password@...

(this is of course plain text, so not entirely secure)


Filax(Posted 2007) [#4]
Many thanks guys :) I follow flameDuck, i'm using RC4 now :)

See ya !


RepeatUntil(Posted 2007) [#5]
Filax, you said (in the french forum) that you were using ETNA to access the remote server: so in ETNA there is an encryption which is very simple to use, with just 1 or 2 parameters to add. And this encryption is very reliable. Please refer to the help files...


Filax(Posted 2007) [#6]
Hi Repeat finaly i have made another system more easy for me.