I have an ASP.Net webapp where I wanted to test using a different local account. So I created the account, but then started getting 403 Forbidden when logging in with that account. This is using the VS 2008 built-in web server (Cassini). A coworker suggested giving that user account permissions on the project files which I did. I als...
The following applet is compiled and packed into jar which is then signed with a self-signed cert.
import java.applet.Applet;
import java.io.File;
import java.security.AccessController;
import java.security.PrivilegedAction;
import java.security.PrivilegedActionException;
public class Test extends Applet {
private static final...
for security reason, what is the minimum access level the asp.net membership user could have?
...
Here's my scenario...
SQL Role
Staff_User
Scheme
People
Tables
People.Persons
People.PhoneNumbers
Views
People.vtPersons -
The vtPersons view filters the data from the Persons table showing only that which belongs to the currently logged in user.
People.vtPhoneNumbers -
The vtPhoneNumbers view filters the data from the P...
I have a project with several separate components that all need to talk to each other. I am now trying to find a good way to share a permission system between each component.
The 3 major components are:
An ASP.Net Web Application
A Silverlight application (served by the web application)
A Windows Service, which provides some WCF web ...
I would like a batch file which can delete C:\Windows files. But every time i try (:D) it keeps me away from it because of the permissions.
Does anyone know how to remove C:\WINDOWS files?
Thanks.
...
Hi, I have recently updated my xcode and installed iphone sdk 3.0 GM Seed. I am trying to build my 2.2.1-application in 3.0, but I get a bunch of errors - mostly permission denied-errors. Here is one of them:
Unable to write to file
/Users/hansespenskorpen/jobb/rac/build/rac.build/Debug-iphonesimulator/rac.build/Objects-normal/i386...
I need a way to execute the os.system() module as different UID's. It would need to behave similar to the following BASH code (note these are not the exact commands I am executing):
su user1
ls ~
mv file1
su user2
ls ~
mv file1
The target platform is GNU Linux Generic.
Of course I could just pass these to the os.system module, but h...
I have a database Mydatabase with a view in it, MyView.
I want any user who is a member of the Public role to be able to select from the view.
I've done GRANT SELECT ON MyView TO [Public], created a test login on the sql server called Test and made it a member of the Public role, but still can't select the View.
What am I doing wrong?...
Why is it possible to touch a write-protected file?
Shouldn't the following give an error?
$ touch test.txt
$ chmod a-w test.txt
$ ls -l test.txt
-r--r--r-- 1 name group 0 Jun 13 09:14 test.txt
$ touch test.txt && echo OK
OK
$ ls -l test.txt
-r--r--r-- 1 name group 0 Jun 13 09:15 test.txt
Does touch change permissions, touch the fil...
Is it posible,
to modify or edit txt file,
if the file's permission is set as 606 ,
via WEB browser ,
by normal users ?
I mean I make a txt file named "1.txt"
The first original contents of the txt file is "PAX is great man"
and then ,I upload this file to server.
I set the permission of the file as 606.
so the general users can n...
Hi All. Using PHP and Zend_ACL, I want to create an extremely flexible permissions system. I want to be able to assign permissions to all objects of a certain type, as well as to instances of those objects. If a specific instance of an object is queried and it doesn't exist in the resource tree then the permission set for the 'generic' o...
Hello,
I have an application that executes an upgrader application automatically whien it starts. However, when the first app laucnches and sees that an upgrade is needed it launches the upgrader and fails becuase of security in Vista. If i launch the upgrader manually as an Administrator then it functions correctly.
1) How can i do...
<?PHP
print "hello";
?>
I write this code and save as "1.php";
Then I upload this PHP script to my
server.
I have 8 diffrent free hosting server's accounts.
And I noticed that there are 2 types of
server settings.
(1)
"type A"
for exapmle, sqweebs.
We need to set the PHP file permission as 640.
This means that sqweebs server req...
We use svn:externals to specific revisions of a library, e.g. like
xyzlib -r12345 https://asdf.asdf.local/xyzlib/trunk/
When you make a modification in your working copy to such a checked out external, it is possible to commit even though the external links to a specific revision and not the HEAD.
When you run svn update after the c...
I am trying to replicate a production issue in my dev environment but am running into permissions issues, where a user in the "Contributor" group gets an access denied error. Furthermore, if I make this user a Site Collection administrator he still gets the same access denied error.
Why is this happening? How do I fix?
UPDATE: I do ...
Hi all,
I have a D-Link DNS-323 NAS, running some sort of Linux as its OS.
I map a volume as a share in Windows Vista (Ultimate SP2). There are some directories and files on that share that I cannot change/delete - no matter what I try. Trying all of Windows security/permissions dialogs don't work, as the files owner is "Unix/root" and a...
I am using an FTPClient library to transfer files from a windows share to an FTP server.
The SendFile method of the library uses the following code:
FileStream stream = new FileStream(localFileName, FileMode.Open);
This results in a System.UnauthorizedAccessException being thrown, however I am able to open, rename and move the file u...
I'm making a gallery website. Photos and albums should be hidden from the public by default, but the owner can share a public URL if he wants. I also want to use short URLs for this.
I'm trying to figure out the best way to do this. At first I thought I could have a MySQL table with the short URL code (something like Zneg8rjK), and the...
Error: Database table users for model User was not found.
I'm expriencing the error show above and I'm unsure why this is happening. I've searched for a possible solution to this problem and the most prevalent solution is... going to the app/tmp/cache directory and removing the files in the model and persistent folders. I've done that...