permissions

filesystem permissions while developing on different machines

Hi, I have installed a xampp (apache + mysql + php) stack on a portable volume (truecrypt volume on a usb drive) that I use on different linux machines, for webapp development. This volume is formatted in ext3, so I run into permissions problems as I can't be the same user on each machine. For example I tried to check the git status of...

Permissions required to create/modify tasks in Windows Task Scheduler

I need to create and modify tasks in Windows Task Scheduler on Windows Server 2003 from an ASP.NET web application. The Network Service that the web app runs under is unable to make the changes. It errors with an System.UnauthorizedAccessException exception. It works fine running from Visual Studio on my desktop. What permissions do I ...

Request for AspNetHostingPermission failed on EDM Load

I am using Entity Framework in an application i am working on, however when i try to launch it from another user's machine, while trying to load the EDM i get an Exception stating that the request for the AspNetHostingPermission has failed. The assemblies are located on a network share. The assemblies are not signed and as far as i know...

Understanding Linux directory permissions reasoning

Hi I have 2 questions regarding linux directory permissions which I do not understand. I removed the execute flag from a folder named Documents. After that I cannot use cd on it but I still can do "ls Documents" from the parent directory and it still lists me the files in the Documents directory. I though the missing x-flag denies read...

What application trust level is need for ASP.NET MVC framework?

Hi, i am trying to deploy simple asp.net mvc frameworkd application in may shared hosting and i get erro like this: Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change t...

User permissions for BizTalk server

I've got my dev machine with BizTalk running as local administrator, and I get the warning that it should be ... but I still do But what's the best security group to put the BizTalk user in on a "live" server ? ...

sharepoint public form

Hi, I have a MOSS 2007 running a site that has a public facing form that any anonymous user can fill and save. But I require that only blank forms are visible to anonymous user and that the forms filled up by other users are not visible/accesible to anonymous users. For that I have a form library(form1) that is authentication-protected,...

FileIoPermission and net permission

I got a program that compile c# script and run them as plugins. And i want to block any possibile damages from plugins so at building time i add to each plugin class the IO permission to read and to write only in his path Somthing like this: [FileIOPermission(SecurityAction.PermitOnly, Write="<pluginpath>", Read="<pluginpath>")] class E...

Can't set permissions on MySQL user

I am trying to set the permissions for a MySQL user using the following command. GRANT ALL ON joomla.* to user@localhost; I have tried so many versions but they all return: ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'joomla2' Which seems to indicate that the username "user" is not getting passed? I have trie...

Which permissions should I use for Django folders at my server?

My host Djangohosting puts 777 by default for my Django folders, when I use their one-click Django installer. I am not sure whether that is safe or not, since everyone can then apparently see my source code. Which permissions should I use for Django folders at my server? ...

How to programmatically check/set access permissions to a network drive?

How do you check to see if you have access (yet - because it will work fine after you have navigated there at least once before in this windows session and entered name/pass) to a network drive without waiting for the IOException when trying to access it? And on that note, suppose that I can get my users name/pass via dialog, how do I s...

allowing anonymous user to save contents of a form in sharepoint doc library

I have moss 2007 configured for anonymous access. I also have a public accessible form created in infopath, which can be opened in a webpage and filled and submitted. However, an anonymous user is unable to submit the form after filling it. Submit action is supposed to save the form in a doucment library. I checked the anonymous permiss...

How to recursively chmod on subdirectories?

I want to recursively chmod all of the subdirectories below my calcium directory: chmod a+wx calcium How do I change the above command to do this? I believe I'm using bash shell although I'm not sure how to verify this. ...

How to decrease time for project env setup?

In our project we writes lots of application logs(sometimes they are very useful) in tmp folder. In this folder we have components' directories, such as: api email2sms scheduled_sending billing etc. Less than 10 folders, in summary. The problem: new component's folder arise with time - each of this folders has to be writeable. So i...

How to set a multilanguage PrincipalPermission role name?

Hello, I'm trying to secure a WCF service using windows accounts. The service should run on many systems with different languages. How can i set a PrincipalPermission that has language independent role names? I found ugly workarounds like this one. [PrincipalPermission(SecurityAction.Demand, Role = "Builtin\\Administrators")] // Englis...

Adobe AIR non-Administrator application installation/upgrade on Windows

Is there any way to allow non-Administrator users to install, upgrade or uninstall an Adobe AIR application on Windows? I've made an Adobe AIR application and packaged it as a .air package using the standard AIR mechanism for creating deployment packages. If a normal or Power user tries to install this AIR application, the Application E...

Oracle Trigger Permissions

I want to create a trigger owned by user A for a table that is owned by user B. What permissions must I set on B.table to avoid an ORA-01031: insufficient privileges error? ...

Sql Server: how to write trigger on a table with denied SELECT

Hello I have a table on which I have denied SELECT privs to a user. This table has a trigger which references the INSERTED table, basically doing an AFTER UPDATE SET <table>.[UPDATED] = getdate() WHERE ROWID IN SELECT ROWID FROM INSERTED It is giving me an error though, saying "SELECT PERMISSIONS DENIED", I am guessing because of ...

How can I restrict the visibility of a custom list action to a newly defined group

I have created a custom action for items in a list (custom printing of the item). I have defined a new SharePoint group called 'Print Users'. I want to restrict the availability of the printing custom action to only members of the 'Print Users' group. I haven't been able to find an attribute in either the feature.xml or element.xml file...

Moniter folder permission

Anyone know how can we moniter file /folder permission on windows. Suppose a user can change the folder permission, the application can log the user, timing and other details. If neone know third party tool/script for the same, plz suggest. -Thanks ...