follow site kaffee handfilter dosierung viagra really funny essays imdur side effects viagra drug enter anti americanism essays nexium 40 mg price cvs open document presentation essay yourself introduction get link essay german holidays free essay writer online how long does prednisone stay in the body custom college essay editing service for university watch advantages disadvantages having children essay plavix and crestor better see url source site watch click here help me writing my assignment see go to link cialis livraison rapide officiel spectacles phytochemical analysis of medicinal plants thesis best cheap essay proofreading services au see Adxstudio (on-premises) and Microsoft Portals (online) offer a search feature using OData to query Microsoft Dynamics data. What few people don’t realize is their data might then be exposed in clear text to the world. Here’s how…

Entity lists can be enabled for OData. When this happens records from these data sets become public. Anyone with the home URL of your portal can view the records simply by visiting

What’s worse – if they travel up one level to and subsequently to$metadata, they’re now able to see the structure of all your entity lists – including field names.

How can you restrict access to your sensitive data?

Here are three steps, all with increasing levels of effort and restrictions:

  1. Only enable the OData Feed for entity lists you need
    1. Result: The data remain in clear text to the public, but only for enabled entities
  2. Enable entity permissions for the OData-enabled entity lists and create the necessary entity permission records (e.g. if you enabled the Account entity for OData, enable entity permissions and create an entity permission for the account entity)
    1. Result: Only authenticated users will see the data from this entity
  3. If you have a Adxstudio deployment, you have the additional option of modifying the source code to check if the current portal user is logged in before building the web service’s metadata
    1. Result: Only authenticated users will see any metadata for the portal

To add the check from step 3, you’ll need system administrator privileges and some programming experience.

  1. Open your portal solution in Visual Studio
  2. Navigate to Portals\Framework\Adxstudio.Xrm\Web\UI\EntityList\OData
  3. Open the file EntityListODataFeedDataAdapter.cs
  4. Look for the method GetEdmModel() and add the following code to the beginning your copy of GetEdmModel()
  5. Your code should look similar to this, except for the region tags 
  6. Then rebuild your portal solution
  7. And deploy it to IIS
    Other security measures might be helpful, but these are the fastest and simplest ways to defend your data.