policyfiles

.NET Assembly Binding How/Why (1.1, 2.0, GAC, Policy Files and more...)

I have been working through a number of very "odd" issues with some DLL versions, Policy Files, and items in the GAC and for the life of me I haven't been able to find a solid answer as to how/why the .NET framework picks the assemblies that it does, when binding project references. First of all to give a bit of history about what we ...

Storing DLL's in A Central NON GAC Location

We are being presented with a unique, painful situation. Traditionally we have been using the GAC and Policy Files to control DLL versions for our .NET applications. However, we have a very unique situation and are running into major problems with this, as some of our applications do NOT respect the policy files. Most specifically the...

Signed applet without modifying policy file manually.

Currently I had developed an applet. Applet basically uses java.awt.Robot package for capturing screen. I want to store captures images locally. I had signed my applet jar. Still when applet tries to write file into local system it gives access error. Is there any way by which I can write file in local file system without modifying polic...

"Unlimited Strength" JCE Policy Files

I have an app that uses 256-bit AES encryption which is not supported by Java out of the box. I know to get this to function correctly I install the JCE unlimited strength jars in the security folder. This is fine for me being the developer, I can install them. My question is since this app will be distributed, end users most likely wil...

Silverlight Socket Policy Not Working

I am trying to implement a data push from a Windows Service to a Silverlight app. I have created a policy server which sends this policy file: <?xml version="1.0" encoding ="utf-8"?> <access-policy> <cross-domain-access> <policy> <allow-from> <domain uri="*" /> </allow-from> <grant-to> <socket-re...

clientaccesspolicy.xml file not working...

Hi all... I have a site with a Silverlight-enabled WebSerivce (.svc file). In that app is also a Silverlight application which references this service. Now, our website uses multiple headers (to account for the user coming to it with or without the 'www.' subdomain, e.g. mydomain.com and www.mydomain.com). So i put in a clientaccesspol...

Is it possible to remove a Publisher Policy file?

I have a situation where a vendor-supplied assembly reference is messed up. Basically, it is pointing to a version of the assembly that I do not want to use. I used FusionLog to view the assembly binding log and I see these entries: LOG: Publisher policy file is found at C:\WINDOWS\assembly\GAC_MSIL\policy.11.0.iAnywhere.Data.SQLAnywh...

What's python complaining about here?

I'm trying to run Adobe's sample python policy server script, linked to here: http://www.adobe.com/devnet/flashplayer/articles/socket_policy_files.html I'm getting the following error: # python flashpolicyd.py --file=policy.xml File "flashpolicyd.py", line 40 with file(path, 'rb') as f: ^ SyntaxError: invalid syntax ...

How to grant permissions to a java applet being called by JavaScript via the java.policy file

I have a single sign on application for our intranet which is supposed to read a file off the local computer as well as get the users SID and verify that the user is valid. I have a jar that is embeded in the page and called by javascript. Inside the jar I have used doPrivileged() to allow the code to be called from javascript. The prob...