permissions

HelloWebView Sample: java.lang.SecurityException: Permission Denial

Hey Folks, I am trying to get the HelloWebView Sample up and running (as is, with no cuustomizations) found at http://developer.android.com/resources/tutorials/views/hello-webview.html I continue to get java.lang.SecurityException: Permission Denial despite all efforts. In my mind this has got to be some fundamental lack of understa...

Permissions Problems Prevent Database Access

Hi. Recently I inherited a database from another programmer (created / stored with SQL Management Studio 2008), and I am having massive difficulties accessing, modifying, or even viewing the previously created databases. Specifically, when I try to load one of the databases in SQL Management Studio I get the following error message: ...

How to check if a Windows file is readable/writable?

First off: I know that this isn't reliable for actually checking if I can write. I'm writing a file transfer client, and want feature parity between the "remote" and "local" file browser panes. I fully understand I will have to handle any permission related exceptions for any operation performed regardless; it's not a programming check i...

Restricting access to records. Is claim-based permissions a good idea.

in .net Claim-based identity framework If i wanted to restrict users to do an operation (view or edit) on let's say an account, a particular account #123456.(i am talking about business entity, like a bank account.) Is it a good idea to create a claim for each account they can view or edit? Any disadvantages of having a lot of claims ...

Using git svn with some awkward permissions

Due to some funky permissions on our client's side that we can't change, we have a project whose hierarchy looks something like: projectname/trunk: foo/, bar/, baz/ projectname/branches: branch1/, branch2/ (where branch1 and branch2 each contain foo, bar, and baz.) The thing is, I have no permission to access trunk, so I can't ju...

Android Market: Application not visible on some Devices

Hello, i have written an application that needs to process outgoing calls. Everything works fine, the application has already a few hundred downloads, but now i get feedback from people who would like to download it, yet cannot find it. I have done some tests and have found that the permission "PROCESS_OUTGOING_CALLS" seems to be res...

IIS 7.5, ASP.NET, impersonation, and access to C:\Windows\Temp

Summary: One of our web applications requires write access to C:\Windows\Temp. However, no matter how much I weaken the NTFS permission, procmon shows ACCESS DENIED. Background (which might or might not be relevant for the problem): We are using OLEDB to access an MS Access database (which is located outside of C:\Windows\Temp). Unfortu...

Non-deprecated code for detecting whether a SharePoint User has a specific Permission Level

In our application, we have some forms which need to show some data specifically if the current user has a specific permission level. These users belong to an SPGroup which includes users who should not see this data, so in this particular case I cannot filter based off of group membership. My current solution has been to use web.Curren...

How to copy Files from Network folder to Local drive and preserve permissions?

Please close this question. I got what I am looking for and some are arguing it doesn't belong here. All you have to do is zip the files on the mount and drop it in your local HD. All permissions are intact! Is it possible? I have a network disk mounted on Ubuntu. How do I save the files (folders and files recursively) from the networ...

Refactoring multiple if statements for user authentication with subdomains

...

Best practice for web server user/group permissions

What's the best practice in a secure manner to setup the user/group and permissions? Here's what we currently have; web server runs as www/www. Fastcgi Php runs as www/www. User's shell/ftp account is username/username. We want the user to be able to have full access to all files, including those created by the web server 'www' from ...

PHP and Permissions

Hi, I recently moved my website to a new host and now am experiencing some broken code.. I have an uploading script that is now returning this: move_uploaded_file() failed to open stream: Permission denied in *.. I've set the upload directory to 777 which worked fine, but my script is needed to have top level permissions.. (As...

Tortoise SVN : Setting different permissions for sub folders

(I am newbie to tortoise SVN) I have 2 folders in my tortoise SVN. Each need a different set of authorization (I do not want people who have access to the first folder to have read / write access to the second folder). How can I accomplish it? I noticed that all permissions are defined in a file in the root level. ...

Setting SQL database Permissions for Visual Studio Data Config Wizard

Hello, Stackoverflow! I'm new to SQL. I have created a new database in SQL Server Management Studio, and am now trying to attach it to a windows forms project in Visual Studio via the built in Data Configuration Wizard. Currently, whenever I try to attach the database file, I get a permissions error: "You don't have permission to open...

IIS permissions in C#

Hello, I'm developing a solution in C# and I need to set permissions to some folders in the file system and in the Registry for IIS. Is there a way to give permitions to the file system and to the registry for the IIS users, that work for all IIs versions? For instance, in IIS 5 the user acount is ASPNET (I think that it has the IUSR_M...

Web App fails when moved to production environment. Which server permissions do I need?

I have developed a small web app. This app allows users to upload images. It also produces text files with the names of those images (the names are stored and retrieved to/from an MySQL Database.) I have developed this app using MAMP. To create the uploaded image files I use the PHP function imagejpeg('my/path/name.jpg') and to de...

How can I grant datareader to a sql role?

Is it possible to grant the datareader privileges to a SQL Server Database Role rather than a User? ...

Python script to delete old SVN files lacks permission

I'm trying to delete old SVN files from directory tree. shutil.rmtree and os.unlink raise WindowsErrors, because the script doesn't have permissions to delete them. How can I get around that? Here is the script: # Delete all files of a certain type from a direcotry import os import shutil dir = "c:\\" verbosity = 0; def printCleanM...

Effective file permissions tool's api in windows

Starting from Windows Server 2003, Windows included a new tool which calculates the effective permissions for a user (basically it resolves all groups access and takes care of all "deny" permissions as well). An example in point is that a user A belongs to groups B and C. B has been denied read permissions on a file F, while C has been a...

Minimum permission required to access Site Columns page and edit site columns

We've started to adopt SharePoint 2010, and are starting to manually migrate content from SharePoint 2007 sites to new sites we're rebuilding from scratch in SP2010. One of the things we previously had supported was to delegate responsibility for managing some of our site columns to a member of the team. The team member is not familiar...