permissions

File permissions with FileSystemObject - CScript.exe says one thing, Classic ASP says another...

I have a classic ASP page - written in JScript - that's using Scripting.FileSystemObject to save files to a network share - and it's not working. ("Permission denied") The ASP page is running under IIS using Windows authentication, with impersonation enabled. If I run the following block of code locally via CScript.exe: var objNet = n...

Application runs fine when executed directly, fails as scheduled task (security issues)

I wasn't sure if this should go here or on serverfault. I have an application that loads some files from a network share (the input folder), extracts certain data from them and saves new files (zips them with SharpZLib) on a different network share (output folder). This application runs fine when you open it directly, but when it is se...

Image display permissions in PHP/Apache

I have a PHP site with a login system, and am trying to make a feature where only specific usernames can view particular images. I think what I'm trying to do is more involved than merely changing the .htaccess file, because a) this won't help discern between users that are/aren't allowed to view the image, and b) if someone enters the e...

Folder permission and submit button

I want to create a simple installation script. Below are simple code. <ul> <?php function check_perms($path,$perm) { clearstatcache(); $configmod = substr(sprintf('%o', fileperms($path)), -4); $css = (($configmod != $perm) ? " class='error'" : " class='none'"); echo "<li".$css.">\n"; echo '<span style="float:left;...

WMI Access is denied, find permissions problem

Hello, I am trying to run process(console executable) on remote PC from asp.net application using WMI and get "Access is denied" problem. I have checked all event viewer logs on remote PC, no information related this. Where do I start searching for problem? Does Windows has some kind of permission monitor tool? Also I have tried to use...

Javascript does not work on IIS

I have a .NET library executing as part of our website that renders HTML to image formats. It uses the IE rendering engine, and will happily run any javascript if present to do the rendering. To clarify. The code is rendering the HTML onto the server. No client is involved. The problem is we just moved the code to a new server, a...

Where is the FTP support for Google Chrome and Internet Explorer 8 ?

I tried to upload files via FTP but ran into problems. Are modern day browsers no longer supporting FTP "write" capability? I managed to use Dreamweaver to FTP the files successfully. ...

Facebook Privacy Permissions Design

Does anyone know the general layout of how facebook's privacy permissions system works (database)? I've been trying to figure out how they manage to have such a complex set of rules be applied to various content on their site, yet it remains fast. How are they doing that? ...

execute stored procedure as another user premission

Hello. I faced the following problem: there's a user who has to execute a stored porcedure (spTest). In spTest's body sp_trace_generateevent is called. sp_trace_generateevent requires alter trace permissions and I don't want user to have it. So I would like user to be able to execute spTest. How can I do that? Thank you for your help. ...

MOSS 2007 - list permission

Hi All, I have configured my list so that users can only read and edit items they have created. I now need to configure this list so that a particular group of users can edit and read all items on this list. I know users with the 'Manage Lists' permission would be able to do this. My question is can this be configured to be even more ...

Django 1.2 object level permissions - third party solutions?

Since Django 1.2 final is almost out, I am curious if there are already projects that use the new object level permissions / row level permissions system. [django-authority][1] which is a possible solution for Django up to 1.1 has not been updated for a while, and does not (yet) use the new permissions system. It seems to me that Django-...

Facebook App: Displaying Users Photos to Other Users ?

Does anyone know if Facebook Permissions will allow an app to display a photo of one app user to another, regardless of privacy settings? I want to save photo id's to a database and then display many different users photos at once, to the user, within the app. I could use fbml but am hoping to use xfbml. Any suggestions would be much...

How do I grant a site's applet an AllPermission privilege?

I'd like to specify certain applets to run with java.security.AllPermission on my computer (for debugging and security testing). However, I don't want to enable all applets that I run to have this permission. So, editing my user Java policy file (which I have ensured is the correct policy file through testing), I try to put this value: ...

Query Cache Issues - releasing cache locks?

I have enabled query caching to use the NHibernate.Caches.Prevalence.PrevalenceCacheProvider provider. This is running on IIS 7, WCF service. I have limited rights to what I can do, but I'm getting an exception about releasing cache locks. I've created the following 2 directories in the system32/inetsrv directory and given full contro...

PHP/Apache: Permission settings for uploaded JPEG image files not correct.

I just setup a LAMP development server and am still trouble-shooting some things. The server is installed on one computer and I use a Windows laptop to write my code and test the site via the web browser. My file uploading script works in that JPEG image files are successfully uploaded to the server, but when I try to view the images in...

SQL Server 2005 user permissions

I have created a database and some dbo.tables. Now I want to create a user that are can read and write to these tables, but not modify or drop. However I want this user to be able to create own tables and let him do what he want with these. Is this possible? Could someone explain how this can be done? ...

Django Inlines user permissions + view only - permissions issues

I'm not sure if this is a bug or I'm just missing something (although I have already parsed the documentation about inlines), but: Let's say I have a model A. Model A is an inline of model B. User U has full access to model B, but only change permissions to model A (so, no add, nor delete). However, when editing model B, user U can sti...

PHP created directory with NO permissions ...?

Just had something really weird happen, and I'm not sure why. Our site crashed because PHP couldn't write a cache file to a directory which is created automatically by the script. When I investigated, I saw that the directory had NO permissions: no read or write for owner, group, or public. This script creates directories hundreds of t...

PHP mkdir issue!

Hi, I trying to create some dirs like this: @mkdir("photos/$cat/$sku", 0777, true) it creates the first directory with 0777 permissions, but when it creates the second is uses 000 as it's perms, so it fails to create the third. A workaround this please? Thanks, Richard. ...

asp.net FileUpload control problem: access to directory is denied

Hi, Im trying to use the fileupload control. Im using Visual Web Developer Express on my desktop. My web application is working fine except I cant use the fileUpload control. I get the following error: ERROR: Access to the path (My_Directory) is denied I searched and it appears to be a permissions problem. So I attempted to add the ...