This is a migrated thread and some comments may be shown as answers.

Implementing access control for Kendo Widgets

1 Answer 188 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ling
Top achievements
Rank 1
Ling asked on 25 Jul 2014, 12:36 AM
Hi,
I use Kendo UI widgets for my front end with Spring MVC in the back-end. I need to implement access control for my widgets and I'm looking into various ways in which this can be done.

For example, I would like to enable edit operations for the Kendo Grid only is the user has the required authorization. Or I do not want to display a widget on my web page, if the user is not authorized for it.

What are the different ways in which Kendo UI users implement access control? Are there any recommended approaches to do this or any other libraries that might help with the implementation.

Thanks,

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 28 Jul 2014, 12:21 PM
Hello Ling,

Generally, access and permissions management is outside the scope of the Kendo UI widgets. Since the widgets are client-side components, any client-side access logic can be easily hacked by an advanced user. That's why you need to manage the permissions via server-side code.

The only exception with regard to the above is the Kendo UI MVC Menu's Security trimming:

http://docs.telerik.com/kendo-ui/getting-started/using-kendo-with/aspnet-mvc/helpers/menu/overview#security-trimming

Regards,
Dimo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
General Discussions
Asked by
Ling
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or