Forum

Banshee Secret Website Code

RaGe10940
25 February 2013, 15:44
Was wondering what the secret website code was about. Now from other MVC Frameworks (like CI) the code was an encryption key. Does this also apply to Banshee as well? And if it does what key size / what characters are disallowed?

Thanks Hugo,
Hugo Leisink
25 February 2013, 19:34
You can use it for hashing (use as salt), encryption or anything else you like. There are no size or character restrictions.
RaGe10940
26 February 2013, 02:39
Alright thanks, and also the default action for the Code is that it disappears if it is populated corrected? Me and my friend were playing with it and everytime it was populated it would disappear.
Hugo Leisink
26 February 2013, 17:34
Correct. The script 'database/setup_database' sets a random value so you never should see that setting. But, if it has the default value, you can set it once. Reason for this is that the code should be kept as secret as possible. There is no use for administrators to see this code, so it's hidden once set.
This topic has been closed.