permissions

Django Permissions and Security for Basic Chat App

If I wanted to implement some sort of chat tool in my django webapp, implemented with basic ajax polling as opposed to comet, what should I do to secure it, besides running over SSL. Should I just use the permissions app for each chat session and generate a random token to be accessed in my urlconf? Are there better/different approaches ...

"Permission denied" error on .sh script on RHEL5

root@server [/mnt/elm332/Setup/Linux]# ./setupLinux64.sh -c Unpacking JRE ... Starting Installer ... ./setupLinux64.sh: line 433: /tmp/setupLinux64.sh.28603.dir/jre/bin/java: Permission denied root@server [/mnt/elm332/Setup/Linux]# whoami root Why would this be happening? Note that this is a mounted ISO file (copied in /tm...

Set up user permissions for Team Foundation Server 2010

We have installed TFS 2010 with success but wonder how to set the users permissions. We are small projects with five developers, a manager and a secretary. Each developer is working itself with one or more projects, we have no cooperation between any projects. We want everyone to be able to see all the code for each project, but that onl...

Can I run a program from visual studio without elevated permissions?

Okay, so originally I was going to ask about dragging and dropping in Windows 7. I found the answer I was looking for here: http://stackoverflow.com/questions/2833709/c-drag-drop-does-not-work-on-windows-7. Basically it says that since I'm running Visual Studio (and subsequently, my program) with elevated permissions, some sort of isol...

Can Ant's tar task set a Linux file permission even when the task is used on other platforms?

Starting with Ant 1.7, the TarFileSet is available which seems to allow file permission modifications in the tar archive. Does this feature work platform-independent, so that I can for example create a tar file on Windows and set execution permissions for script files in this archive which will have this flag if the file is unpacked on ...

Help with folder access in IIS 6

I really need help with my ASP.NET MVC 2 site... Simply put, I have a a folder Content/Photos in the root of my app. It has many pictures. For some very strange reason some pictures load just fine on my browser but other pictures give me a 403 error: You do not have permission to view this directory or page due to the access contro...

How does enterprise search display results for the user and hide unauthorized results?

I am looking to understand how enterprise search solutions tackle the issue of user-permissions. My question is on displaying the search results for users. The naive approach would display the search results to the user, and then if the user clicks a document he is not authorized to see, he will fail to open it. However, it is even forb...

file permissions owner, group, public clarification (web)

Could someone please explain owner/group/public permissions on files and directories in a web environment. My current understanding is that "Owner" is the person who created the file. Group, presumably are permissions granted to any user in Group 'Foo', and Public is, well, everyone. What I don't quite get is how this translates to a ...

XP Embedded attempts to start application as service

Hi, I'm having a lot of problems trying to start an application as administrator on an application I'm writing when running it on XP Embedded. The application runs as the shell for a limited user account and is touch-screen and keyboard-less with one user command being to run the touch screen vendor's calibration tool. This must be run...

Apache Folder Permissions

When I create a directory with PHP's mkdir(), the folders' owner is 'apache'. When I create a directory over FTP, the owner is 'ftpadmin'. For some strange reason, with PHP's rename() function I can't move any files into a directory owned by 'apache'. I've chmod() both the file and the directory to 777 and 0777, but 'apache' refuses to ...

sql 2005 - strategy for restricting access via stored procedures only

I want to give access to certain data, in various databases on a single sql instance, to our parent company. They don't want a web service but instead want a stored procedure, which would compile data from different data sources and return a record set. There is a trust between our two domains so essentially they are on our domain and I...

How to alter database on the linked server WITHOUT SYSADMIN rights?

My requirement is that user performing alter CANNOT be sysadmin (it can have all other rights but not sysadmin). I am running a query from local server which should modify a remote one EXEC ('ALTER DATABASE REMOTEDB MODIFY FILEGROUP ftfg_REMOTEDB NAME=ftfg_REMOTEDB') at [REMOTESERVER] This query works once I add sysadmin right to the...

Can a Java program put a DLL in C:\Windows?

Hi, I'm making an executable JAR that uses the RxTx serial library. It requires access to rxtxSerial.dll and I want the JAR to put it there automatically. That way I don't need an installer -- just a standalone JAR. Can this be done? When I call new FileOutputStream(new File("C:/Windows/rxtxSerial.dll")), I get the following excepti...

Linux change group permission to match owner permissions

Suppose I have a directory on Linux with a bunch of files and subdirectories. This is that root directory: drwxr-xr-x 13 user1 group1 4096 May 7 15:58 apps Now, I only want to alter the group portion of those permissions. I want to alter it such that it matches exactly the owner portion. The result for that directory would be: d...

how do I get MSTest to run as Administrator, when called from a console app?

This console app code calls MSTest and starts to run the unit test but fails with "Access Denied" to some assemblies required for unit testing (see errors below code). Any way to smoothly make MSTest to run as Admin from here? I tried a manifest, didn't change anything, since the manifest refers to the calling app, not to mstest, right...

SQL Server Reporting Services 2008 Report Builder User Access Permissions

Hi, I've just set up SSRS for my office. Some users need to be able to run Report Builder. I've created an AD global group and used Report Manager to assign Report Builder privileges to that group. I've verified that the Report Builder configuration on SSRS is correct. Even after these users are assigned to the Report Builder role, ...

Need help to Secure an ASP.NET Web Application

I'm working on a internal web application (only employees can log in) and need some help figuring out a good approach to handling an individual users permissions to the system. The system itself is in C# / ASP.NET (4.0 / Webforms / Forms Authentication) / SQL Server 2008 and has several different areas which will have varying sets of p...

How do I recursively set read-only permission using Perl?

I would like $dir and everything underneath it to be read only. How can I set this using Perl? ...

Access denied when updating config file in ProgramData directory. How do I fix this?

I can't seem to update my configuration file in c:\ProgramData\appname\config.ini. I keep getting an access denied error. Seems the ini code fails to be able to delete the existing .ini file when trying to update it with the new file. Funny thing is that I have other programs I've written that share the same code but don't have this prob...

How to set chmod for a folder and all of its subfolders and files in Linux Ubuntu Terminal?

So I want a way to set chmod 755 to /opt/lampp/htdocs and all of its content including subfolders and files, and If I create a new folder or file the chmod of that should be also 755. chmod 75 /opt/lampp/htdocs works but only for this folder :| ...