Safe Cookies icon
Analytics & Tracking

Safe Cookies

Secure your wordpress site by making the Auth Cookie more secure

Developer Subhransu Sekhar
0 Needs attentionmaintenance
  • 15 yearson WordPress.org
  • 3plugins
  • 20+installs in total
  • 0%of plugins updated this year
2/14 badges Profile →

Not recommended for new sites

Is Safe Cookies still safe to use?

  • Problem: Not maintained Last updated 12 years ago (version 1.0).
  • Problem: Not tested with recent WordPress Tested up to WordPress 3.9; the current release is 7.1.
  • Note: Few reviews so far No ratings on WordPress.org yet.
  • Note: Small user base Active on 10+ sites.

For a new site, or if you are planning a rebuild, choose a plugin that is still maintained. Unmaintained plugins stop getting security fixes and tend to break as WordPress and PHP move on.

No maintained plugin does exactly the same job. We checked the directory for an actively updated, well-rated plugin with the same features and didn't find a safe match.

If your site depends on Safe Cookies, we can update it for current WordPress and PHP versions, review it for security problems, or rebuild the feature you need.

Get it updated Check all your plugins Browse maintained Analytics & Tracking plugins

Overview

Safe Cookies describes itself as: “Secure your wordpress site by making the Auth Cookie more secure”

It is active on 10+ WordPress sites. Developers can extend it through 4 actions and 1 filters, listed below.

We haven't published a hands-on review of Safe Cookies yet. Want one, or need help with it? Send us a request.

How to install Safe Cookies

  1. Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
  2. Search for it. Type “Safe Cookies” and pick the one by Subhransu Sekhar.
  3. Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI

Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:

wp plugin install safe-cookies --activate

Hooks & customisation

Safe Cookies 1.0 fires 4 actions and 1 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.

safe-cookies — top hooks
// Filter in safe_cookies.php
apply_filters( 'auth_cookie', $cookie, $user_id, $expiration, $scheme );

// Action in safe_cookies.php
do_action( 'auth_cookie_bad_hash', $cookie_elements );

// Action in safe_cookies.php
do_action( 'auth_cookie_bad_username', $cookie_elements );

// Action in safe_cookies.php
do_action( 'auth_cookie_expired', $cookie_elements );

// Action in safe_cookies.php
do_action( 'auth_cookie_valid', $cookie_elements, $user );

Browse all 5 hooks with examples →

Safe Cookies: frequently asked questions

Is Safe Cookies free?

Yes. Safe Cookies is free to download from the official WordPress.org plugin directory and is licensed under the GPL, so you can use it on as many sites as you like. Some developers sell a separate Pro version or paid add-ons; check the developer's website for details.

Is Safe Cookies safe to use?

Safe Cookies has not been updated for 12 years. Plugins without updates stop receiving security fixes, so we recommend a maintained alternative for new sites. As with any plugin, keep it updated and only install it from WordPress.org or the developer.

Does Safe Cookies work with WordPress 7.1?

It isn't confirmed. Safe Cookies was last tested with WordPress 3.9, 32 releases behind the current 7.1, so test it on a staging site before relying on it.

How many websites use Safe Cookies?

Safe Cookies is active on 10+ WordPress sites, according to WordPress.org. It is currently at version 1.0, last updated on July 10, 2014.

What are the best alternatives to Safe Cookies?

We didn't find a maintained plugin that does exactly the same job. Browse the top-rated Analytics & Tracking plugins for related options.

Can I customise Safe Cookies without editing its code?

Yes. Safe Cookies 1.0 fires 4 actions and 1 filters that you can use from a child theme or a code snippets plugin, so your changes survive plugin updates. Browse all 5 hooks with examples.

Done for you

Let us deal with Safe Cookies for you

Move to a maintained plugin without losing your settings, or keep this one and have it brought up to date.

Update an abandoned plugin

from $249

Keep the plugin your site depends on, made safe for current WordPress and PHP.

  • Compatibility with current WordPress and PHP
  • Security review and fixes
  • Deprecated code replaced
  • You keep a maintained copy

Typical turnaround: 5–10 business days

Choose this

Not sure which fits? Describe what you need and we’ll suggest the simplest option.

Need Safe Cookies customised?

Tell us what you want changed, added or fixed and we'll reply with an estimate.

WP EXPERTS is independent and not affiliated with Subhransu Sekhar. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 19, 2026.

More plugins by Subhransu Sekhar

All 3 →
Not updated in 13+ years

A plugin that allows you to show the featured images of the available posts.

10+ installs Updated 13 years ago 1 hooks
Not updated in 12+ years

Encrypt any form submission in Wordpress using 265-bit public/private key encryption.

Updated 12 years ago

Alternatives in Analytics & Tracking

See all →

Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make them successful…

5+ million installs Updated 1 week ago 91 hooks
Reviewed

The best free Google Analytics plugin for WordPress. See how visitors find and use your website so you can grow…

2+ million installs Updated 2 months ago 186 hooks
Reviewed
CookieYes icon

CookieYes

3,239

Google-certified CMP: cookie banner, cookie notice and cookie consent for GDPR/CCPA compliance, with cookie blocker, cookie scanner and consent log.

1+ million installs Updated 2 weeks ago 82 hooks

Publish your cookie banner or notice in minutes. Automatically scan cookies, and create policies to align with GDPR, CCPA, and…

1+ million installs Updated 3 weeks ago 184 hooks