permissions

Permissions denied for directory - c++

Hi guys, I'm trying to build ogre newton application from svn. I have win7 && vs 2008. There is inc directory which is included into resources (additional include directories). But after compiling I get error: fatal error C1083: Cannot open source file: '*\newton20\inc': Permission denied c1xx What's wrong? ...

Oracle PL/SQL: Retrieve list of permissioned procedures for account

Hello, I've researched here and elsewhere but haven't found an answer for the following. I'd like to get a list of all procedures available to my application's Oracle account (AFAIK they're part of one package), and have tried the following command in sqlplus: SELECT * from user_procedures; However this only returns one row/procedur...

SharePoint GetPermissionCollection Web Service missing role name information

Hey everyone, I am using the following SharePoint WS calls GetPermissionCollection GetRolesAndPermissionsForCurrentUser And in all of them, I am missing the rolenames. Am I missing something here? Thanks ...

Rails + Passenger CSS problem

I'm trying to deploy my first Rails app. At first, I was getting the following error: ActionView::TemplateError (Permission denied) I set the permissions of the stylesheets folder to 777 (just for now until I work out what's going wrong) and the application started to work. However, it is not picking up any of the stylesheets (eve...

WIX: Problem to give Permissions to a folder.

I've read all related topics and haven't found a full answer to my problem. I would like to give full permissions to SYSTEM and Read & Execute permissions to Users group to a folder under Program Files. Nothing more, nothing less. I know there are 3 ways to give permissions to a folder using WIX, none of them are really good for me and...

file permissions messed the site! what is the best permission? 644? 744?

Hi friends, just messed the websites at host by changing permission settings :( none of sites are working now!!! it gives Forbidden You don't have permission to access / on this server. error! how can i fix it?! should i make files' permissions as 644? thanks!!! ...

Class name for unix-like permission object

I have a class to store unix-like permissions for user, group and other. In principle it is a limited access control list but I don't want to name it ACL, because usually an ACL is something different. The class looks basically like this: class X { boolean userRead, userWrite, userExecute; boolean groupRead, groupWrite, groupExecut...

Permissions system for a CMS

Hi - does anyone know of a good tutorial for how to build a permissions and roles system for a CMS? Thanks you in advance. ...

Securing trac from anonymous users?

I have set up trac on my domain for issue tracking. How to I configure it so that when anonymous users visit the domain, ALL they see is a login form. Basically I want 2 security levels: anonymous - visitors only have access to a login option users (i.e. everybody else who has logged in) - have access to everything Thanks! ...

Read Permissions to a directory in C#

I've noticed if you change the security settings for a particular directory, you can make that folder no longer "browsable" in windows. In particular, changing the "Read" permission for Administrators to "Deny" will make that folder inaccessible. The question I now have, is how do I figure this out in code? I following gets me close, ...

To display permission page in facebook of iphone

hi, I am new to iphone development, i want to display the permission page after logging facebook. buttonIndex is the index of my actionsheets. if(buttonIndex == 1) { session = [FBSession sessionForApplication:@"My App key" secret:@"My Key" delegate:self]; FBLoginDialog* dialog = [[[FBLoginDialog alloc] initWithSession:sessio...

Django: Group based permissions example / docs?

Can a kind soul point me to some good documentation or code samples on setting up group based permissions with Django? My requirements are fairly simple - I just need to enable/disable functionality based on what groups a user belongs to. ...

How do I prevent permission escalation in Django admin when granting "user change" permission?

I have a django site with a large customer base. I would like to give our customer service department the ability to alter normal user accounts, doing things like changing passwords, email addresses, etc. However, if I grant someone the built-in auth | user | Can change user permission, they gain the ability to set the is_superuser flag ...

Built-in database role in SQL Server 2005 to permit execution of stored procedures?

In SQL Server 2005, there are built in roles: db_reader db_writer etc. Is there any role that lets a user execute an stored proc? I don't want to use db_owner, because that will permit deletion and updates, which I don't need. The only permissions I need are: SELECT EXECUTE ...

Does Windows 7 still assign Event Log permissions via the Registry?

Hey guys, Very simple question that I've been having trouble answering. In Windows XP and Server 2003, I have occasionally come across a problem when trying to write to the event log. "The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security." The solution to this that has worked in th...

ASP.NET 3.5 Permissions on IIS 6

Hi, I have an asp.net page which changes passwords in the OU, Where do I set the user which actually runs my code? In the virtual directory security settings, the application pool user? or the Webconfig? Which one of the configurations actually configures the user which runs the asp.net code? Thanks. ...

On Android, how do I grant a LiveFolders the required permission of my ContentProvider?

On Android, for a content provider that requires the FINE_LOCATION permission, how do I create a LiveFolder? <provider android:authorities="gpstracker" android:name=".db.GPStrackingProvider" android:permission="android.permission.ACCESS_FINE_LOCATION" > </provider> The LiveFolder keeps crashing in the at com.android.launch...

Permissions for writing a file

Hello, I've the following issue I've a windows application It calls a remote web service (for authentication) It in turns call a web service (in the same remote machine) (to get a licensed file) It saves the licensed file in All Users/Application Data in the system where the application is running Which permission is used for saving...

How to configure database permissions for a Django app?

I'm looking for links, or an answer here, on to how to properly configure the database permissions to secure a Django app? To be clear, I'm looking specifically for material dealing with grants on the database, not permissions within the Django framework itself. ...

Django admin - Restrict user view by permission

Hello, I'm starting to learn Django and I have a question. Is there any way to restric views in the administration interface? I see there are "change, "add" and "delete" permissions, but I wanted to restrict views also. For example: Two users, "User 1" is superuser and "User 2" is in the editor group. User 1 has access to everything, ...