DFIR, or Decentralized First Information Report system, is a project that aims to solve a problem in the current centralized FIR system. In the traditional FIR system, once the FIR is filed, it is stored in a centralized database, which can be prone to tampering, loss of data, or even intentional deletion. Additionally, accessing the FIR report or its evidence can be a difficult and time-consuming process.
DFIR addresses these issues by creating a decentralized system that leverages the power of IPFS, or the InterPlanetary File System. IPFS is a distributed network protocol that allows for the storage and sharing of files in a decentralized manner. With DFIR, when a user files an FIR report, the report and its associated evidence are stored on the IPFS network, which is public and accessible to anyone. This ensures that the data is tamper-proof and cannot be deleted, as it is replicated and distributed across multiple nodes on the network. To assist the Police Officers while filing the FIR we have made a ML model to suggest three of the most relevant IPC sections with respect to the FIR description provided.
By storing an FIR on IPFS, the data is publicly accessible, which can enhance transparency and accountability in the legal process. This can also help in the prevention of false accusations or tampering with the FIR. Overall, storing an FIR on IPFS provides a secure, reliable, and accessible method for storing and sharing data related to legal and law enforcement procedures. In summary, DFIR solves the problem of a centralized FIR system by providing a decentralized, tamper-proof, and efficient way to store and access FIR reports and evidence. It creates a system that is more transparent, secure, and accessible to everyone, which can lead to better outcomes for victims of crimes and a more efficient justice system.
I had difficulty integrating NFT.Storage but I was able to overcome it with the help of the documentation.
Another difficulty I faced was implementing the authentication system using cookie . The authentication feature in the project utilizes the combination of cookies.js and middleware.ts files. The approach involves the use of cookies to keep track of whether a user is validly authenticated or not. I was able to overcome the challenge by going through the documentation of cookie multiple times.
Tracks Applied (3)
Polygon
Polygon
Filecoin
Discussion