diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-09-17 15:05:05 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-09-17 15:05:05 +0000 |
commit | 58c550101805a39b0944be3877e0b0988328903a (patch) | |
tree | c43c1d64e58cc5386a92bb08b0f1f25f477b03f0 /engine/schema | |
parent | d99c8b42a8e70fae87f017bf9072b55ba8a72364 (diff) | |
download | elgg-58c550101805a39b0944be3877e0b0988328903a.tar.gz elgg-58c550101805a39b0944be3877e0b0988328903a.tar.bz2 |
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
Diffstat (limited to 'engine/schema')
-rw-r--r-- | engine/schema/mysql.sql | 7 |
1 files changed, 7 insertions, 0 deletions
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,
|