Methods and systems for masking data columns in a database are described herein. The method describes obtaining a masking template. Further the method describes associating the masking template with at least one rule and selecting columns based on the at least one rule. The method further describes identifying at least one column from the selected columns for applying masking setup and initiating masking setup on the at least one column based on the masking template.