Discrimination is one of the most important challenging tasks in web mining due to its many legal and ethical features in social media and enterprise based industries. There are an enormous amount of anti-discrimination measures available to prevent discrimination such as using some features like race, religion, gender, nationality, disability, marital status, and age besides situations like employment and training, access to public services, credit, insurance, etc. Practically, those systems are not possible to use in industries due to large datasets. Indirect discrimination contains a set of rules or techniques which are not explicitly specifying discriminatory features, deliberately or accidentally and could create unfair decisions. Existing systems have low classification accuracy and data loss with high discrimination data detection time. To overcome these limitations, an Efficient Discrimination Prevention and Rule Protection (EDPRP) approach has been proposed for removing the discrimination and protects the rule without damaging the data quality. The proposed system designing pre-processing discrimination prevention approach and specify the different features and represent to deal with direct or indirect discrimination. EDPRP is capable of preventing Indirect and direct discrimination, and it allows automatic and routine collection of large amounts of data from the public. In EDPRP, the discrimination prevention model is based on partial data sets as part of the automated decision making. Based on Experimental evaluations, proposed method improves 8% (percentages) of Support and 8 ms (milliseconds) of Execution Time compared than existing methods.