permissions

Re-assign host access permission to MySQL user

Hello, I have several thousand MySQL users all set to allow access from a specific host. The problem is that now I'm going to have two machines (more in the future) which will need to use the same account to access each of their databases. I'd like to a quick and easy (as automated as possible) way to run through and modify the host por...

Make a folder in SVN writable so that when the repo is checked out, the permissions are already set to writable?

I'm not a Subversion pro by any means. But I am using it for my coding projects and using the deployment feature at springloops.com (love it). I have some log, cache and image folders that I routinely need to make writable on new deployments or new projects. Is there a way to make it so that when deploying or downloading, the folder p...

Access to a path denied trying to write and read a file in asp.net web application

Hi friends, I have file writing permission denied problem in my web application, below is the error i'm getting Access to the path 'c:\inetpub\wwwroot\autohyperlink\files\test.txt' is denied. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information...

Who am I? How to use Microsoft Office Permission/UserPermission

Microsoft Office documents, im my case: PowerPoint presentations, can have restricted permissions. How can I find out, programmatically, which permissions my code has on a given document? All I can find on MSDN on this topic is this: http://msdn.microsoft.com/en-us/library/aa432118.aspx If I run the following code, I get a list of user...

Django Admin: not seeing any app (permission problem?)

I have a site with Django running some custom apps. I was not using the Django ORM, just the view and templates but now I need to store some info so I created some models in one app and enabled the Admin. The problem is when I log in the Admin it just says "You don't have permission to edit anything", not even the Auth app shows in the ...

Drupal 6: Can I automatically load a template for forum access permissions?

Is there a way to have it automatically load a template? It would be convenient for what I am doing. Right now you have to push a button each time you create a new forum to load a specific template. You can set which template is selected by default, but you can't automatically load the template. Any suggestions? ...

Django Dynamic menu design question

Hi, I want to create dynamic menus according to user permissions. As was already discussed here and by the the documentation itself, I know that I can achieve this in the templates using the following snippet: {% if perms.polls.can_vote %} <li> <a href="/polls/vote">Vote</a> </li> {% endif %} But the problem is that f...

ASP.NET Multicast UdpClient problems

I'm trying to have my ASP.NET app listen for multicast UDP broadcasts. Unfortunately, I seem to be stuck in a bind due to permissions/api issues. The problem is that I need to allow multiple instances of an application to listen to the same IP/Port since multiple spin-ups of the ASP.NET application will occur. To do this, the SocketOpti...

How can I configure my windows service in the code to access the desktop?

I have created an windows service. I want to open some windows based application from this service. But my windows service is unable to start desktop applications. To enable the access I had to do the following steps: Opened the administrative tool "Services" Right clicked on my service and had to select "properties" Then in the "Log ...

Restricting database access to specific Windows groups in SQL Server 2008

Hi, I'm trying to restrict access to a database on my server to only allow users from a specific Windows group. I have enabled Windows authentication for the server, but it seems as if I can only allow access to specific users, not specific groups... is there any way I can do this? Most of the resources I've found contain SQL Server 2...

Drupal 6: How do I allow a specific role to edit only content of a specific type?

On a Drupal 6 site, I have a 'moderator' role, who worka with an 'article' content type. I want the moderators to be able to see the list of published/unpublished articles, and have the option to edit the articles (and change their 'published' status). I do not want, however, for moderators to be able to edit (or see the list of) any oth...

users and permissions

I want to give some users certain permissions. Would this be the best way? I don't want to make groups like: admin, moderator, normal and so on. I want to be able to give one user maybe access to make news post and another one create poll, and maybe another delete polls. I'm thinking tables like this: CREATE TABLE `users` ( `id` medium...

Is it possible to configure Linux capabilities per user?

There appears to be support for fine-grained capabilities in Linux kernel, which allows granting privileges to a process to do things like, for example, opening raw sockets or raising thread priority without granting the process root privileges. However what I'd like to know if there is a way to grant per-user capabilities. That is, all...

php start_session() isnt working for localhost

I just started making this .php file and i cant seem to figure out why its throwing this warning Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\Program Files\xampplite\htdocs\projectchest\controlpanel\index.php:1) in C:\Program Files\xampplite\htdocs\projectc...

Php accessing Home directories

I have a script and i d like to access to home directories of users in a Linux Environment. Web root : /var/www/html/ And there are user directories such as : /home/john /home/david etc. There are files in users home directories. The permissions of user homes belong to the users. eg: /home/david/file.txt user: david group: david Is i...

Content management systems and S3

Hi - I wish to build a file sharing site and store the files in S3. I also wish to have different users upload their different files and be able to see them, have access to them (open, share etc.) and manage them (delete, edit etc.). I wish to set ownership for each file uploaded and access permissions for the users. So I am thinking of...

Threads permission

Server creates new thread in a threadpool. This thread reads some stuff into buffer and so on and after that, some code executes. I'd want to secure myself by changing permission of thread to lower, before this code which could be unsafe (or it's behavior could be changed ... by hacking and so on...) I am going (ha... but have nearly no...

log_errors_max_len = 1024 in php.ini, but php log keeps growing

As the title says, I've set the max length for the php error log, but it seems to keep growing much much larger than 1024. I am using the correct php.ini, I've restarted apache, etc. The permissions on the php log are 666. ...

PHP code to restrict member access by permissions

Hi, I am building a website in PHP & mySQL. It has frontend and backend capabilities. Only admin can enter the backend by means of username and password. Now if the admin wants to add other sub-admins to the website, he could do so. By this method, a sub-admin will be able to login and perform all actions that the original admin is able ...

sharepoint list permission issue

Hello everyone, I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I am using publishing portal template. I am creating a list with the default "Title" column -- Title (linked to item). I want to make anonymous users to be able to view list content and also wants anonymous users to be able to click the Ti...