Hi, I'm using MySQL 5.1.44, let's say I have a table with records inserted by different users of my application, how can I give some specific user access to only see his records on the table? I've think about creating a view with his records but don't know how to create a mysql user that only can view that view..
So, is it possible to ...
Hi All
This will be my first time signing application using Keytool and Jarsigner.
I run my apk through the market signing process, step by step as it is explained in android official site
http://developer.android.com/intl/fr/guide/publishing/app-signing.html
Signed process finished with success apk created.
Installation of this ...
I am trying to use facebook Graph API, to update a users staus message.
I am getting the following error while using it, I think the new graph sdk is not being properly referenced ?
Notice: Undefined property: Facebook::$api_client in /users/home/aafhe7vh/web/public/update.php on line 9
Fatal error: Call to a member function users_h...
Hi, I've been trying to add the ASP.NET toolkit to my web application and I can get the demo site to work but I can't seem to implement any of the controls in my application. After playing around with it for a while, I think I've found the problem. In my web.config, I have:
<authorization>
<allow roles="Users"/>
<deny users="*...
So, I'm running a TFS build that tests a class that manipulates TFS WorkItems. TFS runs as the SYSTEM user which has been added to the /Contributers permission group. However, the test suite fails with various invalid field errors (created by, Assigned to). Does any one know how to set the SYSTEM user up as a valid user?
...
I'm looking at the [Authorize(Roles = "DefaultUser")] available in MVC, but I can't seem to figure out if I can use it with DotNetOpenAuth.
I'm using OpenID as my sole membership provider, but I have a few generic items in a UserProfile table. I don't want anyone except the appropriate user to be able to access the edit controller.
EX...
Hey, so I'm trying to make a PHP image upload form. I've been able to successfully pull this off, but only by making the permissions of the folder I'm uploading to 777, or read/write/execute. Methinks this isn't such a good idea on the big wide intarwebs. I'm using 000webhost, which is apparently crappy, but its also apparently the best ...
Hello,
I'm writing an application in C# (it's very basic, for a friend of mine), but I have a StreamWriter object that creates a local file in C:. I have to do Run as Administrator, and it works fine, but otherwise it crashes with "Access to the path 'C:\final.html' is denied."
I've never worked with any sort of security or permissions...
Hi,
I am new to Android and have a question regarding protection level "Signature" for permissions in AndroidManifest.xml.
The Android reference document states about "Signature" protection level:
"A permission that the system grants only if the requesting application is signed with the same certificate as the application that declar...
I've configured my hg repository according to the docs described here:
http://mercurial.selenic.com/wiki/MultipleCommitters
However, when I execute "hg update -C" to recreate the working copy locally, the file permissions have changed such that it eventually causes errors on push when other developers attempt to commit changes. Supposi...
I'd like to deny access to query linked servers to a group of users. I've put them in a role and assigned certain permissions to object level permissions to the that group. I'm at a loss after searching BOL and 'net how to DENY access to linked servers.
EDIT:
I decided to break out profiler to verify exactly what SSMS is calling when d...
While trying to send form with image field in it I'm getting :
Exception Type: OSError at /user/register/
Exception Value: (13, 'Permission denied')
Of course first thing I've checked were the permissions to my folders, and just in case set them to 777 on the whole path from '/'. Still nothing. So I've tried adding parameters to setting...
I have a database called MyDB in a Microsoft SQL Server 2008 Express instance using mixed mode authentication. The application using the database MyDB currently connects using Windows Authentication, using the current user's Windows credentials. This login is a member of the 'public' server role, and has a user mapped to it in the MyDB d...
I'm trying to run a shell script owned by a non-privileged user from PHP on an Ubuntu server. Issues with permissions make running it with exec() impractical, as it's www-data that's running it. I've googled a bit and found varius references to suExec (which seems too much of a hassle to get working for such a small problem), setting the...
I copy a file by opening the source in read-only mode and the destination in write-only mode. It's simple and it works.
The problem is that sometimes I am copying a file that sits on an NFS drive, or other network drives and when in these cases the permissions get all screwed and SELinux complains. I then go and manually set the permiss...
I have shared hosting, and within my own user space I run three different .com domains. One serves as the actual hosting plan master domain, and the other are subs via URL redirects and domain pointing.
One of those subs is a Wordpress blog, and I'm concerned about the ability of an attacker to use security holes in Wordpress to access ...
I need to check whether the current user has write permissions inside the Program Files folder.
The main problem occurs in Vista/7 - If I just try to create a temp file in this location I get an exception, even if the user can perform such an operation using the Windows Explorer (After allowing UAC elevation). Sounds reasonable, as the p...
I am pretty much confused as to when should I implement an ACL (access control list) system in my application though I can easily manage permission on groups simply by fetching the session group id and restricting access using the Auth component.
How is an ACL solution better then the approach I discussed above (restricting the group a...
Hi,
I always thought the user running the app pool was used to, for instance, access the file system when an application is trying to write a file.
I have an application in IIS, setup with Windows Integrated Authentication, that tries to write a file to the file system. I always get an error unless I give permissions on the file system ...
I'm working on an embedded Linux project. Our build process makes an image that gets flashed to a device. Many of our files require root ownership for the system to work correctly. I ran into a problem when I tried to pull and some of those files were modified - git couldn't write those files, so did reset hard and did sudo pull. Then wh...