Restrict access to a tab on a record in CRM 4.0

I have a custom entity in CRM with 6 tabs on it. I want everyone to have access to this entity, but I only want 1 department to be able to get to a certain tab. It doesn't look like I can do this through the security settings. Am I missing something or is there another way to do this?
Brian CanfieldAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Feridun KadirPrincipal ConsultantCommented:
There is no supported way to do this. The unofficial way is to use JavaScript in the OnLoad event of the custom entity that hides the tab. Microsoft do not provide a supported way to do this in CRM4 (they do in CRM 2011).

Your JavaScript will need to somehow determine the department of the user (perhaps based on a security role the user belongs to or a field on their user record) and then decide whether to hide the tab.

There is nothing in a security role that helps here.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Brian CanfieldAuthor Commented:
That is what I thought. Thank you for the confirmation.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Dynamics

From novice to tech pro — start learning today.