Specified part and information in PDF document can be easily and safely masked. This is a system that works effectively when publishing documents. Practical tools, such as keywords to be able to be selected and area selection for setting masks, are provided.