Jump to content

[SOLVED] cake security salt help


sasori

Recommended Posts

Hi, give this a shot:

 

1.) browse to where you extracted your cake installation to

2.) if you see folders called "app", "cake", "docs" and "vendors" then you are in the right place

3.) go into "app" directory and then into the "config" subdirectory

4.) one of the files here should be called "core.php"

5.) open this file in your text editor, search for the line "Security.salt"

6.) replace the value (which looks something like "fd60aeda2c2b877892d4cddd635a437b4892c63a") with one of your own

 

It doesn't really matter what it is, as long as it's not easy to guess.  You could use an online SHA1 hash generator tool (e.g. http://www.md5.br-design.co.uk/) to generate a new crazy long key like what is there by default.

 

Hope this helps.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.