the way you are handling authentication is by setting a cookie to a string kept in a config file.
this is very insecure and you should use a different method, because anyone who intercepts the cookie knows the authentication secret.
at the very least, you should hash it in some way.
the way you are handling authentication is by setting a cookie to a string kept in a config file.
this is very insecure and you should use a different method, because anyone who intercepts the cookie knows the authentication secret.
at the very least, you should hash it in some way.