WebGUI Utility Scripts. Graham Knop /
|
|
- Brett Norton
- 6 years ago
- Views:
Transcription
1 WebGUI Utility Scripts Graham Knop / graham@plainblack.com
2 What are Utility Scripts Maintenance functions Reporting Import / Export Anything else that uses WebGUI s data
3 Existing Scripts WebGUI ships with a number of scripts in WebGUI/sbin rebuildlineage.pl Verifies the site s Asset relationships Rebuilds the index of these relationships /data/webgui/sbin$ perl rebuildlineage.pl --configfile= Starting...OK Looking for descendant replationships... Got the relationships. Looking for orphans... No orphans found. Rewriting existing lineage... Rebuilding lineage... Asset ID Old Lineage New Lineage PBasset old PBasset old tempspace old Cleaning up...ok Don't forget to clear your cache.
4 search.pl Indexes new content for site or recreates the entire index Searches sites using the index /data/webgui/sbin$ perl search.pl --configfile= --search Features 4Yfz9hqBqM8OYMGuQK8oLw Get Features OhdaFLE7sXOzo_SIP2ZUgA Welcome Search took seconds. /data/webgui/sbin$ perl search.pl --configfile= --indexsite PBasset Root ( ) Vzv1pWpg_w6R_o-b0rM2qQ Ad ( )... fk-hmsboa3uu0c1kykyspa The Latest News ( ) Site indexing took seconds.
5 generatecontent.pl Generates the HTML for an asset /data/webgui/sbin$ perl generatecontent.pl --configfile= --url=/home <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " DTD/xhtml1-strict.dtd"> <html xmlns=" <head>... </head>
6 thumbnailer.pl Create thumbnails for existing images Can regenerate all, or only missing /data/webgui/sbin$ perl thumbnailer.pl \ --path=/data/domains/ --missing Nailing: /data/domains/ Nailing: /data/domains/
7 diskusage.pl Reports the disk usage of a specific asset and its children. /data/webgui/sbin$ perl diskusage.pl --configfile= Starting with the Default Page /home 310 /getting_started /home/key-benefits Total Space used: bytes
8 userimport.pl Imports users from delimited text file /data/webgui/sbin$ sudo perl userimport.pl --configfile= \ --usersfile=userlist Starting up...ok Adding user graham Cleaning up...ok
9 fileimport.pl Import files to WebGUI s asset tree from the local file system /data/webgui/sbin$ sudo perl fileimport.pl --configfile= \ --pathtofiles=/data/import --parentassetid=pbasset Starting...OK End of the childs detection Building file list.found file newimage.png. Found file newpage.html. File list complete. Adding files... Adding /data/import/newimage.png to the database. Create the new asset. Setting filesystem privilege. Privileges set. Adding /data/import/newpage.html to the database. Create the new asset. Setting filesystem privilege. Privileges set. Finished adding. Committing version tag...done. Cleaning up...ok
10 Writing Utility Scripts
11 setting.pl Make a copy of sbin/_utility.skeleton /data/webgui/sbin$ cp _utility.skeleton setting.pl Find # Do your work here section Use any part of WebGUI s API to access or change the data There are other sections that mark simple edits to make
12 Finished code use lib "../lib"; use strict; use Getopt::Long; use WebGUI::Session; my $session = start(); for my $setting (@ARGV) { print $setting. -. $session->setting->get($setting). "\n"; # Do your work here finish($session); Output /data/webgui/sbin$ perl setting.pl --configfile= companyname companyname - My Company
13 Allow changing settings use lib "../lib"; use strict; use Getopt::Long; use WebGUI::Session; my $session = start(); for my $setting (@ARGV) { if ($setting =~ /^(\w+)=(.*)/) { my ($name, $value) = ($1, $2); print $name. " - old: ". $session->setting->get($name); $session->setting->set($name, $value); print " new: ". $session->setting->get($name). "\n"; else { print $setting. " - ". $session->setting->get($setting). "\n"; # Do your work here finish($session); Output /data/webgui/sbin$ perl setting.pl --configfile= companyname \ company =graham@plainblack.com companyname - My Company company - old: info@mycompany.com new: graham@plainblack.com
14 apacheauth.pl Serve static content or anything else apache handles Authorize access based on WebGUI groups Example: Control subversion access How? Write an authentication handler, so Apache recognizes WebGUI s users Write an authorization handler, to allow for deny access based on groups
15 BEGIN { #prevent command line execution if (!$ENV{MOD_PERL) { die "This script must be run by Apache 2\n"; package Apache2::AuthWebGUI; use strict; use warnings; use WebGUI::Session; use WebGUI::Utility; # Load the parts of WebGUI that are needed use Apache2::Access (); # Load the Apache modules that are used use Apache2::RequestUtil (); use Apache2::Const -compile => qw(ok DECLINED HTTP_UNAUTHORIZED SERVER_ERROR);
16 BEGIN { #prevent command line execution if (!$ENV{MOD_PERL) { die "This script must be run by Apache 2\n"; package Apache2::AuthWebGUI; use strict; use warnings; use WebGUI::Session; use WebGUI::Utility; # Load the parts of WebGUI that are needed use Apache2::Access (); # Load the Apache modules that are used use Apache2::RequestUtil (); use Apache2::Const -compile => qw(ok DECLINED HTTP_UNAUTHORIZED SERVER_ERROR);
17 BEGIN { #prevent command line execution if (!$ENV{MOD_PERL) { die "This script must be run by Apache 2\n"; package Apache2::AuthWebGUI; use strict; use warnings; use WebGUI::Session; use WebGUI::Utility; # Load the parts of WebGUI that are needed use Apache2::Access (); # Load the Apache modules that are used use Apache2::RequestUtil (); use Apache2::Const -compile => qw(ok DECLINED HTTP_UNAUTHORIZED SERVER_ERROR);
18 BEGIN { #prevent command line execution if (!$ENV{MOD_PERL) { die "This script must be run by Apache 2\n"; package Apache2::AuthWebGUI; use strict; use warnings; use WebGUI::Session; use WebGUI::Utility; # Load the parts of WebGUI that are needed use Apache2::Access (); # Load the Apache modules that are used use Apache2::RequestUtil (); use Apache2::Const -compile => qw(ok DECLINED HTTP_UNAUTHORIZED SERVER_ERROR);
19 # Authentication sub # Add to httpd.conf as PerlAuthenHandler Apache2::AuthWebGUI::authen # All we are doing is identifying the user sub authen { my $r = shift; # Apache Request handle my $s = Apache2::ServerUtil->server; # Server handle # Create a WebGUI session, use the same configuration settings as WebGUI my $session = WebGUI::Session->open($s->dir_config('WebguiRoot'), $r->dir_config('webguiconfig'), $r, $s); # Two auth modes, we can also try both my $mode = $r->dir_config('webguiauthmode') 'both'; # First is cookie mode, uses the session cookie from WebGUI if ($mode eq 'cookie' $mode eq 'both') { # The session use the cookie to find the logged in user my $userid = $session->user->userid; # If it isn't visitor, they are authenticated if ($userid ne '1') { checkgroupaccess($session); # For the authz handler $r->user($session->user->username); return Apache2::Const::OK;
20 # Authentication sub # Add to httpd.conf as PerlAuthenHandler Apache2::AuthWebGUI::authen # All we are doing is identifying the user sub authen { my $r = shift; # Apache Request handle my $s = Apache2::ServerUtil->server; # Server handle # Create a WebGUI session, use the same configuration settings as WebGUI my $session = WebGUI::Session->open($s->dir_config('WebguiRoot'), $r->dir_config('webguiconfig'), $r, $s); # Two auth modes, we can also try both my $mode = $r->dir_config('webguiauthmode') 'both'; # First is cookie mode, uses the session cookie from WebGUI if ($mode eq 'cookie' $mode eq 'both') { # The session use the cookie to find the logged in user my $userid = $session->user->userid; # If it isn't visitor, they are authenticated if ($userid ne '1') { checkgroupaccess($session); # For the authz handler $r->user($session->user->username); return Apache2::Const::OK;
21 # Authentication sub # Add to httpd.conf as PerlAuthenHandler Apache2::AuthWebGUI::authen # All we are doing is identifying the user sub authen { my $r = shift; # Apache Request handle my $s = Apache2::ServerUtil->server; # Server handle # Create a WebGUI session, use the same configuration settings as WebGUI my $session = WebGUI::Session->open($s->dir_config('WebguiRoot'), $r->dir_config('webguiconfig'), $r, $s); # Two auth modes, we can also try both my $mode = $r->dir_config('webguiauthmode') 'both'; # First is cookie mode, uses the session cookie from WebGUI if ($mode eq 'cookie' $mode eq 'both') { # The session use the cookie to find the logged in user my $userid = $session->user->userid; # If it isn't visitor, they are authenticated if ($userid ne '1') { checkgroupaccess($session); # For the authz handler $r->user($session->user->username); return Apache2::Const::OK;
22 # Authentication sub # Add to httpd.conf as PerlAuthenHandler Apache2::AuthWebGUI::authen # All we are doing is identifying the user sub authen { my $r = shift; # Apache Request handle my $s = Apache2::ServerUtil->server; # Server handle # Create a WebGUI session, use the same configuration settings as WebGUI my $session = WebGUI::Session->open($s->dir_config('WebguiRoot'), $r->dir_config('webguiconfig'), $r, $s); # Two auth modes, we can also try both my $mode = $r->dir_config('webguiauthmode') 'both'; # First is cookie mode, uses the session cookie from WebGUI if ($mode eq 'cookie' $mode eq 'both') { # The session use the cookie to find the logged in user my $userid = $session->user->userid; # If it isn't visitor, they are authenticated if ($userid ne '1') { checkgroupaccess($session); # For the authz handler $r->user($session->user->username); return Apache2::Const::OK;
23 # Authentication sub # Add to httpd.conf as PerlAuthenHandler Apache2::AuthWebGUI::authen # All we are doing is identifying the user sub authen { my $r = shift; # Apache Request handle my $s = Apache2::ServerUtil->server; # Server handle # Create a WebGUI session, use the same configuration settings as WebGUI my $session = WebGUI::Session->open($s->dir_config('WebguiRoot'), $r->dir_config('webguiconfig'), $r, $s); # Two auth modes, we can also try both my $mode = $r->dir_config('webguiauthmode') 'both'; # First is cookie mode, uses the session cookie from WebGUI if ($mode eq 'cookie' $mode eq 'both') { # The session use the cookie to find the logged in user my $userid = $session->user->userid; # If it isn't visitor, they are authenticated if ($userid ne '1') { checkgroupaccess($session); # For the authz handler $r->user($session->user->username); return Apache2::Const::OK;
24 # Next try basic auth, part of the HTTP standard if ($mode eq 'basic' $mode eq 'both') { # Check if the browser sent auth info my ($status, $password) = $r->get_basic_auth_pw; # It didn't or something else went wrong. # Return that to the browser so it knows to ask for login info if ($status!= Apache2::Const::OK) { $session->var->end; return $status; # The request has a user, find the auth settings for that user my $user = $r->user; my $auth = getauth($session, $user); if (!$auth) { $session->var->end; return Apache2::Const::SERVER_ERROR; # Check the the password. If it checks out, they are logged in if ($auth->authenticate($user, $password)) { checkgroupaccess($session, $user); $session->var->end; return Apache2::Const::OK;
25 # Next try basic auth, part of the HTTP standard if ($mode eq 'basic' $mode eq 'both') { # Check if the browser sent auth info my ($status, $password) = $r->get_basic_auth_pw; # It didn't or something else went wrong. # Return that to the browser so it knows to ask for login info if ($status!= Apache2::Const::OK) { $session->var->end; return $status; # The request has a user, find the auth settings for that user my $user = $r->user; my $auth = getauth($session, $user); if (!$auth) { $session->var->end; return Apache2::Const::SERVER_ERROR; # Check the the password. If it checks out, they are logged in if ($auth->authenticate($user, $password)) { checkgroupaccess($session, $user); $session->var->end; return Apache2::Const::OK;
26 # Next try basic auth, part of the HTTP standard if ($mode eq 'basic' $mode eq 'both') { # Check if the browser sent auth info my ($status, $password) = $r->get_basic_auth_pw; # It didn't or something else went wrong. # Return that to the browser so it knows to ask for login info if ($status!= Apache2::Const::OK) { $session->var->end; return $status; # The request has a user, find the auth settings for that user my $user = $r->user; my $auth = getauth($session, $user); if (!$auth) { $session->var->end; return Apache2::Const::SERVER_ERROR; # Check the the password. If it checks out, they are logged in if ($auth->authenticate($user, $password)) { checkgroupaccess($session, $user); $session->var->end; return Apache2::Const::OK;
27 # Next try basic auth, part of the HTTP standard if ($mode eq 'basic' $mode eq 'both') { # Check if the browser sent auth info my ($status, $password) = $r->get_basic_auth_pw; # It didn't or something else went wrong. # Return that to the browser so it knows to ask for login info if ($status!= Apache2::Const::OK) { $session->var->end; return $status; # The request has a user, find the auth settings for that user my $user = $r->user; my $auth = getauth($session, $user); if (!$auth) { $session->var->end; return Apache2::Const::SERVER_ERROR; # Check the the password. If it checks out, they are logged in if ($auth->authenticate($user, $password)) { checkgroupaccess($session, $user); $session->var->end; return Apache2::Const::OK;
28 # Next try basic auth, part of the HTTP standard if ($mode eq 'basic' $mode eq 'both') { # Check if the browser sent auth info my ($status, $password) = $r->get_basic_auth_pw; # It didn't or something else went wrong. # Return that to the browser so it knows to ask for login info if ($status!= Apache2::Const::OK) { $session->var->end; return $status; # The request has a user, find the auth settings for that user my $user = $r->user; my $auth = getauth($session, $user); if (!$auth) { $session->var->end; return Apache2::Const::SERVER_ERROR; # Check the the password. If it checks out, they are logged in if ($auth->authenticate($user, $password)) { checkgroupaccess($session, $user); $session->var->end; return Apache2::Const::OK;
29 # Otherwise, note it for logs $r->note_basic_auth_failure; # We didn't succeed, so clean up and return the failure $session->var->end; return Apache2::Const::HTTP_UNAUTHORIZED;
30 sub getauth { my $session = shift; my $user = shift; # need to find out the authentication method, and only use it if valid (my $method) = $session->db->quickarray("select authmethod from users. where username=?", [$user]); if { $method = $session->setting->get("authmethod"); # make sure the module is loaded my $module = "WebGUI::Auth::$method"; (my $modfile = "$module.pm") =~ s{::{/g; if (!eval { require $modfile; 1 ) { $session->errorhandler->error( "Authentication module failed to compile: $module: $@"); return; # create a new instance of the auth module, or log and fail my $auth = eval { $module->new($session, $method) ; if (!$auth) { $session->errorhandler->error("couldn't instantiate authentication. module: $method. Root cause: $@"); return; return $auth;
31 sub getauth { my $session = shift; my $user = shift; # need to find out the authentication method, and only use it if valid (my $method) = $session->db->quickarray("select authmethod from users. where username=?", [$user]); if { $method = $session->setting->get("authmethod"); # make sure the module is loaded my $module = "WebGUI::Auth::$method"; (my $modfile = "$module.pm") =~ s{::{/g; if (!eval { require $modfile; 1 ) { $session->errorhandler->error( "Authentication module failed to compile: $module: $@"); return; # create a new instance of the auth module, or log and fail my $auth = eval { $module->new($session, $method) ; if (!$auth) { $session->errorhandler->error("couldn't instantiate authentication. module: $method. Root cause: $@"); return; return $auth;
32 sub getauth { my $session = shift; my $user = shift; # need to find out the authentication method, and only use it if valid (my $method) = $session->db->quickarray("select authmethod from users. where username=?", [$user]); if { $method = $session->setting->get("authmethod"); # make sure the module is loaded my $module = "WebGUI::Auth::$method"; (my $modfile = "$module.pm") =~ s{::{/g; if (!eval { require $modfile; 1 ) { $session->errorhandler->error( "Authentication module failed to compile: $module: $@"); return; # create a new instance of the auth module, or log and fail my $auth = eval { $module->new($session, $method) ; if (!$auth) { $session->errorhandler->error("couldn't instantiate authentication. module: $method. Root cause: $@"); return; return $auth;
33 sub getauth { my $session = shift; my $user = shift; # need to find out the authentication method, and only use it if valid (my $method) = $session->db->quickarray("select authmethod from users. where username=?", [$user]); if { $method = $session->setting->get("authmethod"); # make sure the module is loaded my $module = "WebGUI::Auth::$method"; (my $modfile = "$module.pm") =~ s{::{/g; if (!eval { require $modfile; 1 ) { $session->errorhandler->error( "Authentication module failed to compile: $module: $@"); return; # create a new instance of the auth module, or log and fail my $auth = eval { $module->new($session, $method) ; if (!$auth) { $session->errorhandler->error("couldn't instantiate authentication. module: $method. Root cause: $@"); return; return $auth;
34 Configuration # Uses the same configuration as normal WebGUI PerlSetVar WebguiConfig dev.localhost.localdomain.conf # Load the file with the code in it PerlPostConfigRequire /data/webgui/sbin/apacheauth.pl # Register it to handle authentication PerlAuthenHandler Apache2::AuthWebGUI::authen <Location /> PerlSetVar WebguiAuthMode both # Allow session cookie or basic auth AuthType Basic # Setup for basic auth AuthName "WebGUI Data Area" Require valid-user # Require a valid login to get access </Location>
35 Called after figuring out user # Check authorization settings to see if user has access sub checkgroupaccess { my $session = shift; my $username = shift; my $r = $session->request; # Session's user if no user specified my $user = $username? WebGUI::User->newByUsername($session, $username) : $session->user; # Read config, split and make into a list my $groupstoaccess = $session->request->dir_config('webguiauthrequiregroup'); return unless $groupstoaccess; if (!ref $groupstoaccess) { $groupstoaccess = [split /\s+/, $groupstoaccess]; # if the user is in any of the groups, mark as success for my $groupid (@$groupstoaccess) { if ($user->isingroup($groupid)) { $r->pnotes(webguiauthgroupaccess => 1); return; return;
36 Called after figuring out user # Check authorization settings to see if user has access sub checkgroupaccess { my $session = shift; my $username = shift; my $r = $session->request; # Session's user if no user specified my $user = $username? WebGUI::User->newByUsername($session, $username) : $session->user; # Read config, split and make into a list my $groupstoaccess = $session->request->dir_config('webguiauthrequiregroup'); return unless $groupstoaccess; if (!ref $groupstoaccess) { $groupstoaccess = [split /\s+/, $groupstoaccess]; # if the user is in any of the groups, mark as success for my $groupid (@$groupstoaccess) { if ($user->isingroup($groupid)) { $r->pnotes(webguiauthgroupaccess => 1); return; return;
37 Called after figuring out user # Check authorization settings to see if user has access sub checkgroupaccess { my $session = shift; my $username = shift; my $r = $session->request; # Session's user if no user specified my $user = $username? WebGUI::User->newByUsername($session, $username) : $session->user; # Read config, split and make into a list my $groupstoaccess = $session->request->dir_config('webguiauthrequiregroup'); return unless $groupstoaccess; if (!ref $groupstoaccess) { $groupstoaccess = [split /\s+/, $groupstoaccess]; # if the user is in any of the groups, mark as success for my $groupid (@$groupstoaccess) { if ($user->isingroup($groupid)) { $r->pnotes(webguiauthgroupaccess => 1); return; return;
38 Called after figuring out user # Check authorization settings to see if user has access sub checkgroupaccess { my $session = shift; my $username = shift; my $r = $session->request; # Session's user if no user specified my $user = $username? WebGUI::User->newByUsername($session, $username) : $session->user; # Read config, split and make into a list my $groupstoaccess = $session->request->dir_config('webguiauthrequiregroup'); return unless $groupstoaccess; if (!ref $groupstoaccess) { $groupstoaccess = [split /\s+/, $groupstoaccess]; # if the user is in any of the groups, mark as success for my $groupid (@$groupstoaccess) { if ($user->isingroup($groupid)) { $r->pnotes(webguiauthgroupaccess => 1); return; return;
39 # would be expensive to reinitialize session, so we use the data we saved earlier sub authz { my $r = shift; # Apache Request handle if ($r->pnotes('webguiauthgroupaccess')) { # Pull out data from auth phase return Apache2::Const::OK; return Apache2::Const::HTTP_UNAUTHORIZED;
40 Configuration # Uses the same configuration as normal WebGUI PerlSetVar WebguiConfig dev.localhost.localdomain.conf # Load the file with the code in it PerlPostConfigRequire /data/webgui/sbin/apacheauth.pl # Register it to handle authentication PerlAuthenHandler Apache2::AuthWebGUI::authen # Register it to handle authorization PerlAuthzHandler Apache2::AuthWebGUI::authz <Location /> PerlSetVar WebguiAuthMode both # Allow session cookie or basic auth PerlSetVar WebguiAuthRequireGroup 11 # Only allow access to secondary admins AuthType Basic # Setup for basic auth AuthName "WebGUI Data Area" Require valid-user # Require a valid login to get access </Location>
41 Utility Scripts Interact with WebGUI in an automated fashion Perform maintenance on a WebGUI site Interact with the local file system and OS Add new functionality using WebGUI s API
Writing Tests with Apache-Test Part II
Writing Tests with Apache-Test Part II Geoffrey Young geoff@modperlcookbook.org http://www.modperlcookbook.org/~geoff/ 1 Last Session... I introduced Apache-Test mechanics Everyone was impressed There's
More informationCommand Line WebGUI Graham Knop
Command Line WebGUI Graham Knop haarg@haarg.org Command Line WebGUI System administrators Automating tasks Working across multiple servers Developers Using the API directly Using the site and code from
More informationmod_perl 2.0 Documentation
mod_perl 20 Documentation Table of Contents: mod_perl 20 Documentation A collection of the documents specific to the mod_perl 20 generation Last modified Sun Feb 16 01:36:39 2014 GMT 1 Table of Contents:
More informationTest-Driven Apache Module Development
Test-Driven Apache Module Development Geoffrey Young geoff@modperlcookbook.org http://www.modperlcookbook.org/ 1 Goals Introduction to Apache-Test Perl module support C module support Automagic configuration
More informationAccelerate Your Server. Delivering Web Content Faster with mod_perl 2
Accelerate Your Server Delivering Web Content Faster with mod_perl 2 1 Apache 2, mod_perl 2 Discussing Apache version 2 Apache 2 is the latest version of the Apache web server mod_perl 2 is the latest
More informationAll Your URI are Belong to Us
All Your URI are Belong to Us Geoffrey Young geoff@modperlcookbook.org http://www.modperlcookbook.org/~geoff/ 1 Apache Request Cycle Client Request Logging URI-based Init Content URI Translation Fixups
More information1 Apache2::ServerUtil - Perl API for Apache server
Apache2::ServerUtil - Perl API for Apache server record utils 1 Apache2::ServerUtil - Perl API for Apache server record utils 1 Apache2::ServerUtil - Perl API for Apache server record utils 1 11 Synopsis
More information1 Apache2::RequestUtil - Perl API for Apache
Apache2::RequestUtil - Perl API for Apache request record utils 1 Apache2::RequestUtil - Perl API for Apache request record utils 1 Apache2::RequestUtil - Perl API for Apache request record utils 1 11
More informationConfiguration examples for the D-Link NetDefend Firewall series DFL-260/860
Configuration examples for the D-Link NetDefend Firewall series DFL-260/860 Scenario: How to configure User Authentication for multiple groups Last update: 2008-04-29 Overview In this document, the notation
More informationSplitting and Merging. Down and Dirty Made Easy
Splitting and Merging Down and Dirty Made Easy Splitting WebGUI Sites E unus pluribum Splitting WebGUI Sites Two possible ways Duplicate and cut-down No need for messy rewrite rules Entirely separate site
More informationHow browsers talk to servers. What does this do?
HTTP HEADERS How browsers talk to servers This is more of an outline than a tutorial. I wanted to give our web team a quick overview of what headers are and what they mean for client-server communication.
More informationUser authentication, passwords
User authentication, passwords User Authentication Nowadays most internet applications are available only for registered (paying) users How do we restrict access to our website only to privileged users?
More information1 Apache2::Response - Perl API for Apache HTTP request response methods
Apache2::Response - Perl API for Apache HTTP request response methods 1 Apache2::Response - Perl API for Apache HTTP request response methods 1 Apache2::Response - Perl API for Apache HTTP request response
More informationMod_Perl. And why I don t care about your scorn. By Julian Brown cpanel Thursday Sept 14th, 2017
Mod_Perl And why I don t care about your scorn. By Julian Brown Developer @ cpanel Thursday Sept 14th, 2017 When I say mod_perl, think mod_perl2 It s about Trade Offs I use and prefer to use Mod_Perl in
More informationUser Manual. Admin Report Kit for IIS 7 (ARKIIS)
User Manual Admin Report Kit for IIS 7 (ARKIIS) Table of Contents 1 Admin Report Kit for IIS 7... 1 1.1 About ARKIIS... 1 1.2 Who can Use ARKIIS?... 1 1.3 System requirements... 2 1.4 Technical Support...
More informationSystem Administration for Beginners
System Administration for Beginners Week 5 Notes March 16, 2009 1 Introduction In the previous weeks, we have covered much of the basic groundwork needed in a UNIX environment. In the upcoming weeks, we
More informationUsing.htaccess to Restrict OU Directory by Usernames and Passwords in an.htpasswd File
Using.htaccess to Restrict OU Directory by Usernames and Passwords in an.htpasswd File (Last updated on 9/3/2015 by lucero@uark.edu) This method requires the management of three files,.htaccess,.htpasswd,
More informationCentOS 6.7 with Vault MySQL 5.1
CentOS 6.7 with Vault MySQL 5.1 OS Middleware Installation Web Server, MySQL and PHP Other Middleware Middleware Setup and Configuration Database PHP NetCommons2 Before Install Preparation Installation
More informationGetting started with Zabbix API
2018/07/04 21:07 1/10 Getting started with Zabbix API Getting started with Zabbix API What is Zabbix API Normally, you have only one way, to manipulate, configure and create objects in Zabbix - through
More informationMobile Login Extension User Manual
Extension User Manual Magento provides secured and convenient login to Magento stores through mobile number along with OTP. Table of Content 1. Extension Installation Guide 2. API Configuration 3. General
More informationExercises. Cacti Installation and Configuration
Exercises Cacti Installation and Configuration Exercises Your Mission... Install Cacti Create device entry for your local router Create device entries for your local servers Create entries for class router
More informationExercises. Cacti Installation and Configuration
Exercises Cacti Installation and Configuration Exercises Your Mission... Install Cacti Create device entry for your local router Create device entries for your local servers Create entries for class router
More information8.0 Help for Community Managers Release Notes System Requirements Administering Jive for Office... 6
for Office Contents 2 Contents 8.0 Help for Community Managers... 3 Release Notes... 4 System Requirements... 5 Administering Jive for Office... 6 Getting Set Up...6 Installing the Extended API JAR File...6
More information1 Apache2::SizeLimit - Because size does matter.
Apache2::SizeLimit - Because size does matter 1 Apache2::SizeLimit - Because size does matter 1 Apache2::SizeLimit - Because size does matter 1 11 Synopsis 11 Synopsis This module allows you to kill off
More informationActive Directory Integration. Documentation. v1.00. making your facilities work for you!
Documentation http://mid.as/ldap v1.00 making your facilities work for you! Table of Contents Table of Contents... 1 Overview... 2 Pre-Requisites... 2 MIDAS... 2 Server... 2 End Users... 3 Configuration...
More informationSecurity Guide. Configuration of Permissions
Guide Configuration of Permissions 1 Content... 2 2 Concepts of the Report Permissions... 3 2.1 Security Mechanisms... 3 2.1.1 Report Locations... 3 2.1.2 Report Permissions... 3 2.2 System Requirements...
More informationAndowson Chang
Andowson Chang http://www.andowson.com/ All JForum templates are stored in the directory templates, where each subdirectory is a template name, being the default template name callled default. There you
More informationCloud Help for Community Managers...3. Release Notes System Requirements Administering Jive for Office... 6
for Office Contents 2 Contents Cloud Help for Community Managers...3 Release Notes... 4 System Requirements... 5 Administering Jive for Office... 6 Getting Set Up...6 Installing the Extended API JAR File...6
More informationHands-On Perl Scripting and CGI Programming
Hands-On Course Description This hands on Perl programming course provides a thorough introduction to the Perl programming language, teaching attendees how to develop and maintain portable scripts useful
More informationPrivilege Separation
What (ideas of Provos, Friedl, Honeyman) A generic approach to limit the scope of programming bugs Basic principle: reduce the amount of code that runs with special privilege without affecting or limiting
More informationAuthentication for Web Services. Ray Miller Systems Development and Support Computing Services, University of Oxford
Authentication for Web Services Ray Miller Systems Development and Support Computing Services, University of Oxford Overview Password-based authentication Cookie-based authentication
More informationLecture Overview. IN5290 Ethical Hacking. Lecture 4: Web hacking 1, Client side bypass, Tampering data, Brute-forcing
Lecture Overview IN5290 Ethical Hacking Lecture 4: Web hacking 1, Client side bypass, Tampering data, Brute-forcing Summary - how web sites work HTTP protocol Client side server side actions Accessing
More informationChromakinetics MIDIweb Ver 1.0
Chromakinetics MIDIweb Ver 1.0 MIDI Webserver By Glenn Meader glenn@chromakinetics.com www.chromakinetics.com Aug 10, 2008 MIDIweb is a program that allows you to control MIDI devices remotely via a web
More informationManaging NCS User Accounts
7 CHAPTER The Administration enables you to schedule tasks, administer accounts, and configure local and external authentication and authorization. Also, set logging options, configure mail servers, and
More informationManaging WCS User Accounts
CHAPTER 7 This chapter describes how to configure global e-mail parameters and manage WCS user accounts. It contains these sections: Adding WCS User Accounts, page 7-1 Viewing or Editing User Information,
More informationBlack Box DCX3000 / DCX1000 Using the API
Black Box DCX3000 / DCX1000 Using the API updated 2/22/2017 This document will give you a brief overview of how to access the DCX3000 / DCX1000 API and how you can interact with it using an online tool.
More informationPart A Short Answer (50 marks)
Part A Short Answer (50 marks) NOTE: Answers for Part A should be no more than 3-4 sentences long. 1. (5 marks) What is the purpose of HTML? What is the purpose of a DTD? How do HTML and DTDs relate to
More informationHTTP Protocol and Server-Side Basics
HTTP Protocol and Server-Side Basics Web Programming Uta Priss ZELL, Ostfalia University 2013 Web Programming HTTP Protocol and Server-Side Basics Slide 1/26 Outline The HTTP protocol Environment Variables
More informationTIBCO LiveView Web Getting Started Guide
TIBCO LiveView Web Getting Started Guide Introduction 2 Prerequisites 2 Installation 2 Installation Overview 3 Downloading and Installing for Windows 3 Downloading and Installing for macos 4 Installing
More informationCPW AutoGrader. CSCI 370 Field Session 2016 June 20, Client: Christopher Painter Wakefield
CPW AutoGrader CSCI 370 Field Session 2016 June 20, 2016 Client: Christopher Painter Wakefield Authors: Michael Bartlett Harry Krantz Eric Olson Chris Rice Caleb Willkomm Table of Contents Introduction
More informationMANAGEMENT AND CONFIGURATION MANUAL
MANAGEMENT AND CONFIGURATION MANUAL Table of Contents Overview... 3 SYSTEM REQUIREMENTS... 3 The Administration Console... 3 CHAT DASHBOARD... 4 COMPANY CONFIGS... 4 MANAGE LEARNING... 7 MANAGE TABS...
More informationInitial Setup. Cisco APIC Documentation Roadmap. This chapter contains the following sections:
This chapter contains the following sections: Cisco APIC Documentation Roadmap, page 1 Simplified Approach to Configuring in Cisco APIC, page 2 Changing the BIOS Default Password, page 2 About the APIC,
More informationCopyright 2011 Sakun Sharma
Maintaining Sessions in JSP We need sessions for security purpose and multiuser support. Here we are going to use sessions for security in the following manner: 1. Restrict user to open admin panel. 2.
More informationIntroduction. Welcom to The WebGUI API
Introduction Welcome to The WebGUI API Introduce me If you are attending all my classes, I apologize in advanced as you are going to get very bored of this intro Frank Dillon Currently Director of development
More informationFollowing the API System Utility Application Utility
Class Summary Following the API System Utility Application Utility Asset Tools Manipulating Resources HTML in WebGUI Users, Groups, and Privileges Messaging and Error Handling Miscellaneous Features Following
More informationBacking Up And Restoring Your Nagios XI System
Backing Up And Restoring Your System Purpose This document describes how to backup a installation and restore a installation from a previously made backup. Backups are an important aspect of administration
More informationEI 338: Computer Systems Engineering (Operating Systems & Computer Architecture)
EI 338: Computer Systems Engineering (Operating Systems & Computer Architecture) Dept. of Computer Science & Engineering Chentao Wu wuct@cs.sjtu.edu.cn Download lectures ftp://public.sjtu.edu.cn User:
More informationNET 311 INFORMATION SECURITY
NET 311 INFORMATION SECURITY Networks and Communication Department Lec12: Software Security / Vulnerabilities lecture contents: o Vulnerabilities in programs Buffer Overflow Cross-site Scripting (XSS)
More informationSecurity Guide. Configuration of Report and System Permissions
Guide Configuration of Report and System Permissions 1 Content... 2 2 Concepts of the Report Permissions... 2 2.1 Mechanisms... 3 2.1.1 Report Locations... 3 2.1.2 Report Permissions... 3 2.2 System Requirements...
More informationFactotum Sep. 24, 2007
15-412 Factotum Sep. 24, 2007 Dave Eckhardt 1 Factotum Left Out (of P9/9P Lecture) The whole authentication thing There is an auth server much like a Kerberos KDC There is an authentication file system
More informationJupyterHub Documentation
JupyterHub Documentation Release 0.4.0.dev Project Jupyter team January 30, 2016 User Documentation 1 Getting started with JupyterHub 3 2 Further reading 11 3 How JupyterHub works 13 4 Writing a custom
More informationWebthority can provide single sign-on to web applications using one of the following authentication methods:
Webthority HOW TO Configure Web Single Sign-On Webthority can provide single sign-on to web applications using one of the following authentication methods: HTTP authentication (for example Kerberos, NTLM,
More informationPHP for PL/SQL Developers. Lewis Cunningham JP Morgan Chase
PHP for PL/SQL Developers Lewis Cunningham JP Morgan Chase 1 What is PHP? PHP is a HTML pre-processor PHP allows you to generate HTML dynamically PHP is a scripting language usable on the web, the server
More informationConfiguring the CSS for Device Management
CHAPTER 2 Configuring the CSS for Device Management Before you can use the WebNS Device Management user interface software, you need to perform the tasks described in the following sections: WebNS Device
More informationMonitoring Apache Tomcat Servers With Nagios XI
Purpose This document describes how to add custom Apache Tomcat plugins and checks, namely check_tomcatsessions, to your server. Implementing Apache Tomcat plugins within will allow you the to monitor
More informationAtea Anywhere Meeting Room
Atea Anywhere Meeting Room Admin Guide Configure Video Endpoint ATEA ANYWHERE - V2.1 09.JUL-2018 - DH 1 Content Introduction...2 Prerequisites...2 Configure Network and Firewall...2 Video Endpoint Software...3
More informationKardia / Centrallix VM Appliance Quick Reference
Kardia / Centrallix VM Appliance Quick Reference Version 1.0 Beta 2 15-Mar-2011 (c) 2011 LightSys Technology Services, Inc. http://www.lightsys.org/ Redeeming Technology... For God's Kingdom. Overview...
More informationServerless Single Page Web Apps, Part Four. CSCI 5828: Foundations of Software Engineering Lecture 24 11/10/2016
Serverless Single Page Web Apps, Part Four CSCI 5828: Foundations of Software Engineering Lecture 24 11/10/2016 1 Goals Cover Chapter 4 of Serverless Single Page Web Apps by Ben Rady Present the issues
More informationAdministering Jive Mobile Apps for ios and Android
Administering Jive Mobile Apps for ios and Android TOC 2 Contents Administering Jive Mobile Apps...3 Configuring Jive for Android and ios...3 Custom App Wrapping for ios...3 Authentication with Mobile
More informationProtect My Ministry Integrated Background Checks for Church Community Builder
Protect My Ministry Integrated Background Checks for Church Community Builder Integration and User Guide Page 1 Introduction Background Check functionality through Protect My Ministry has been integrated
More informationUsing RANCID. Contents. 1 Introduction Goals Notes Install rancid Add alias Configure rancid...
Using RANCID Contents 1 Introduction 2 1.1 Goals................................. 2 1.2 Notes................................. 2 2 Install rancid 2 2.1 Add alias............................... 3 2.2 Configure
More informationUsers Guide. Kerio Technologies
Users Guide Kerio Technologies C 1997-2006 Kerio Technologies. All rights reserved. Release Date: June 8, 2006 This guide provides detailed description on Kerio WebSTAR 5, version 5.4. Any additional modifications
More informationDreamweaver CS6. Table of Contents. Setting up a site in Dreamweaver! 2. Templates! 3. Using a Template! 3. Save the template! 4. Views!
Dreamweaver CS6 Table of Contents Setting up a site in Dreamweaver! 2 Templates! 3 Using a Template! 3 Save the template! 4 Views! 5 Properties! 5 Editable Regions! 6 Creating an Editable Region! 6 Modifying
More informationApache Install Instructions Win7 7 Php Mysql. Phpmyadmin Linux >>>CLICK HERE<<<
Apache Install Instructions Win7 7 Php Mysql Phpmyadmin Linux sudo apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin. And in particular Yeah, Test PHP instructions are still, or perhaps again
More informationWorking with Databases
Working with Databases TM Control Panel User Guide Working with Databases 1 CP offers you to use databases for storing, querying and retrieving information. CP for Windows currently supports MS SQL, PostgreSQL
More informationMobile Login extension User Manual
extension User Manual Magento 2 allows your customers convenience and security of login through mobile number and OTP. Table of Content 1. Extension Installation Guide 2. Configuration 3. API Settings
More informationSchenker AB. Interface documentation Map integration
Schenker AB Interface documentation Map integration Index 1 General information... 1 1.1 Getting started...1 1.2 Authentication...1 2 Website Map... 2 2.1 Information...2 2.2 Methods...2 2.3 Parameters...2
More informationReCPro TM User Manual Version 1.15
Contents Web Module (recpro.net)... 2 Login... 2 Site Content... 3 Create a New Content Block... 4 Add / Edit Content Item... 5 Navigation Toolbar... 6 Other Site Tools... 7 Menu... 7 Media... 8 Documents...
More information1 Apache2::Filter - Perl API for Apache 2.0 Filtering
Apache2::Filter - Perl API for Apache 20 Filtering 1 Apache2::Filter - Perl API for Apache 20 Filtering 1 Apache2::Filter - Perl API for Apache 20 Filtering 1 11 Synopsis 11 Synopsis use Apache2::Filter
More informationZeroVM Package Manager Documentation
ZeroVM Package Manager Documentation Release 0.2.1 ZeroVM Team October 14, 2014 Contents 1 Introduction 3 1.1 Creating a ZeroVM Application..................................... 3 2 ZeroCloud Authentication
More informationAttacks Against Websites 3 The OWASP Top 10. Tom Chothia Computer Security, Lecture 14
Attacks Against Websites 3 The OWASP Top 10 Tom Chothia Computer Security, Lecture 14 OWASP top 10. The Open Web Application Security Project Open public effort to improve web security: Many useful documents.
More informationGet in Touch Module 1 - Core PHP XHTML
PHP/MYSQL (Basic + Advanced) Web Technologies Module 1 - Core PHP XHTML What is HTML? Use of HTML. Difference between HTML, XHTML and DHTML. Basic HTML tags. Creating Forms with HTML. Understanding Web
More informationOracle Database. Installation and Configuration of Real Application Security Administration (RASADM) Prerequisites
Oracle Database Real Application Security Administration 12c Release 1 (12.1) E61899-04 May 2015 Oracle Database Real Application Security Administration (RASADM) lets you create Real Application Security
More informationTechnical Background Information
Technical Background Information Ueli Kienholz, SWITCH Rolf Gartmann, SWITCH Claude Lecommandeur, EPFL December 2, 2002 2002 SWITCH PAPI Rolf Gartmann, SWITCH Security Group December 2, 2002 2002 SWITCH
More informationImprove WordPress performance with caching and deferred execution of code. Danilo Ercoli Software Engineer
Improve WordPress performance with caching and deferred execution of code Danilo Ercoli Software Engineer http://daniloercoli.com Agenda PHP Caching WordPress Page Caching WordPress Object Caching Deferred
More information4D WebSTAR V User Guide for Mac OS. Copyright (C) D SA / 4D, Inc. All rights reserved.
4D WebSTAR V User Guide for Mac OS Copyright (C) 2002 4D SA / 4D, Inc. All rights reserved. The software described in this manual is governed by the grant of license provided in this package. The software
More informationQuickStart Guide for Managing Computers. Version 9.73
QuickStart Guide for Managing Computers Version 9.73 JAMF Software, LLC 2015 JAMF Software, LLC. All rights reserved. JAMF Software has made all efforts to ensure that this guide is accurate. JAMF Software
More information[Type text] RELEASE NOTES. Version 5.1.1
[Type text] RELEASE NOTES Version 5.1.1 i Compliance Sheriff V4.3 Copyright 2015 Cryptzone North America Inc. Copyright information Copyright 2016 Cryptzone North America Inc. All rights reserved. Information
More informationAgiloft Installation Guide
Agiloft Installation Guide HELP-13APR17 CONTENTS 1. Installation Guide............................................ 3 1.1 Pre-Installation for Windows................................ 5 1.2 Pre-Installation
More informationPNC Bank On-line BankCard Center - Use to access Penn State Purchasing Card statements on-line
PNC Bank On-line BankCard Center - Use to access Penn State Purchasing Card statements on-line www.pcard.treasury.pncbank.com Quick Reference Guide - for the Cardholder Role Table of Contents: 1. Introduction
More informationVendor: SUN. Exam Code: Exam Name: Sun Certified Web Component Developer for J2EE 5. Version: Demo
Vendor: SUN Exam Code: 310-083 Exam Name: Sun Certified Web Component Developer for J2EE 5 Version: Demo QUESTION NO: 1 You need to store a Java long primitive attribute, called customeroid, into the session
More informationWebshop Plus! v Pablo Software Solutions DB Technosystems
Webshop Plus! v.2.0 2009 Pablo Software Solutions http://www.wysiwygwebbuilder.com 2009 DB Technosystems http://www.dbtechnosystems.com Webshos Plus! V.2. is an evolution of the original webshop script
More informationPO Processor Installation and Configuration Guide
PO Processor Installation and Configuration Guide Revised: 06/06/2014 2014 Digital Gateway, Inc. - All rights reserved Page 1 Table of Contents OVERVIEW... 3 HOW TO INSTALL PO PROCESSOR... 3 PO PROCESSOR
More informationSubscriptions and Recurring Payments 2.X
Documentation / Documentation Home Subscriptions and Recurring 2.X Created by Unknown User (bondarev), last modified by Unknown User (malynow) on Mar 22, 2017 Installation Set up cron (for eway) Configuration
More informationGrandstream Networks, Inc. Captive Portal Authentication via Facebook
Grandstream Networks, Inc. Table of Content SUPPORTED DEVICES... 4 INTRODUCTION... 5 CAPTIVE PORTAL SETTINGS... 6 Policy Configuration Page... 6 Landing Page Redirection... 8 Pre-Authentication Rules...
More informationPURR The Persistent URL Resource Resolver
PURR The Persistent URL Resource Resolver Ed Sponsler October 9, 2001 Caltech Library System CONTENTS PURR THE PERSISTENT URL RESOURCE RESOLVER... 1 INTRODUCTION... 2 PURR IMPLEMENTATION... 3 The CLS Environment...
More informationACCESS CONTROL IN APACHE HTTPD 2.4
ACCESS CONTROL IN APACHE HTTPD 2.4 Rich Bowen @rbowen Slides at: tm3.org/acin24 INTRO Before: Hard and limited Now: Easy and very flexible BEFORE (IE, 2.2 AND EARLIER) Order Allow Deny Satisfy ORDER allow,deny
More informationApplication Security Introduction. Tara Gu IBM Product Security Incident Response Team
Application Security Introduction Tara Gu IBM Product Security Incident Response Team About Me - Tara Gu - tara.weiqing@gmail.com - Duke B.S.E Biomedical Engineering - Duke M.Eng Computer Engineering -
More informationHow to social login with Aruba controller. Bo Nielsen, CCIE #53075 (Sec) December 2016, V1.00
Bo Nielsen, CCIE #53075 (Sec) December 2016, V1.00 Overview This short document describes the basic setup for social login using Aruba ClearPass and Aruba wireless LAN controller. Aruba ClearPass, version
More informationBooting a Galaxy Instance
Booting a Galaxy Instance Create Security Groups First time Only Create Security Group for Galaxy Name the group galaxy Click Manage Rules for galaxy Click Add Rule Choose HTTPS and Click Add Repeat Security
More informationLock and Key: Dynamic Access Lists
Lock and Key: Dynamic Access Lists Document ID: 7604 Contents Introduction Prerequisites Requirements Components Used Conventions Spoofing Considerations Performance When to Use Lock and Key Access Lock
More information20 THINGS YOU DIDN T KNOW ABOUT WEBGUI. By Tavis Parker
20 THINGS YOU DIDN T KNOW ABOUT WEBGUI By Tavis Parker Asset Manager - Search Need to find an asset on your site? Click Search in the asset manager. Asset Manager - Search Enter the name of the asset you
More informationWA2056 Building HTML5 Based Mobile Web Sites. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1
WA2056 Building HTML5 Based Mobile Web Sites Classroom Setup Guide Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1 Table of Contents Part 1 - Minimum Hardware Requirements...3 Part 2 - Minimum
More informationIn this tutorial we are going to be taking a look at the CentovaCast 3 panel running ShoutCast 1 and how to get started with using it.
CentovaCast 3 - ShoutCast 1 Panel Overview In this tutorial we are going to be taking a look at the CentovaCast 3 panel running ShoutCast 1 and how to get started with using it. Getting The Details The
More informationHow to Configure Authentication and Access Control (AAA)
How to Configure Authentication and Access Control (AAA) Overview The Barracuda Web Application Firewall provides features to implement user authentication and access control. You can create a virtual
More informationHow To Configure Web Access To Subversion Repositories Using Apache
By Edwin Cruz Published: 2007-03-12 17:47 How To Configure Web Access To Subversion Repositories Using Apache This how to is going to describe the steps to get the mod_dav_svn module to work on an Apache
More informationPersistence. SWE 432, Fall 2017 Design and Implementation of Software for the Web
Persistence SWE 432, Fall 2017 Design and Implementation of Software for the Web Today Demo: Promises and Timers What is state in a web application? How do we store it, and how do we choose where to store
More informationInstalling WordPress CMS
Installing WordPress CMS Extract the contents of the wordpress zip file to D:/public_html/wordpress folder as shown in diagram 1. D:/public_html/wordpress is a virtual domain controlled by Apache Web server
More informationMagento Migration Tool. User Guide. Shopify to Magento. Bigcommerce to Magento. 3DCart to Magento
Magento Migration Tool User Guide Shopify to Magento Bigcommerce to Magento 3DCart to Magento Copyright 2015 LitExtension.com. All Rights Reserved. Page 1 Contents 1. Preparation... 3 2. Setup... 4 3.
More informationIntroduction to SSO Access Policy
Introduction to SSO Access Policy ISAM appliance includes an advanced access control offering that can be used to create authentication policies to protect web resources. These authentication policies
More information