Welcome to MSDN Blogs Sign in | Join | Help

Silverlight Security Cheat Sheet

Over the last week we took a look at the new Silverlight security model.  When you're writing a Silverlight application though, there's a lot of information there that you may not want to wade through to get yourself unblocked.  Here's a quick cheat sheet highlighting the important points that you'll need to know when working with the Silverlight security model:

  • All applications written for Silverlight are security transparent.  This means that they cannot: [details]
    • Contain unverifiable code
    • Call native code directly
  • Silverlight applications can access public methods exposed by platform assemblies which are either: [details]
    • Security transparent (neither the defining type nor the method has any security attributes)
    • Security safe critical (the method has a SecuritySafeCriticalAttribute)
  • Silverlight applications may contain types which derive from: [details]
    • Other types defined in the application
    • Unsealed, public, security transparent types and interfaces defined by the platform
  • Silverlight applications may contain types which override virtual methods and implements interface methods which are: [details]
    • Defined in the application itself
    • Defined by the platform and are transparent or safe critical
Published Monday, May 14, 2007 8:45 AM by shawnfa
Filed under: ,

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Silverlight Security Model

Tuesday, May 15, 2007 11:16 AM by Tim Weaver

Shawn over on the MSDN blogs has put up a series of posts on the Silverlight security model. The...

# Silverlight Security

Tuesday, May 15, 2007 10:44 PM by Tim Weaver

Shawnfa over at MSDN Blogs has a series of posts on the Silverlight Security model. Anyone interested

# Points of interest #8

Sunday, May 20, 2007 8:50 AM by Community Blogs

Another week has shot by. Didn't have any time to look at Silverlight although I have managed to download

# re: Silverlight Security Cheat Sheet

Wednesday, October 14, 2009 12:48 AM by typy bukmacherskie

That seems to be interesting and useful, i need to secure but i don't ever know such a solution is possible, thanks for speaking about it ! Very helpful for me !

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker