permissions

Jce editor groups- problems with multi permission

I have Joomla site with JCE editor. I use the JCE groups to create permissions for different users. I have created few groups and every group is permitted to control one media directory. I have combined a specific user to two different groups assuming that this user will have the ability to access two different media directories. But ...

How to change access settings in IIS-7?

I have an IIS-7-hosted website which is accessible by everyone (public domain), and it has several applications inside it. But I want only some of these applications to be accessible by everyone. The others must be accessible only through my company's local network. How can I do this? ...

How can I better represent user permissions?

In my system I have a single class with a load of (20?) final booleans defining the permissions this user type has. What is a better way to do this? I'm sure there's lots of examples about this but I don't know the keywords. ...

Facebook api: show dialog window for the user select page (manage_pages extendend perm).

Hi. I want ny users to give ny app "manage_pages" extended pemission but i want my users to be able to select which of their pages they give permission to. I have this code which is responsible to autenticate and get the users permissions: $('#btn-connect-facebook').click(function(){ FB.login(function(response) { if (respo...

How to set permissions for Android Bluetooth

I'm new to Android development. I'm trying to get a simple HelloWorld app going on my (rooted) phone - and the app is trying to enable Bluetooth. I've set the Bluetooth permissions in my manifest is as follows, but I'm getting a Permission Denial exception when I try to run the application on my phone via Eclipse: <?xml version="1....

Modify Share Folder Permission

I would like to ask, how to write a batch script(.bat) to read a text file, then the program will set the specific person to share with specific folder. For example, the text file "user.txt" contains the following data: 034001,C:\Users\034001 034002,C:\Users\034002 034003,C:\Users\034003 034004,C:\Users\034004 The first column is user ...

List all files permissions recursively *nix/Windows/Solaris

Hi all, I know this is technically a 3 part question, but it is all in the same vein. I need a way to generate a report, most likely text based, that will display all of the file permissions on all directories and files within a tree. The tree has a depth of X, I say X because it is possible that this tree will grow. Regardless I h...

Best way to implement multiple roles and permissions in c# web app?

Hi I want to implement roles and permissions on a web app we have created and I am looking at using System.Web.Security.SqlRoleProvider to implement this. My problem is that each client will want to be able to configure who can and cannot perform actions in the system and no two clients will want the same, so creating basic Admin, User...

Implications of package permissions (All andorid developers invited to contribute)

Hi, I was working on understanding what the implications of granting a package a particular permission are. To my utter disbelief I could not find any material which would answer the questions satisfactorily. 1.) What permissions are reserved to be used by whom? 2.) What level of effect does granting a permission to an applica...

SQL Server 2008 grant permission to information_schema.columns

Hi, I have a series of stored procedures that select data from a db. I have a role (cctc_reader) that has execute permissions granted on the procedures. One of the procedure calls another stored procedure called recControl_system_option which in turn queries Information_schema.columns. The problem is that in this proc the query selec...

Are there default permissions granted for applications on Android?

I have noticed in an application I wrote, in-spite of me not specifying any permission in the manifest file, the application throws up permissions granted, such as android.permission.WRITE_EXTERNAL_STORAGE android.permission.READ_PHONE_STATE What is all that about? I was not even aware my application needs to write into external ...

Setting directory permissions for JSP/Tomcat/Windows

Hi All, I have a web app consisting of some JSPs that were previously running on a Linux box. I need to get this running on a Windows XP SP3 machine running Tomcat 5.5.29. Most everything is working now but this one item: The app has a capability to write a configuration file to its Windows directory (i.e. C:\Program Files\Apache\Tomca...

wfp inside Windows service

I am calling a VC++ DLL from a windows service that was written in C#. The DLL handles all interaction with the WFP. When compiled as a console app, everything works fine (as long as I run as administrator). When compiled and ran as a service, the DLL fails on FwpmEngineOpen0(). This is the same symptom that I received when I didn't run ...

Django: Permissions based on Model Instance

I have a model class Project and for each model instance, there should be a 'group' of users who may edit that instance. I guess I could add another model class called ProjectEditor to add those editors. Is there a better way of implementing this? What about checking for permissions? I would need to write my own permission method then to...

How can I brick the Android emulator?

Please bear with me for a moment. I'm working on a master's thesis and want to demonstrate how bad a malicious application can be. I'm looking for a pre-installed application on the application on the android emulator or an application that has "brick" permission on the device. Rather than bricking my device, I would much prefer bricki...

Creating executable scripts with PHP

I'm building a module for a CMS that creates its own PHP files. I've received some feedback that a lot of hosting providers don't allow PHP to have write permissions on directories where PHP scripts can be executed. Although the scripts are not technically "executable" (they're just class definitions), I'm concerned that this module may ...

Whats are the ten most deadly permissions?

I would like to know what would be the top ten most deadly permissions that can be requested by an android. I know it might be a matter of opinion, but supposing that I had the 10 permission listed in by an application, I would definitely know my application did not generate a whole lot of confidence among users. What would be the permis...

mysql root permission to update information_schema error

when i try to update one table(GLOBAL_VARIABLES) from information_schema db, i get an error : Access denied for user 'root'@'localhost' to database 'information_schema' Although I am root user with all privileges , how can i fix permission. ? or how can i update this table ? thanks. ...

SQL Server 2008 certificate permissions

Hi Following advice to my previous post (thanks fellas, it works a treat), I've implemented a certificate in the master db with VIEW ANY DEFINITION permissions and used this to sign my stored procs so they can access Information_schema. However, my stored procs also make use of dynamic sql. Is it possible to create a certificate, gran...

Error while uploading file in asp.net

Hi Experts, I have a asp.net application which is working from last 2-3 years, it has file uploading feature. Today when one of my user tries to upload 4 file in which 3 files uploaded successfully, while he got the error in the 4th one saying that the user don't have permission to upload file. I am surprised to know that why it didn't ...