permissions

WebDAV/ftp/etc custom solution

Hi! We have a project (Web/PHP) where we would like users to access their files, used in our application, using some kind of standardized protocol e.g. FTP or WebDAV. This would make it easier for our users to access their files, which mainly consists of templates and images. The thing is, the directory that the users would be browsing...

permissions for running passenger on OS X 10.6

I'm not sure how to set permissions for Passenger on OSX. I have gotten through the install fine, but I understand now that Passenger runs as whoever owns environment.rb. That's my own user and group, call it apple & apple. As I understand it, Apache runs as _www & _www. What's the right strategy here? Let's say the app is at /Users/app...

how to use a supplied username and password to read a file in Java

I need to read a bunch of binary files from a Java script running on Windows. However, the folder that the files are in has limited permissions. I (i.e. my Windows username) have permissions to read them, but the user that Java runs as (this is part of a web application) does not. If I pass my own username and Windows network password...

Prompt-Permission on facebook?

I am having trouble of understanding how the fb:prompt-permission work. I can have a link appear when the user click the fb:login-button either the user already logged in from facebook to our application or through our website. On the other hand, without clicking the login-button, the link or the permission dialog doesn't render if the u...

Warning:chmod() [function.chmod]: Operation not permitted

When i use chmod() function to change permission on run time,it give me below message . Warning: chmod() [function.chmod]: Operation not permitted in /home/loud/public_html/readalbum.php How i can remove this error and make working of chmod function ...

Hudson as service on Windows - file system permissions

For some months we've run Hudson on a Windows XP "server" under a user account. This means someone manually logs in and starts Hudson via a .bat file (that sets up a few environment variables, then runs java -jar hudson.war) However a few recent power cuts have resulted in the requirement to have Hudson start automatically at the time t...

Permissions for a site only

Hello, I have a multilingual Django project. Every language is a different subdomain. So we've decided to use the "sites" application and to create one different site for every language. On that project, I also have a "pages" application, which is quite similar to a CMS. The user can create pages with content and they'll be displayed i...

Samba share change user

I have mounted a NAS device on Debian Linux using mount -t smbfs, and everything works well. except for one thing. When I create a directory on the mounted device, it creates it with root user and group, and a 0777 permission. Can this be set to, that the current linux user is the owner of the new directory, with a different permission? ...

mkdir nant permissions

I need to use mkdir on a network path, which is on a different domain. I can login into the network properly, however nant is not able to. I setup a network drive on the system where nant runs, however it still cant access it. Does anybody know how to achieve this? ...

MOSS - Programatically set SpecialPermissions

I have a MOSS workflow where on the first form, the user can choose a colleague to evaluate him. Say user A selects user B. After the form is submitted, a new task is created for user B to evaluate user's A. My problem is that I need to make sure the task is only accessible to user A, and not to user B, nor any other user in the system...

Cannot find the object "XXX" because it does not exist or you do not have permission.

I'm getting the following error when calling a stored procedure: Cannot find the object "XXX" because it does not exist or you do not have permission. I've checked the database and the SP is there with the correct permissions yet I'm still getting the error. Any suggestions? ...

Error Accessing SQL Server from an ASMX Web Service

I am accessing my server through remote desktop connection and have configured a webservice in IIS. I am able to see the methods but when I click on the button to "Invoke" I get the following error: System.Data.SqlClient.SqlException: Login failed for user 'SOLDev\Server02$'. at ShareWare.Web.Service.WebAPI.Reservation.GetInfo() Why...

Sharepoint 2007: Possible to change document library folder permissions inside a workflow?

I would like to know if its possible to change permissions on a folder (and I guess all its child objects) and I need to do this in a workflow. Any ideas how this is done. I can program the functionality if required? Thanks ...

Flash Clipboard Questions

I'd like to create a site similar to imgur.com that allows easy screenshot uploading. Because I don't know much about Flash yet, I'd like to know if the following is possible. Can I read bitmap clipboard data with a Flash applet embedded into a web page with the standard security profile? If 1. is possible, am I likely to run into any ...

web services access not being reached thru the browser

I am trying to reference my .asmx webservices in .NET but my server is not exposed to the internet. When I put on the following address I get the message mentioned below. What's the reason for not being able to see the directory? Am I missing something in my IIS configuraction? Am I missing anything in my permissions? Just as reference ...

Granting SA privileges for Developers on the development box

In spite of our vehement protests, our management has decided that the development team must be granted 'sa' rights on the development server. The catch is that we, the DB support group are still responsible for maintaining this box. We have now been entrusted the task of coming up with a list of Dos and Don'ts for the development teams...

MySQL Database Permission Question

Hi. I've become accustom to mysql user permissions along the lines of GRANT ALL PRIVILEGES ON db_base.phonebook TO db_user @'%' IDENTIFIED BY 'db_passwd'; and other things that affect how a certain user interacts with mysql. I have a database that was created by a program I ran and it has its own permissions. I can't figure out how t...

C# MSI Installer file/folder permissions

Hi, I'm trying to install a set of files within the programdata folder using basic MSI installer. As the content of the files are dynamic and generated during the installation process, I'm creating the files in C# code during installation. The files are created in the appropriate folders, and everything is good, except the files permi...

How do I prevent the repetition of business logic?

OK. So here's my simplified scenario. We have a system which handles orders for a number of clients. We want staff users to be able to view all orders and we want client user to only be able to view orders which relate to them. When attempting to view a particular record we make use of the following function in our OrderSecurity class: ...

Scripting Folder Permission in Windows 2003 based on folder name

We have a pattern to our folder and sub-folder creation. We have one folder that is always named x that is located in multiple sub-folders. Is there a way I can set permissions to a folder only based on the name of the folder. I have looked into CACLS, xcacls, etc but I may have missed something. Is there a way I can list out all of the ...