From 58c550101805a39b0944be3877e0b0988328903a Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 17 Sep 2008 15:05:05 +0000 Subject: Added hmac cache of hmacs we have seen before (MEMORY TABLE) git-svn-id: https://code.elgg.org/elgg/trunk@2089 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/schema/mysql.sql | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'engine/schema') diff --git a/engine/schema/mysql.sql b/engine/schema/mysql.sql index 619781d74..b9dc633ae 100644 --- a/engine/schema/mysql.sql +++ b/engine/schema/mysql.sql @@ -261,6 +261,13 @@ CREATE TABLE `prefix_users_apisessions` ( KEY `token` (`token`) ) ENGINE=MEMORY; +-- HMAC Cache protecting against Replay attacks +CREATE TABLE `prefix_hmac_cache` ( + `hmac` varchar(255) NOT NULL, + + PRIMARY KEY (`hmac`) +) ENGINE=MEMORY; + -- Datalists for things like db version CREATE TABLE `prefix_datalists` ( `name` varchar(32) NOT NULL, -- cgit v1.2.3