The notion of oblivious transfer with hidden access control policies (HACOT) was recently proposed by Camenisch et al.~(Public-Key Cryptography~2011).
This primitive allows a user to anonymously query a database where each record is protected by a hidden attribute-based access control policy.
At each query, the user either learns the value of a single record if the attributes in his key satisfy the policy, or the mere fact that his
attributes do not satisfy the policy.
The database, even when colluding with the key issuer, learns nothing about the identity of the user, the index or the access policy of the record, or whether access was granted or denied.
At the same time, the database can keep an eye on the overall access frequency to prevent the data from being ``crawled\'\'.
In this paper, we present a new HACOT scheme which is more efficient and offers more expressive policies
than the scheme presented by Camenisch et al.
We construct our HACOT protocol based on a hidden ciphertext-policy attribute-based encryption (HP-ABE) scheme by Nishide et al.:
users are issued HACOT decryption keys based on HP-ABE attributes and HACOT records are encrypted under HP-ABE policies.
However, as we will see, this simple approach does not work and we need to extend the Nishide et al.\\
scheme as follows.
First, we add protocols that allows users to verify that the public key of the issuer and ciphertexts are correctly formed.
Second, we reserve one attribute and give the corresponding decryption key only to the database.
Thereby users can no longer decrypt records by themselves but require the help of the database.
Third, we provide a joint decryption protocol between the user and the database, so that the
database does not learn which ciphertext is decrypted.
The latter will also allow one to optionally add revocation of the users\' access.
We prove our construction secure by a reduction to the security of Nishide et al.\'s scheme, the Symmetric External Diffie-Hellman (SXDH) and Simultaneous Flexible Pairing (SFP) assumptions.