Sponsored Content
Full Discussion: UNIX Operating System
Top Forums UNIX for Dummies Questions & Answers UNIX Operating System Post 36696 by Neo on Tuesday 3rd of June 2003 12:14:35 PM
Old 06-03-2003
Yes, please forgive me for being so direct, but, in my opinion, paying $25 to $40 dollars for a 4-6 CD distribution of a powerful operating system with tons of applications is an incredible bargain.

Ergo, a nice meal at a moderate place to eat costs more than that! You can eat and a few hours later, you need to eat again and forget about the past meal!

Linux-based, BSD-based and other software distributions are an incredible bargain in todays world.

And, if you are from a country where $35 is an entire weeks or months salary, don't hesitate to download without a contribution!

The point is that everyone can have access to incredible software and those who can afford to contribute, should contribute.

Friends help friends...... help has many faces and names.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix Operating System

I need the Unix operating system on disc as im new to unix. Im studying unix and x windows next year at Sheffield University and would like to get a head start. Any suggestions would be appreciated (2 Replies)
Discussion started by: jeffersno1
2 Replies

2. UNIX for Dummies Questions & Answers

unix operating system

hi I am trying to install solaris 8 on intel machine(intel300 mhz,32 mg ram,3.2 hd,24x cd-rom). hardware scaning is ok. Then it ask to enter choice for interactive installation #1 for web #2. After i enter chice system reboot agian and it takes to same screne. ... (1 Reply)
Discussion started by: neer45
1 Replies

3. UNIX for Dummies Questions & Answers

Difference between UNIX operating system and Unix Open Server

Hi, I recently joined this forum and new to UNIX. Is there any difference between UNIX operating system and UNIX open server? Please explain. (1 Reply)
Discussion started by: Manjit
1 Replies

4. News, Links, Events and Announcements

The Creation of the UNIX* Operating System

Excellent reference on the history of UNIX: Bell Labs History of UNIX* http://www.bell-labs.com/history/unix/images/86-300838-EM.jpeg (0 Replies)
Discussion started by: Neo
0 Replies

5. UNIX for Dummies Questions & Answers

Download unix operating system

Hello all : May anyone can help me where I can find any site for avalable downlaoding UNIX operating system ? Thanking you Best Regards Dani Romio (1 Reply)
Discussion started by: dani_romio
1 Replies

6. UNIX for Dummies Questions & Answers

Unix Operating System

Can anyone give me info on networking features of the Unix Operating System please. Thanks in advance (1 Reply)
Discussion started by: WaveZero
1 Replies

7. UNIX for Dummies Questions & Answers

Unix Operating System?

Hey all, I currently use FreeBSD and linux and have decided I want to use a proper Unix distrobution. Which Unix distro would you members recommend. The only requirments that I have is that I can use some pogramming utilities available. I don't mind the install process. One more thing, I know some... (2 Replies)
Discussion started by: -zorin
2 Replies

8. UNIX for Dummies Questions & Answers

unix a 32-bit operating system?

heyfrenz i just need a proper explanation of why is unix a 32-bit operating system??....a proper answer with proper explanation.... (6 Replies)
Discussion started by: silverrock7
6 Replies

9. Programming

Is android an operating system of unix.

I have a query that is about android application based mobile. actually android is so popular in mobiles and its w using sell cmd also UNIX is also support shell files. So it is a operating system of UNIX. But i am not sure please help me. (5 Replies)
Discussion started by: andrepitt77
5 Replies

10. UNIX for Dummies Questions & Answers

Smallest UNIX operating system

Which is the smallest Unix operating system and how do I download it? edit by bakunin: corrected typo in the thread-title and removed the text formatting: we are able to read non-bold text either. (4 Replies)
Discussion started by: Nalcolmshally
4 Replies
Apache2::SiteControl::PermissionManager(3pm)		User Contributed Perl Documentation	      Apache2::SiteControl::PermissionManager(3pm)

NAME
Apache2::SiteControl::PermissionManager - Rule-based permission management SYNOPSIS
use Apache2::SiteControl::PermissionManager; $manager = new Apache2::SiteControl::PermissionManager(); $rule1 = new SomeSubclassOfSiteControl(); $manager->addRule($rule1); ... $user = new SomeUserTypeYouDefineThatMakesSenseToRules; if($manager->can($user, $action, $resource)) { # OK to do action } # For example if($manager->can($user, "read", "/etc/shadow")) { open DATA, "</etc/shadow"; ... } DESCRIPTION
This module implements a user capabilities API. The basic idea is that you have a set of users and a set of things that can be done in a system. In the code of the system itself, you want to surround sensitive operations with code that determines if the current user is allowed to do that operation. This module attempts to make such a system possible, and easily extensible. The module requires that you write implementations of rules for you system that are subclasses of Apache2::SiteControl::Rule. The rules can be written to use any data types, which are abstractly known as "users", "actions", and "resources." A user is some object that your applications uses to identify the person operating the program. The expectation is that at some point the application authenticated the user and obtained their identity, and the rest of the application is merely applying a ruleset to determine what that user is allowed to do. In the context of the SiteControl system, this user is a Apache2::SiteControl::User or subclass thereof. An action can be any data type (i.e. simply a string). Again, it is really up to the code of the rules (which are primarily written by you) to determine what is valid. The overall usage of this package is as follows: 1. Decide how you want to represent a user. (i.e. Apache2::SiteControl::User) 2. Decide the critical sections of your code that need to be protected, and decide what to do if the user doesn't pass muster. For example if a screen should just hide fields, then the application code needs to reflect that. 3. Create a permission manager instance for your application. Typically use a singleton pattern (there need be only one manager). In the SiteControl system, this is done by a ManagerFactory that you write. 4. Surround sensitive sections of code with something like: if($manager->can($user, "view salary", $payrollRecord)) { # show salary fields } else # hide salary fields } 5. Create rules that spell out the behavior you want and add them to your application's permission manager. The basic idea is that a rule can grant permission, or deny it. If it neither grants or denies, then the manager will take the safe route and say that the action cannot be taken. Part of the code for the rule for protecting salaries might look like: package SalaryViewRule; use Apache2::SiteControl::Rule; use Apache2::SiteControl::User; use base qw(Apache2::SiteControl::Rule); sub grants { $this = shift; $user = shift; $action = shift; $resource = shift; # Do not grant on requests we don't understand. return 0 if(!$user->isa("Apache2::SiteControl::User") || !$this->isa("Apache2::SiteControl::Rule")); if($action eq "view salary" && $resource->isa("Payroll::Record")) { if($user->getUsername() eq $resource->getEmployeeName()) { return "user can view their own salary"; } } return 0; } Then in your subclass of ManagerFactory: use SalaryViewRule; ... $viewRule = new SalaryViewRule; $manager->addRule($viewRule); METHODS
can(user, action verb, resource) This is the primary method of the PermissionManager. It asks if the specified user can do the specified action on the specified resource. For example, $manager->can($user, "eat", "cake"); would return true if the user is allowed to eat cake. Note that this gives you quite a bit of flexibility, but at the expense of strong type safety. It is suggested that all of your rules do type checking to insure that a rule is properly applied. SEE ALSO
Apache2::SiteControl::Rule, Apache::SiteControl::ManagerFactory, Apache2::SiteControl::UserFactory, Apache::SiteControl AUTHOR
This module was written by Tony Kay, <tkay@uoregon.edu>. COPYRIGHT AND LICENSE
perl v5.14.2 2006-03-17 Apache2::SiteControl::PermissionManager(3pm)
All times are GMT -4. The time now is 02:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy