----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: kgshekars Message 1 in Discussion Hi All, We have a requirement to restrict the .Net component to be run other than my application folder for some security reasons. Scenario: By default , Enterprise Policy and User Policy have "All_Code = Nothing" and Machine has "All_Code = Full Trust" permission set. But, my client has set Machine policy's "All_Code" membership condition to "Nothing". They had asked me to create a custom Membership condition under Machine policy and set the following settings: Membership condition = URL and this should have property as file:///c:\inetpub\wwwroot\myapplication folder Permission set = Full trust I did the above configuration and when I tried to execute the code it gives "Security exception". I've attached a screen shot for your reference. Please let me know if you have any idea. Regards, -Guna View Attachment(s): http://groups.msn.com/bdotnet/_notifications.msnw?type=msg&mview=1&parent=1&item=26334 ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/bdotnet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
