permissions

How do you make a file writeable in VB?

I'm looking for the simplest way to test if a file is writeable, and if it is read-only to change its access permissions to make it writeable. Any suggestions or pointers in the right direction are welcome! ...

Where to put global application data in Vista?

Where in a Windows (Vista) system should I place data that ought to be readable and writable by everyone, i.e. every user of the computer? Vista's concepts of C:\Users\xxx\AppData\something, C:\Program Files and C:\ProgramData directories and UAC are a bit confusing. Furthermore, is there any ready solution to determine those locations ...

SQL CLR Stored Procedure and Web Service

I am current working on a task in which I am needing to call a method in a web service from a CLR stored procedure. A bit of background: Basically, I have a task that requires ALOT of crunching. If done strictly in SQL, it takes somewhere around 30-45 mins to process. If I pull the same process into code, I can get it complete in sec...

Where can I write my log4net log file to under ClickOnce?

When I run my application locally it writes my log4net log to the location I've configured (i.e., <file value="${LOCALAPPDATA}\TEST\Logs\debug.log" />) without a problem. However, when I deploy my application via ClickOnce, the log file is not being written. I know ClickOnce applications are limited in terms of where they can write t...

Lowest permission level to see the content of a file?

How can I see the contents of a file with 111 permissions? A thing called Y-combinator, as an input, prints the content of a file. My instinct says that you can run it with 100 permissions. However, I know only the theory, not the practise. Which is the lowest permission level to see a file with Y-combinator in Bash? The user nobo...

Which files do control the visibility of your website?

I run the following command at uni to my user account chmod -R 700 * Then, I run chmod -R 755 public_html My homepage remains to be "Forbidden" when I browse to it. The permissions of my user account 4 drwx------ 5 Newbie staff 4096 2008-12-19 12:39 Desktop 4 drwx------ 10 Newbie staff 4096 2009-04-16 02:28 Documents 4 drwx----...

'find . -exec chmod 700 "{}" \;' made sites Forbidden

I have been reading about Security of Design. I noticed a tip of lowest permission level. So I did the above code to my junk files. Unfortunately, the junk-folder seemed to contain some server files. A few sites become forbidden. The folder contained stuff such as "Mail", "dev" and "Public". The reason for junking them was that they are...

Do GRANTs on [master] propogate to other DBs?

OK, I'm trying to make an "empty" version of a database on another instance of SQL Server 2005. To do this, I use the Scripting wizard to make a big script that CREATEs all the tables, views, SPs, etc., adds some users, and grants permissions for them. Now, in the permission section of the script, I have (among other things) use [mast...

What set of access permissions on content in USB HDDs will ensure portability in Windows?

I have content on a portable HDD that is to be shared between 2 or more computers, but none of the computers are connected to a domain (none exists). I want to give permissions to the content in such a way that the permissions remain the same across all my computers, irrespective of which computer I connect the HDD to and irrespective of...

Setting permissions on application event log

Is there some way to set the permissions on a Windows event log, in this case Application, similar to what you can do for directories and files ? ...

Git commit permissions error when working on a remote host

I'm trying to get my website under version control. I work directly on the server with ExpanDrive, which uses MacFUSE to mount the SFTP connection as a local volume which I can access with the terminal and other local applications. Anyway, everything goes smoothly until I try to commit, when I receive this message: fatal: exec .git/hoo...

No "admin rights" in SQL Management Studio

I'm using SQL Management Studio 2008 Express as a graphic interface to my local SQL Server 2008 Express instance, both of which I have locally only as a test and developement interface for my web projects. I have recently grown more confident in SQL coding, and started to use some more complicated sql stuff - my latest field of explorat...

Setting permissions on a MSMQ queue in script

Can anyone give me some pointers on how to set permissions on MSMQ queues in script, preferably PowerShell, but I'd use VBscript ...

How do I change the owner of a SQL Server database?

When I accidentally click on the Database Diagrams tab, I get one of the following errors: Database diagram support objects cannot be installed because this database does not have a valid owner. To continue, first use the Files page of the Database Properties dialog box or the ALTER AUTHORIZATION statement to set the data...

Should I create a separate application for my Website Admins?

IS it best to configure permissions within a website for Administration access, separate webPages, or a completely separate application to administer changes on the site? ...

Wamp and file permssions using windows

Apologies if already answered. None of the listed answers seemed satisfactory. I'm using WAMP to build a site (obviously windows). Folder for images needs permissions turned on so they appear on the site. Everytime I use "Properties" on the folder, it reverts back to read only. Altering things in the advanced toolbars and trying to make...

Thread permissions in ASP.NET

I'm launching a lengthy import on a new thread in an ASP.NET page. Everything is working fine except that I get a failed IO permission when I try to write to my log file from the worker thread, which is not a problem in the primary thread. I am using IIS7 integrated mode without impersonation, although I got the same results with imper...

How to specify .NET assembly trusts in group policy?

I have some .NET assemblies on a network share that I need to give FullTrust access to all of my users. What is the best way to do this using Group Policy? ...

How to grant permissions to developers to grant permissions to users?

Is there a way I can give developers permission to grant a user permissions over objects without giving them the option to create users or functions? I'm trying to limit developers permissions, I recently found out that developers had db_owner permissions in dev and prod environments! So I'm doing my best to stop this madness. Any good...

Can you recommend me a book about authorization architecture and associated paradigms?

I come from an ASP.NET background and find the entire roles based authorization scheme limiting to say the least. I've read about Microsoft's new Identity Model and the Geneva Framework with its Claims based architecture but it seems overly complex. In general, I'd like to know more about possible authorization architectures to find out...