full-trust

Running a .net exe from a network share runs in partial trust when the access to root-shared is not granted to user

耗尽温柔 提交于 2019-12-25 04:01:47
问题 I have a situation where there is common shared network path let's say " \10.x.x.x\CommonShare ". Only administrator has got permission on this path. Now inside the commonshare we create user-specific folders where that particular user will have full access. Like user XYZ will have full access on \10.x.x.x\CommonShare\XYZ Now the user XYZ logs-in in his own box and from there he runs an executable which is available in the shared folder \10.x.x.x\CommonShare\XYZ\testApp.exe Have configured it

Running a .net exe from a network share runs in partial trust when the access to root-shared is not granted to user

假装没事ソ 提交于 2019-12-25 04:01:09
问题 I have a situation where there is common shared network path let's say " \10.x.x.x\CommonShare ". Only administrator has got permission on this path. Now inside the commonshare we create user-specific folders where that particular user will have full access. Like user XYZ will have full access on \10.x.x.x\CommonShare\XYZ Now the user XYZ logs-in in his own box and from there he runs an executable which is available in the shared folder \10.x.x.x\CommonShare\XYZ\testApp.exe Have configured it

NLog GetCurrentClassLogger() NullReferenceException using StructureMap (Full Trust)

自古美人都是妖i 提交于 2019-12-20 10:37:34
问题 It seems like NLog can't use reflection for GetCurrentClassLogger() , even though my MVC 3 app is deployed in a Full Trust environment on IIS7. I'm using StructureMap 2.6.1 and the problem seems to appear sporadically between deploys. I can't figure out why, though I don't think StructureMap is causing it. Bootstrapper class: public static class Bootstrapper { public static void ConfigureStructureMap() { ObjectFactory.Initialize(Init); } private static void Init(IInitializationExpression x) {

XBAP full trust deployment

前提是你 提交于 2019-12-18 09:25:45
问题 I did the following steps to deploy my wpf application that need full trust permission: 1-Creating a certificate using makecert.exe 2-Creating signed application and deployment manifests. 3-Building a website in IIS to host files (include MyApplication.exe.manifest and MyAppicatio.xbap) 4-Adding certificate - used to sign manifests - to IE certificate store (Trustes Root Certification Authorities and Trusted Publishers) , IE Menu bar->Tools Internet Options->Content->Certificates But when i

Deploy XBAP Application?

ぐ巨炮叔叔 提交于 2019-12-12 07:38:57
问题 We have a WPF Application that has a two flavors with a consistent UI etc,one that runs from a Windows OS Desktop and one that is supposed to run as an XBAP application. Currently I am publishing the XBAP application to my localhost machine IIS (Windows XP Pro),Also I have enabled full trust in my scenario as it is needed(Microsoft .NET Framework 2.0 Configuration,URL Full trust) + pfx file(for my machine name) that gets installed when a user on another machine types the URL from the IE

How to get rid of security exception?

不问归期 提交于 2019-12-12 03:21:33
问题 I start a .Net server side program on my local workstation, but soon it throws a security exception. I searched the web for answers, but no quick fix was found / worked. I just want to run my program. How do I get rid of the exception? I fully trust the program, because its mine. Edit: Oh, yes, I do run the program from a mapped folder that is mapped to my own local drive for the sake of clarity of folder structures. Thanks for the answers, I try tomorrow to run it directly from my drive.

WebPermission Exception even though I'm in Full trust

跟風遠走 提交于 2019-12-10 22:28:00
问题 I'm trying to do what I thought was a simple HttpWebRequest (the code is deep inside a dll so I can't give a small code snippet, but it should be relatively simple), but I'm getting a security exception: System.Security.SecurityException: Request for the permission of type 'System.Net.WebPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. I've checked and everything is running with Full trust, and have tried setting this in the web.config. But I've

Silverlight 4 - elevated permission *inside* the browser

跟風遠走 提交于 2019-12-10 10:09:52
问题 I know Silverlight 4 can handle elevated permissions outside the browser. Is there a way to accomplish this inside the browser? I need to make a folder/file upload manager that gives a better user experience than the standard , and I'd like to implement it in Silverlight. I know Java has an option to gain elevated permissions, but you have to attach a signed certificate to your app. Does Silverlight 4 have a similar option - to gain elevated permissions by attaching a signed certificate

Silverlight 4 - elevated permission *inside* the browser

十年热恋 提交于 2019-12-05 20:02:40
I know Silverlight 4 can handle elevated permissions outside the browser. Is there a way to accomplish this inside the browser? I need to make a folder/file upload manager that gives a better user experience than the standard , and I'd like to implement it in Silverlight. I know Java has an option to gain elevated permissions, but you have to attach a signed certificate to your app. Does Silverlight 4 have a similar option - to gain elevated permissions by attaching a signed certificate (after warning the user, of course)? -Doug I believe that the full-trust option is only available as an OOB

NLog GetCurrentClassLogger() NullReferenceException using StructureMap (Full Trust)

只愿长相守 提交于 2019-12-02 23:34:14
It seems like NLog can't use reflection for GetCurrentClassLogger() , even though my MVC 3 app is deployed in a Full Trust environment on IIS7. I'm using StructureMap 2.6.1 and the problem seems to appear sporadically between deploys. I can't figure out why, though I don't think StructureMap is causing it. Bootstrapper class: public static class Bootstrapper { public static void ConfigureStructureMap() { ObjectFactory.Initialize(Init); } private static void Init(IInitializationExpression x) { x.AddRegistry(new DBServiceRegistry()); x.AddRegistry(new MyRegistry()); } } Registry class: public