permissions

how do I setup a site for customers to download video or txt/pdf files after paying or becoming a member?

I have a customer who would like to do the following on his site: Have people sign up as members of his fitness services and get access to free downloads of pdf/txt files. If a customer pays by Paypal, they would be able to download a video of an exercise routine. Any applications/methods/techniques that can accomplish this? ...

Authenticating GTK app to run with root permissions

I have a UI app (uses GTK) for Linux that requires to be run as root (it reads and writes /dev/sd*). Instead of requiring the user to open a root shell or use "sudo" manually every time when he launches my app, I wonder if the app can use some OS-provided API to get root permissions. (Note: gtk app's can't use "setuid" mode, so that's n...

How to grant permissions to single SELECT/UPDATE statment (sql server) ?

I have a problem when trying to execute this update statement (below) using C# SqlCommand when I execute it locally it works fine, but when deployed to another machine I got a permission error The SELECT permission was denied on the object Order ... The UPDATE permission was denied on the object Order ... Update Statement UPDATE Orde...

FPSE, folder permissions and SharePoint Designer

All, A few of our internal users are editing one of our classic ASP sites (Not a SharePoint site) via Sharepoint Designer which I believe uses FrontPage Server Extensions. I would like to give a particular user author rights to a single folder - ie, /products and any items and folders it contains. Any suggestions? ...

Calling ejabberdctl from PHP

I am working on a php social network that requires us to create XMPP accounts for all new members. I have a working Ejabberd server running with mod_admin_extra all working fine. I am trying to call ejabberdctl from a php file like so: exec('sudo /home/user/ejabberd-2.1.2/bin/ejabberdctl register test server pass 2>&1'); but i get t...

ASP.NET Login failed for user 'NT AUTHORITY\NETWORK SERVICE'

Hello all, I'm trying to publish an asp.net website on a remote server. When my code tries to connect to the database, I get the error message described in the question title. Now, I've gone into the Microsoft SQL Server Management Studio for SSE 2008 and can see the list of logins. NT AUTHORITY\NETWORK SERVICE is there, but I'm not sur...

Which permission do I have to add to the manifest to get gps sensor readings?

Which permission needs my application to get access to the location of the user on Android? ...

Declarative security on methods in .NET 3.5 - how do I lock down a method's permissions?

I'm using .NET 3.5. Say I have a method that accesses a specific file, and a specific registry key. I want to add declarative security definitions that restrict the method so that it can only access the file and the registry key specified, and nothing else. When I try: [RegistryPermission(SecurityAction.PermitOnly, Read = "registry...

Using Mercurial/Tortoisehg is there a way to set repository permissions?

Hey Everyone, Im trying to setup repository permissions with Mercurial/Tortoisehg. What I would like to do is have 1 person be the administrator and only that person is allowed to commit/push/pull to the repository. Everyone else would have to send that person a patch if they want to get their changes into the repository. Thanks for an...

Javascript permission denied - different port

Hi, I have a rails app running on port 3000. The page in question has an iframe and I need to resize it depending on the height of the content loaded in the iframe. <iframe id="ifrm_col3" name="ifrm_col3" frameborder="0" src="<%=invite_path(@invite.alias)%>" onload="util.resize_iframe('ifrm_col3');"></iframe> The resize function ...

Would this hack for per-object permissions in django work?

According to the documentation, a class can have the meta option permissions, described as such: Options.permissions Extra permissions to enter into the permissions table when creating this object. Add, delete and change permissions are automatically created for each object that has admin set. This example specifies an extra permiss...

Examples using Active Directory/LDAP groups for permissions \ roles in Rails App.

Hello. I was wondering how other people implemented this scenario. I have an internal rails app ( inventory management, label printing, shipping,etc). I'm rewriting security on the system, cause the old way got to cumbersome to maintain ( users table, passwords, roles) - I used restful_authentication and roles. It was implemented about ...

Access denied at webservice

Hi, I have a winforms, and it connecting wit webservice. Webservice has method which create folder Directory.Create(path); Webservice is at company server, and this folder must me create at another disc in out company. When I invoke this method, i get exception "Access denied to path..." When webservice was running at my computer ...

[FIXED] ASP.NET 2.0 files work in one folder, but NOT in another

I have created an ASP.NET application for a client and all the files are in a folder on their D drive. Now it is time to go production, so I copied all my files and folders to their existing classic ASP folder on the same drive. When I browse to the application it fails to launch. The only difference I can see is that the development ...

What might cause SQL error Cannot find the object "dbo.InspectionEvents" because it does not exist or you do not have permissions.

Hi My ASP.Net app is periodically getting the error 'Cannot find the object dbo."XXXX" because it does not exist or you do not have permissions' when it tries to execute a specific stored procedure that writes to the database. I have seen a few forum posts about this issue but the strange thing is that the method works fine almost all ...

Drupal workflow action access integrated with taxonomy access control?

I am building a DMS for our intranet and use a taxonomy hierarchy because we need access control that way. All company locations manage (upload,edit) their own documents but should be able to access all. This is inherited to the child terms and works fine. Additionally we want simple 3-step workflow (draft,published,archived). So i intr...

Query list items based on what permissions they have

Don't know how to google for such, but is there a way to query all the items where Permissions are unique to listitem These unique permissions contains assignment for specific group X. ...

Named pipe blocking with user nobody

I have 2 short scripts. The first, an awk script, processes a large file and prints to a named pipe 'myfifo.dat'. The second, a Perl script, runs a LOAD DATA LOCAL INFILE 'myfifo.dat'... command. Both of these scripts work when run locally like so: lee.awk big.file & lee.pl However, when I call these scripts from a PHP webpage, the n...

Sharepoint- Find Document Libraries That User Has Write Access

Hi I have a lot of document libraries, every document library can be viewed by all the user groups but only specific user groups can upload document to a document library, and all the users belong to at least one group. What I need to do is, find the document libraries that the current user can upload a file, I want to use Sharepoint...

Required Permissions

I am developing an ASP.Net MVC application that throws a "Required permissions cannot be acquired" exception. The weird thing is that if I change the location of the folder containing my app to another location, the app runs just fine. (i.e Copy the folder from .../Programs/MyApp to ...Desktop/MyApp) I have checked the folder permission...