What is Silverlight/C# equivalent for Java's AccessController.doPrivileged -
What is Silverlight/C# equivalent for Java's AccessController.doPrivileged -
i'm trying filing silverlight , have access result javascript. done java applets through accesscontroller.doprivileged
method, illustration can write methods such savetofile
or readfromfile
wrapped within accesscontroller.doprivileged
method, , done. wanted know how can same thing silverlight, i.e., privileged stuff such file io therein.
by design (for security reasons), silverlight code cannot access straight host's file system. file may accessed, in reading mode only, if selected way of file open dialog. limited capabilities writing files when silverlight application both ran in out-of-browser mode and in context of elevated trust. yet such access limited particular known directory locations (my documents, music etc.)
isolated storage provides way silverlight applications create, write , read files, type of access "corralled"; again, silverlight code not have direct access host's file system.
c# java silverlight privileged-functions
Comments
Post a Comment