While working with plug-ins, sometimes we need additional information; it may be related to another entity or some form of configuration data. If we need to read information from any other entity, we can simply use organization service methods to fetch data from the CRM. In the case of configuration, we can also create a configuration entity in the CRM and store data there, which can be read easily in plug-ins. Apart from that, we could also create XML Web resources to store this data and read it into the plug-in.
Another option available in plug-ins to pass configuration data is to use secured configurations and unsecured configurations. A secured configuration is only accessible by the CRM Administrator, other users can't read this information in plug-ins, whereas an unsecured configuration is available to every user. Apart from that, a secure configuration is not available in new environments if a plug-in having a plug-in step with a secure configuration...