How do I "lockdown" odata in a LightSwitch application?

mmpd
mmpd used Ask the Experts™
on
First thank you for helping me.

In a standard LightSwitch application the oData service is automatically generated for each entity defined.  To see which entities are available through the oData service navigate to http://<lightswitchapp>/ApplicationData.svc.

Now suppose I have two entities defined, Products and Categories.  Let's say for security purposes I only want the Products category to be made visible and Categories hidden and inaccessible. Furthermore, the Products entity should be read-only.

How do I do this?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
It seems that the experts were also stumped by this questions.  Thank you very much anyway, but I finally figured it out.

Author

Commented:
No expert replied and I couldn't wait any longer so I figured it out.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial