Is it possible give full trust, programmatically to an ActiveX control embedded in a web page?
We are trying to build an activeX dll which creates and open a word document and refreshes its data based on some data from another site. It works fine, if I give the assembly full trust from Administrator Tools -> .net 2.0 configuration tool....
My code:
var list = new LinkedList<int>();
var ramCounter = new PerformanceCounter("Memory", "Available MBytes");
while (true)
{
for(int i = 0; i < 1000 * 1000; i++) list.AddLast(0);
Console.WriteLine(ramCounter.NextValue());
}
Questions:
The documentation seems to say I can use a PerformanceCounter only as an Administrator,...
Hi there,
I am trying to write an install script for a system I have been working on. The script copies some default files from one location to another, and creates various folders for them. I have this bit working a treat, but the only problem is that when I login via FTP, I can't edit, or delete the files that PHP has moved for me.
...
A friend and I are both working in xCode. We send each other the most recent version of the application files as a .zip or upload to our ftp whenever the other person needs to work on their area of the project. However, we have had some issues. When I last sent it to him, xCode wouldn't let him open and run the project. However, when he ...
My SharePoint site uses Active Directory authentication. The Site Visitors SharePoint group contains the AD group of all users.
I have a subsite which Site Visitors have Read access to. Inside this subsite, I have a document library which I don't want visitors to have read access to and so I have made the permissions unique for this do...
The following line in my C program should provided All/Group/Owner read and write permissions
mkfifo("/tmp/dumbPipe", 0666)
But once I execute the code and check out the permission non of the write bits were set, I end up with
prw-r--r--
The owners are the same, Is it a problem since I'm creating the pipe in the tmp directory? When...
local debugging on a machine, ive set access to network service and everyone to full permission but every time im getting
Access to the path 'C:\Users\\Documents\Visual Studio 2008\WebSites\Directory\pictures' is denied.
Description: An unhandled exception occurred during the execution of the current web request. Please review the sta...
I am working on a PHP application that gets its input (image/text) from a mobile device and posts this to various social networks.
Now, I'm having some problems figuring out how to post to facebook WITHOUT facebook prompting me for permission. I am the only user so I can add my username and password in the code or I can have facebook pr...
I have a signed application for Nokia 2660.
This application makes HTTP connections and when the application is opened the device prompts a message asking for user permission.
The user can previously opening the application make a configuration so that this prompt never appear.
This works fine.
When a new version of the application i...
What's the best way to create in Node additional status field that is a list of fixed string values, and is visible to users, but modifiable by admins only?
I am limited to Drupal 5, but interested in Drupal 6 solutions too.
...
How can you run the following script in generating docs by PHPdoc?
#1 sudo -code
sudo source makedoc.sh
I get
no command source
#2 without sudo
The problem is that sudo does not have the command source.
I tried to fix the problem unsuccessfully by changing the persmissions of ~/phpdoc/phpdoc to 777 and then running
source makedo...
I'm building a website using MAMP on OS10 Leopard. I'd like to be able to set an publicly accessible upload directory to 0775 and not 0777. I've tried a bunch of combinations in the "Permissions" panel in MAMP. I can get the site running under "www" group and 0775 works great for uploading, but then I cannot edit or delete the uploaded f...
I'm trying to connect locally to mysql 5 server in jsp page using tomcat 6 and datasource.
I've configured everything as in the tomcat manual (web.xml, context.xml, etc.), but I get this exception:
java.net.SocketException: java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:3306 connect,resolve)
...
Can user schmoe_j run an app that copies files to a directory that schmoe_j can't write to?
...
It's executed when browsing a PHP file(http://localhost/filename.php) on windows.
The web server is Apache.
I think it should be divided into 2 steps:
1.found user of Apache threads
2.give enough permissions to that user towards "F:/tmpJob/"
I checked httpd.conf and found:
User daemon
Group daemon
But there is no "daemon" user on...
Hi ,
I want a to create a new user on a db with only the select permissions (read only access)
how can i do this ?
i'm working with sql 2008
...
Hello everyone,
I am using the following code to create Excel object using VBA. I am using Office 2003. I run the following code in classic ASP.
Set myexcel = CreateObject("Excel.Application")
Error message is, any permission needed to create Excel object?
Computer - default permission settings do not permit the address LocalHost (us...
I'm trying to access and edit the contents of an iframe. The iframe points to a page on a subdomain on my own domain. This is the javascript code I'm using, although it doesn't really matter.
$('iframe').load(function(){
$('div.code textarea.html').val($(this).contents()[0].html());
});
When I run it it says I don't have permission ...
I have a git repository that needs to run a post-receive hook as sudo. The binary that I compiled to test this looks like:
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
int main() {
int ret;
ret = setuid(geteuid());
if(!ret) {
fprintf(stderr, "error setting uid %d \n", ret);
}
system("[...comma...
I’ve got an SVN hook written as a .NET console app and running on VisualSVN server which is causing some problems. Every time I try to commit (either remotely with Tortoise or locally via command line) I get the response “Access Denied”. Looking at the event viewer for VisualSVN there is an error beginning with “Could not MERGE resource…...