Blockchain system has various advantages in transaction data storage. Due to the distributed nature of blockchain, security becomes a concern to store private data. In literature, many techniques to maintain security in the blockchain is proposed. But the conventional data security schemes are not alone sufficient to incorporate complete security in blockchain. Hence in this paper, a blockchain management system with three layers of security is proposed. The proposed blockchain system is suggested for E-health record (EHR). The proposed system includes three layers, and the first layer contains a user authentication wall, which is used to verify the user based on unique user id, password and usage pattern. A tri-factor mechanism is used to verify the usage pattern of the user. In the second layer, the EHR manager is used to verify the query based on policy. The policy contains 48 rules, which is used to analyse the query to grand or denied access. The final layer consists of lightweight 16-bit XOR cryptography used to store the data as cybertext. The proposed system is evaluated using three medical datasets, and its performances are evaluated based on turnaround time, tardiness, actual time delay and average actual time delay. The simulation performance of the proposed technique, that turnaround time is 55ms, tardiness is 150ms, and actualtime delay is 160ms. The encryption time of Data 1, Data 2 and Data 3 is 550ms, 50ms, and 1150ms, respectively. On the other hand, the proposed technique consumed time for decryption of Data 1, Data 2 and Data 3 is 1750ms, 65ms, and 1450ms, respectively. The performance analysis proves the effectiveness of the proposed system. Ultimately, the proposed blockchain management system is more suitable for enhancing the security for handling health records.