permissions

Drupal and advanced user rights

Hi everyone ! I work for a webagency, and I have to develop an intranet/extranet app to be used as sort of a DMS (Document Management System) for a high school. Some of the requirements of the projects are using Drupal CMS and having advanced user rights. Let me explain : The professors can post only for their students, and the students ...

PDO SQLite: read-only database

I have a SQLite database that I am using for a website. The problem is that when I try to INSERT INTO it, I get a PDOException SQLSTATE[HY000]: General error: 8 attempt to write a readonly database I SSH'd into the server and checked permissions, and the database has the permissions -rw-rw-r-- I'm not that familiar with *nix permis...

Sharepoint permissions. Require multiple groups.

I have a permission question I hope someone can help me with. I have setup permission groups for each department in an organization, i.e. “Dept-1”, "Dept-2", etc. My plan is to put people in these groups so they correspond with the department they work for. Next I’m setting up groups that correspond to areas of work, i.e. “Area-Tech...

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...

"Cannot open log for source" - Windows 7 - .NET web service - event log

I have a .NET web service that is trying to log to the Windows Event Log. However, when I try to send a SOAP request to a web method in this web service, I get back this error in the SOAP response: System.InvalidOperationException: Cannot open log for source 'MySource'. You may not have write access. ---> System.ComponentModel.Win32...

Move a file and rename it.

Figured PHP's rename would be my best bet. I didn't see many examples on how to use relative URLs in it though, so I kind of compromised. Either way, this give me permission denied: I want to do this: $file = "../data.csv"; rename("$file", "../history/newname.csv"); Where ../ of course would go back 1 directory from where the script ...

How to change permissions for a single page or story?

In drupal, how can I change the permissions on a single page or story? I want to change one page or story so that only admins can post comments and all users can see those comments but can't post any of their own. Thanks. ...

syscolumns table permission issue

Hello everyone, I am using SQL Server 2008 Enterprise on Windows Server 2008 Enterprise. In SQL Server Management Studio, I can execute the statement "select * from syscolumns" successfully, but I can not find the syscolumns table from SQL Server Management Studio, any ideas what is wrong or how to find this table? (I mean syscolumns t...

Drupal 6 administer nodes permission is ignoring content type permissions

I'm needing to set different 'create content' permissions for different user roles. This only appears to work when a particular role has not been given the "administer node" permission. However, without this permission the role does not have permission to control whether or not the node is published (which I require) or to view the conte...

Database flexibility and privacy, hidden structure, software compatibility and 'public' permissions

Hi everyone, I'm one of those that recently decided to migrate from MySQL to PostgreSQL and with it a lot of old habits are being torn apart. However there is functionality from MySQL I would like to preserve in PostgreSQL. So... topics: User should have ability to create tables under a restricted namespace. Tables of one user shoul...

Query TFS for permissions

Is there a way to list which users and AD groups have permissions to a folder and all sub folders in a TFS project? EDIT: We are using TFS 2008 ...

CakePhp ACL permissions

Checking my application, I saw that every user can access to all the actions in it. I'm using cakePhp build-in ACL Component... Checking permissions through terminal displays correctly is the user is allowed or not to call a certain action. But once I'm checking the application on the browser all users have access to every action. Any cl...

Sharepoint item permissions "created by" need multiple entries

I have a sales opportunities list and only want the "Account Owner" and "Account Team" to be able to edit Items in the list, everyone else can view. In "Advanced Settings" I have "Read Access" set to "All Items" and I have "Edit Access" set to "Only their own" Issue 1: I imported the list items so the "created by" column that SP looks ...

Retrieve Permissions list

Hi all, I'm trying to retrieve the permissions of the apps in my device. The weird thing is, for some apps I do get results, and in some of them I can't retrieve any permissions. Maybe in order to get the permissions list of an app, the app has to set some specific flag? Because if I try to get the permission list of my app in this wa...

Permissions problems for upload through php

Through the imap_* functions of php i'm trying to store the attachments of the emails on my server. I want to store the contents ($c, string) of the file with filename($f) in a sub-directory named with a thread id ($thread). m_attpath is a defined constant pointing absolute to the base folder. if(!is_dir(m_attpath.$thread)){ ...

Detect the minimum permissions PHP needs to write to a directory: 0777, 0770 or 0700?

Imagine some script & its folders was uploaded with FTP. Usually, the folder permissions are wrong and the script should suggest which permissions to set. Certainly, it's not good to set 0777 for everything I'm going to write to. But there're 3 possible webserver configurations: PHP user = user FTP. Thus, writing needs 0700 The user is...

What permissions must be granted for applets to write temporary files?

We're developing an applet and need it to be able to read/write files in the user's temporary files directory (e.g. C:\Documents and Settings\USERNAME\Local Settings\Temp). The applet is signed, the user clicks the 'allow' option on applet startup, and the Java Control Panel has "Allow user to grant permissions to signed content" and "...

How to find out what user a SQL stored procedure accesses network shares as?

I've been asked to find out why a program is failing. I've traced it to a SQL stored procedure. The program passes in the name of a file that the st. proc. presumably tries to read. However, the SQL server is returning an error indicating that it cannot access the file because access is denied. My connection string says Integrated Se...

Is there a way to access an Address Book from Air API?

I wanted to sync my contacts with my CRM Application. my CRM Application gives me a nice API to develop to, but I need to read and write from my Address Book... Mac Address Book Outlook Address Book Outlook Express Address Book etc using AIR API, is there any way to access this? ...

Grant user DDL permissions on specific schema

Using SQL Server (2008), is it possible to grant a specific user full control of the objects under a specific schema? This includes create/drop/alert table. Its important that this user isn't not given db_ddladmin role because that would give him access to other tables. ...