Which location should you recommend?

You are designing a Windows Presentation Foundation (WPF) application. The WPF
application contains code that will be executed by both full trust callers and partial trust
callers. The WPF application code does not have the AllowPartialTrustCallers attribute set.
You have the following requirements: • The application security settings must allow partial
trust callers to create and write to a file. • Users must have access only to files that they
create and not to files created by other users. You need to recommend a location for storing
each user’s files. Which location should you recommend?

You are designing a Windows Presentation Foundation (WPF) application. The WPF
application contains code that will be executed by both full trust callers and partial trust
callers. The WPF application code does not have the AllowPartialTrustCallers attribute set.
You have the following requirements: • The application security settings must allow partial
trust callers to create and write to a file. • Users must have access only to files that they
create and not to files created by other users. You need to recommend a location for storing
each user’s files. Which location should you recommend?

A.
the user’s My Documents folder

B.
the user’s Roaming folder

C.
the user’s LocalSettings folder

D.
the user’s IsolatedStorage folder



Leave a Reply 0

Your email address will not be published. Required fields are marked *