policy

How to get Hudson CI to execute a Powershell script?

I'm using Hudson version 1.324 for CI and have a couple of issues: Environment: - Windows Server 2008 - Powershell v1.0 - Hudson 1.324 running as a service - Hudson Powershell Plugin installed - Psake (aka. "Powershell Make/Rake" available from Github) 0.23 (All current/latest versions as of this initial post) I have a Powershell (PS) ...

IP security policy on windows 2003

Does anyone know how I can: create IP security policy manage IP filters and IP filter actions PROGRAMMATICALLY on windows 2003? Not use Microsoft GUI utility. I tried to achieve this by programming with windows registry, all data I need that is under HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\windows\IPSec\Policy\Local but I h...

WSDL PolicyReference to an external file

I'm getting some errors when I try to deploy a web service generated using CXF's wsdl2java to generate the Java code from a WSDL file. I've managed to trace the error down to a NullPointerException being thrown by Apache Neethi when I tries to normalize a PolicyReference. The policy reference is defined in an external XML file (a lot o...

Policies Array Class-Design wrapper

Hi, i want to write an wrapper for different Array Classes with different Policies. For example: typedef ArrayType<useValArray,StdAllocator> Array; // one global assignment I want to use the class like a blitz++ Array for example: Array<double,2> x(2,2); //maps the Array to an Valarray or to a Blitz++ Array Array<double,2> x2(5,...

Changing Local Security Policy Programatically

hi i want to change Local Security Policy "Interactive logon: do not require ctlr+alt+del" in c# how can i do this Regards Ehtsham ...

FlashLite 2.x/3.0 Cross Domain policy file

As per my understanding of the Adobe docs for a cross domain request by an swf, two types of policy files are required on the server: URL policy file: this is named "crossdomain.xml" and stored in the root of the server and is generally an http request to the server. System.security.loadPolicyFile("http://foo.com/crossdomain.xml"); So...

Group Policy on Terminal Server 2008

Hi all, I'll get straight to it. We have a domain controller running Windows Server 2003 and a new Terminal Server running Windows Server 2008. I was wondering what the best way to apply a group policy to the users from the Active Directory on the domain controller to the Terminal Server would be. I am a little confused. Thanks Ben ...

cgi-bin directory contents: What else can be stored there, apart from the CGI scripts/executables?

What files should/should not be stored in the cgi-bin folder/directory on a web server? Obviously, executable scripts/files that make up a web application, called from a web browser can be stored there. But is there a common industry opinion about what else can be stored there? Is there a very strong reason why nothing else apart than...

security exception when loading web image in jar

I am trying to create a java jar Applet that will run in a browser, download an image from a URL, and display it to the user. My implementation is: try { String imageURL = "http://www.google.com/intl/en_ALL/images/logo.gif"; URL url = new URL(imageURL); img = ImageIO.read(url); } catch (IOException e) { System.out...

Separate policy from mechanism: What does it mean?

I've often heard the mantra of "separating policy from mechanism", especially in the context of the Unix philosopy. What does this mean and what are some concrete examples of it? When/why is/isn't it a good thing? ...

No Security header in message but required by policy

Hi I encounter this issue. Anyone got any idea? How can i pass in the security header in visual studio 2008 project? Thanks in advance! The security header portion in the WSDL file : <s0:Policy s1:Id="Auth.xml"> <wssp:Identity xmlns:wssp="http://www.bea.com/wls90/security/policy"&gt; <wssp:SupportedTokens> <wssp:Se...

Facebook Policies: Can my application automatically post stories to my Facebook stream?

According to the Facebook Platform Policies: You must not pre-fill the user_message parameter or content sent via an extended permission (such as a status update or note), unless the user generated the content earlier in the workflow. Does that mean that I can't publish stories to the stream automatically, even if the use...

SOAP Message size it greater than allowed limit [SECURITY.MSGSIZE v 1.0]? How?

I'm trying to help a colleague run SOATest (a web services client that makes testing SOAP services easy) on a WCF web service operation, and for "big" responses, we are seeing this error: SOAP Message size it greater than allowed limit [SECURITY.MSGSIZE v 1.0] This is perplexing, as the tool is actually able to get a response from the...

Preferred Socket Policy File Server Implementation?

I'm trying to get my Flash application to connect via socket to my server, so I need to set up a socket policy file server. It seems like there are various roll-your-own implementations floating around out there, but is there any kind of standard or best practice with what to use? Some google searches turned up nothing, so I'd be curio...

How do you add user account policies programmatically?

I was using the APIs NetUserAdd and NetUserSetGroups to add a user account and associate it with a group to a computer. Not much later I found an example capable of doing the same thing (adding a user, associating him with a group) using System.DirectoryServices namespace and DirectoryEntry object. Now I need to add policies to that ne...

IE8 and P3P problems again,

Have been browsing across the net, and seems everyone who got into this mess, really slogged to get out of it,... and now my turn! http://stackoverflow.com/questions/999534/ie-p3p-iframe-and-blocked-cookies-works-until-page-host-page-has-personal-info been reading alot, and i have a very simple p3p policy here: http: // bit.ly/cCyGi5 ...

Flash / AS2 Socket Policy File issue

I've been trying to establish a connection between my flash client and java server for a few days now, but having trouble with the socket policy server. I've read a lot of info online (including the Adobe guide on how to create one) but still I can't get it to connect, other than in the "Test Movie" option in CS3. The source for the cl...

Java RMI - Socket Permission issues

Hi, I'm having problems trying to connect my java program to 2 different sockets. Basically I want to initialise my RMI Server (connecting to port 1099) and then also initialise PrologBeans on port 10002. The initialisation seems to work fine for both, but as soon as I try to access the prologBeans I get the following error: Exception ...

Can C++ policy classes be used to specify existence / non-existence of constructors?

Suppose I have: struct Magic { Magic(Foo* foo); Magic(Bar* bar); }; Is there a way to make Magic a template, and define template classes s.t. typedef Magic<FooPolicy, ...> MagicFoo; typedef Magic<BarPolicy, ...> MagicBar; typedef Magic<..., ...> MagicNone; typedef Magic<FooPolicy, BarPolicy> MagicAll; s.t. MagicFoo & MagicAll h...

Timeout on xmlsocket (AS2 / Java)

I'm attempting to connect an xmlsocket to a java server using actionscript 2. I can get it to work fine in "Test Movie", but in a browser I'm having problems with the cross domain policy file. The server app receives the request for the policy file and responds to it with the XML content of the file, but when debugging it claims the req...