trust

Losing connection to a webservice via https "No X509TrustManager implementation available"

Hi I have a really weird issue with Java and SSL certificates. Hope someone can help. A web is running in a cluster of 3 identical servers All servers contain "Application A" which is a JSR-168 portlet. "Application A" uses a web service that runs on httpS://webservices.domain.com/ "Application B" also uses a web service on httpS://w...

Authenticating AD via LDAP with a TRUST via PHP

I've got php code that works as expected to authenticate a user against an Active Directory domain using LDAP. The same domain now has a one-way trust enabled - users in the trusted domain don't appear to be visible. Example group named "mygroup" with the members: local_dir_1 local_dir_2 foreign_dir_1 Queried with the filter: (m...

WSE 3.0 Trust chain error - how do i view what certificate is being sent back? I want to know what cert has the trust chain error.

I'm having a trust chain error when I receive my response in WSE 3.0. Their cert is fine when I grab the WSDL. Their cert is fine when I connect. It likes my public cert when I send the XML request. What WSE doesn't like is the token in the response. Microsoft.Web.Service3 calls getelement, then loadbinarysecuritytoken, but then check...

Load an Assembly with lower privileges

What is the easiest way to load up an assembly, instantiate a class from it, but do so in a way that the assembly has limited privileges (sandboxed)? The code should not be able to communicate across the network, write to the file system, or execute processes. UPDATE I just stumbled upon Assembly.LoadFrom(string assemblyFile, Evidence...

1and1 windows hosting with asp.net

Not sure if anyone has used 1and1 MS Hosting and encountered problems with their trust levels? I am simply trying to send mail using system.net.mail in asp.net (which works fine) but when its online with 1and1 I get this error: Description: The application attempted to perform an operation not allowed by the security policy. To...

Do You Trust Hosted Services With Your Source Code and Intellectual Property?

As programming teams become less and less centralized, services such as Dropbox, Beanstalk, and Yammer make it easier than ever to share source code, intellectual property and confidential information. Presumably these companies are operated by technologists that are just as curious as their customers that entrust their content to these...

TFS Authentication from another Domain

Hello, I need to have access to TFS from another domain. The problem is the following: TFS --> domain A (main company domain) Visual Studio --> domain B (development domain) Domain A does not allow a trust between the 2. Another solution would be to configure external authentication on TFS but it seems to require SSL an I don't...

WebPermission Exception even though I'm in Full trust...

Hello 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, Cultu...

.NET Security Error accessing external API

Hi, i'm building a small Twitter web app for myself. I am using TweetSharp but I keep getting an error: Server Error in '/test' Application. Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system...

Visual Studio Unit Tests : dll is not trusted

I'm struggling getting some unit tests running and wondering if anyone might have anything insightful. The setup is that we've got a bunch of referenced DLL's on a server and when I try and execute I get the old Test Run deployment issue: The location of the file or directory 'c:\source\ProjectName\bin\debug\3rdPartyLibrary.dl...

Subsonic 3.1 when is it likely?

Hi all, I have a project built around Subsonic 3.0.0.3 and have run into the dreaded medium trust issue, can anyone tell me is there a way I can mod the code myself to get this working or what the expected timescale for 3.1 version is? Its looking increasingly like I will have to ditch subsonic to get my system running Regards Mike ...

Clickonce intranet application trust

Hi, we have a VSTO outlook add-in we'd like to silently deploy to everyone via AD. I'm signing the App with a "Code signing" certificate (requested certmgr from AD). If I add this certificate to my Trusted Publishers, then I can silently install the signed app via the VSTOInstaller.exe (with the /S switch). We don't want to have to in...

The Project Location is Not Trusted error in Visual Studio

Quite a simple error, and the reason is obvious - I mapped a network drive, and I am opening the solution from it. Visual Studio gives me this error. I tried googling, and to my surprise, couldn't find a fix. I am running Visual Studio 2008. The solutions I found on google say I should run Mscorcfg.msc, but unfortunately, I don't seem ...

Android: Trusting all Certificates using HttpClient over HTTPS

Hi all, Recently posted a question regarding the HttpClient over Https (found here). I've made some headway, but I've run into new issues. As with my last problem, I can't seem to find an example anywhere that works for me. Basically, I want my client to accept any certificate (because I'm only ever pointing to one server) but I keep...

Make a UNC path trusted for DLL referencing on Server2008R2

I need to run MSTest on an assembly referenced by a UNC path. When I try I get a generic error, which Google tells me is trust related.The machine where MSTest runs and the network host are both Server2008R2 (in some circumstances the same machine). For example, running this works fine: mstest /testcontainer:c:\builds\SimpleLibraryT...

is it possible to run asp.net application in the context of an account of differnt domain

Hi, Suppose i work in a company ABC.com and another parent company domain XYZ.com. What must I do to run the ASP.net application hosted in a machine at ABC.com but use the windows credentials of XYZ.com? Thanks in advance ...

Deploy a full trust wpf browser application (XBAP)

Hi everybody, I am building a XBAP application which required to run in a full trust environment. Thus, when using it on browser, the end-user have to install my .pfx file (to certificate my application) or receives the famous "Trust not granted" error. That make a inconvenience. So, I want that everytime the end-user access my xbap app...

LINQ reflection with Host Level Trust

Hi, I'm having difficulty with my project and deploying it on my web hosting provider. I'm on a shared hosting environment with "Host Level" trust. I have used LINQ in my project but now they've just told me that Reflection is disabled on their shared services. I believe that reflection is required to be able to use variables within th...

Web site works in dev mode; when deployed on IIS causes Security Exception

My ASP.NET web site works fine in development/debug mode, but when I publish it, I'm getting the following error: Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or ch...

.NET trust level question

Is it possible to make a change to a project that will cause it's assembly to be executed in a different trust level? If so what is it? From what I understand this can only be determined form outside of the project itself... ...