Full trust and Code Access Security (CAS) in SharePoint 2010

In this article we will discuss how full trust and Code Access Security (CAS) works in SharePoint 2010 and we will check the limitations and benifits. Also you can check my last article on Authentication, Authorization and Identities in SharePoint 2010.

I am interested in writing this article because Anusha asked What is full trust and CAS in SharePoint 2010?


Code Access Security:
– This is partial trust model.

– The assemblies will be deployed to the bin directory of the corresponding SharePoint web application.

– The solution will be scoped to the web application only, not to the farm level.

– Any other files like resource or image files will be deployed to the SharePoint root directory.

Full Trust:
– In case of Full trust the assemblies in your solution are deployed to the global assembly cache on each Web front-end server and application server in the server farm.

– Here the code will run with full trust and runs without any code access security restrictions.

– Here the solution will be available to any web application on the server farm.

fallow my other articles:-

Different Authentication mechanism in SharePoint 2010


SharePoint Server 2010 supports following authentication methods

– Different Types of Authentication Architecture In SharePoint 2010

Check out Best Alternative to InfoPath -> Try Now

free sharepoint training

SharePoint Online FREE Training

JOIN a FREE SharePoint Video Course (3 Part Video Series)

envelope
envelope

About Bijay Kumar

I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SharePointSky.com

View all posts by Bijay Kumar →